[CMake] Remove custom targets

Joe H expipiplus1 at gmail.com
Mon Jul 4 12:33:30 EDT 2011


Hi all!

I have a project, which pulls in a bunch of sub-projects, using
add_subdirectory.

The problem is that these projects all create a custom target called
uninstall. Obviously, when these projects are pulled together, the uninstall
targets clash.
An ideal solution would be to ignore the uninstall targets in
the subdirectories, and just pay attention to the one at the root. Is this
at all possible?

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110704/f62ae61a/attachment.htm>


More information about the CMake mailing list