[CMake] Re: How to integrate 3rd-party software into cmake system

Jian Wang jwang at a10networks.com.cn
Mon Jun 11 21:27:04 EDT 2007


On 6/11/07, Alexander Neundorf <a.neundorf-work at gmx.net> wrote:
>
> 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,


Thank you.

Alex
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20070612/83bb7f2f/attachment.htm


More information about the CMake mailing list