UseLATEX/tests/MultiDocuments
Kenneth Moreland 0eb452382a Output full log file on LaTeX error
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.
2016-12-14 21:43:39 -07:00
..
subdir1 Fix issue where pdf, etc. where declared each time UseLATEX was loaded. 2015-08-25 13:46:56 -06:00
subdir2 Fix issue where pdf, etc. where declared each time UseLATEX was loaded. 2015-08-25 13:46:56 -06:00
subdir2_2 Add TARGET_NAME option. 2015-10-19 14:22:34 -06:00
CMakeLists.txt Add TARGET_NAME option. 2015-10-19 14:22:34 -06:00
README Output full log file on LaTeX error 2016-12-14 21:43:39 -07:00

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.