I just posted a change to UseLATEX.cmake on the Wiki that removes the un-feature of requiring all input files to be .tex files.
Thanks for the suggestion. -Ken > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:cmake- > [EMAIL PROTECTED] On Behalf Of Eric Noulard > Sent: Wednesday, March 28, 2007 12:28 PM > To: Martin Matusiak > Cc: [email protected] > Subject: Re: [CMake] UseLATEX.cmake adding dependencies to document? > > 2007/3/28, Martin Matusiak <[EMAIL PROTECTED]>: > > 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.c ma > ke?rev=1.1&root=tsp&view=log > > And an example of use here: > http://cvs.savannah.nongnu.org/viewcvs/tsp_docs/tsp_progguide/CMakeLists .t > xt?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 > _______________________________________________ > CMake mailing list > [email protected] > http://www.cmake.org/mailman/listinfo/cmake _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
