[CMake] make install for target AND its dependencies

Tamino Dauth tamino at cdauth.eu
Fri Jul 26 04:08:04 EDT 2013


yes exactly,
is there any way to achieve this?

On Wednesday 24 July 2013 19:59:22 Alexander Neundorf wrote:
> On Wednesday 24 July 2013, Tamino Dauth wrote:
> > 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.
> 
> Something like this ?
> http://public.kitware.com/Bug/view.php?id=4266
> 
> Alex
> --
> 
> Powered by www.kitware.com
> 
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
> 
> Kitware offers various services to support the CMake community. For more
> information on each offering, please visit:
> 
> CMake Support: http://cmake.org/cmake/help/support.html
> CMake Consulting: http://cmake.org/cmake/help/consulting.html
> CMake Training Courses: http://cmake.org/cmake/help/training.html
> 
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> 
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake


More information about the CMake mailing list