On 2006-08-18 14:45-0600 James Bigler wrote:

So this would be this (for the last rule)?

ADD_CUSTOM_COMMAND(OUTPUT child.o
                  COMMAND g++
                  ARGS -c child.cc -o child.o -MD
                  DEPENDS ${CXXPATH}/child.cc
                  )

ADD_CUSTOM_COMMAND(OUTPUT child.o
                  COMMAND cp
                  ARGS child.d child-copy.d
                  DEPENDS ${CXXPATH}/child.cc
                  )


No.

You can have multiple COMMAND statements for just one ADD_CUSTOM_COMMAND
command.  See the ADD_CUSTOM_COMMAND documentation.

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 Yorick front-end to PLplot (yplot.sf.net); the
Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to