[CMake] UseLATEX.cmake adding dependencies to document?

Eric Noulard eric.noulard at gmail.com
Wed Mar 28 13:28:22 EST 2007


2007/3/28, Martin Matusiak <numerodix at gmail.com>:
> So I'm trying to use UseLATEX.cmake to build a document, I have some
> images and they are handled okay. But I also have some code samples
> that I import into my document. How do I declare these as additional
> dependencies to the document?

I had the same problem,
adding dependency to "other input" files.

I did modify the original UseLATEX.cmake
to support NON TEX files in INPUT arguments.

You may find the modified UseLATEX.cmake here:
http://cvs.savannah.nongnu.org/viewcvs/tsp_docs/tsp_progguide/UseLATEX.cmake?rev=1.1&root=tsp&view=log

And an example of use here:
http://cvs.savannah.nongnu.org/viewcvs/tsp_docs/tsp_progguide/CMakeLists.txt?root=tsp&view=markup

> Also, it seems that the pdf is generated every time I run make,
> whether or not anything has changed. Is this the intended behavior?

I don't know but I observe the same behavior
(full rebuild on each make) but currently I don't really care even if it may
be a bit CPU consuming :))


-- 
Erk


More information about the CMake mailing list