UseLATEX/tests/MultiDocuments
Kenneth Moreland 82357b7dde Add TARGET_NAME option.
A user requested the ability to make the target names created by UseLATEX
different than the name of the main tex file. The use case was for a
multi-directory project with two or more subdirectories containing LaTeX
files with the same name.
2015-10-19 14:22:34 -06: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 Fix issue where pdf, etc. where declared each time UseLATEX was loaded. 2015-08-25 13:46:56 -06: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, two documents should be built. 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.