[CMake] make install for target AND its dependencies

Tamino Dauth tamino at cdauth.eu
Wed Jul 24 06:53:15 EDT 2013



Hi there, 

for a project I am working on I need to install single targets WITH
their and ONLY their dependencies. 

Installing single targets does work so far by changing into the
directory of the targets CMakeLists.txt and running "make install".
Unfortunately, it only installs the one target and doesn't move/relink
its dependency targets. 

I want to avoid installing ALL targets of the project, so the one target
can be tested without compiling the whole project. 

Any help would be appreciated! 

regards 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130724/3cdae75c/attachment.htm>


More information about the CMake mailing list