[Cmake] forcing target.

Christopher Baus christopher at baus.net
Mon Jul 26 19:28:35 EDT 2004


I think I figured out how to force the CUSTOM_COMMAND..

I defined a bogus target like this:

ADD_CUSTOM_TARGET(FORCE ;)

Then I made the custom command depend on it like this:

ADD_CUSTOM_COMMAND( ... command properties ...
                   DEPENDS FORCE
                   )


-- 
Christopher Baus
http://www.baus.net/
Tahoe, Wine, and Linux.




More information about the Cmake mailing list