When running LaTeX in batch mode, it might not print any output when a failure occurs. So, when running in this mode, cat out the log failure if a LaTeX error occurs. The implementation for this wraps the latex call in a CMake script that runs latex and checks the return value. If not a success value, reads and then prints the log.
10 lines
566 B
Text
10 lines
566 B
Text
This tests appropriate behavior when a project (or multi-project) tries to
|
|
create multiple documents with multiple add_latex_document calls. It also
|
|
creates them in separate subdirectories, with each subdirectory
|
|
independently loading UseLATEX.cmake. This is typical in a large project
|
|
that might bring in several subprojects.
|
|
|
|
When running this project, 3 documents should be built, one in each
|
|
subdirectory. You should not get errors or warnings about a target being
|
|
defined multiple times. You should be able to build using the pdf, dvi, ps,
|
|
and safepdf targets.
|