On Sunday 10 June 2007 21:08, Clark J. Wang wrote:
...
> Cmake knows how to build 'hello' because we're calling
> ADD_CUSTOM_TARGET(hello). But how can cmake know how to clean hello?

This is currently not directly possible in cmake.
What I did (knowing that we use only make-generators) was to add a 
custom "my_clean" target, which would execute the "clean" of your 3rd party 
project and which can also execute the actual "clean" of your cmake tree. 

Not very nice but works,

Alex
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to