[CMake] Component group specific installation with Makefile

Yann Cointepas yann at sapetnioc.org
Wed Aug 6 09:43:18 EDT 2008


Hi,

Is there a way to define component group (or installation type)
specific installation targets in a Makefile ?

I work on Linux. I have defined three CPack component groups (and/or
installation types) for my project: runtime, devel and doc and I would
like to be able to install all components of each group separately
(for example with make install_doc). I only found a way to install a
single component (not a component group) by defining
CPACK_INSTALL_CMAKE_PROJECTS variable in CMakeLists.txt.

Regards,

      Yann Cointepas


More information about the CMake mailing list