[CMake] Quick Question: add_custom_target( xxx ) add_custom_command( TARGET xxx ... )
J Decker
d3ck0r at gmail.com
Mon Mar 10 02:55:07 EDT 2014
add_custom_target( xxx )
add_custom_command( TARGET xxx
(PREBUILD? POSTBUILD? PRELINK?)
COMMAND blah )
Why doesn't that work?
Right now I just have a dirty cmake script that does a bunch of macos that
do ... EXECUTE( cmake copy_if_different )'s and I just want to run those
as a target instead of as 'cmake .'
replacing "EXECUTE( " with "add_custom_command( TARGET xxx " would be a
really simple conversion....
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20140309/017605c8/attachment.html>
More information about the CMake
mailing list