On 2008-06-09 23:22+0200 Steven Van Ingelgem wrote:

I am building an executable which I need to pre-process some files [...]

Please be more specific about your actual needs.  For example, do you want
to preprocess at cmake time or at build time?  If the latter just use
add_executable to build the executable and set up the target dependencies so
it is built before it is needed to process other files.  We use this
approach, for example, when using an executable to build a header that is
needed to build our principal library.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to