James Bigler wrote:
Alan W. Irwin wrote:
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.
Thanks. I guess my 2.0 version book is way out of date.
Is there a copy of this web page for the 2.2 version?
http://www.cmake.org/HTML/Documentation.html
Never mind, the contents seem to be in the man page.
James
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake