The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=14955 ====================================================================== Reported By: mwoehlke Assigned To: ====================================================================== Project: CMake Issue ID: 14955 Category: CMake Reproducibility: N/A Severity: feature Priority: normal Status: new ====================================================================== Date Submitted: 2014-06-04 16:07 EDT Last Modified: 2014-06-04 16:07 EDT ====================================================================== Summary: Support install of external projects, with component-like selection Description: While considering ways to make a useful 'install' target for a superbuild-like project (Slicer), JC and I decided it would be nice if CMake had a mechanism similar to CPACK_INSTALL_CMAKE_PROJECTS.
We propose CMAKE_INSTALL_CMAKE_PROJECTS, a list of sets of three values: build directory, project name, install prefix. If set, when the install script is generated, it would include the install script of each such project (i.e. "include(<build_dir>/cmake_install.cmake)") after first modifying the install prefix as specified. (An empty or relative prefix would be relative to the parent install prefix.) A system for selecting project(s) to install, similar to selecting component(s) to install, would be provided. We could then modify external project support (e.g. this would probably happen first in Artichoke) to have a command like: ExternalProject_Install(<name> [DESTINATION <path>] [CPACK_COMPONENT <component>]) ...which would set both CMAKE_INSTALL_CMAKE_PROJECTS and, if a CPACK_COMPONENT is specified, CPACK_INSTALL_CMAKE_PROJECTS. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2014-06-04 16:07 mwoehlke New Issue ====================================================================== -- 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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers