[CMake] Re: How to integrate 3rd-party software into cmake system
Alexander Neundorf
a.neundorf-work at gmx.net
Mon Jun 11 08:38:33 EDT 2007
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
More information about the CMake
mailing list