[cmake-developers] [CMake 0014921]: No way to exclude a component install() from a full installation
Mantis Bug Tracker
mantis at public.kitware.com
Mon May 19 04:47:55 EDT 2014
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=14921
======================================================================
Reported By: Nick Lewis
Assigned To:
======================================================================
Project: CMake
Issue ID: 14921
Category: CMake
Reproducibility: always
Severity: feature
Priority: normal
Status: new
======================================================================
Date Submitted: 2014-05-19 04:47 EDT
Last Modified: 2014-05-19 04:47 EDT
======================================================================
Summary: No way to exclude a component install() from a full
installation
Description:
There is currently no way to exclude a component install() from a full
installation. Current workarounds using OPTIONAL do not work reliably because
they depend on previous builds and on the order execution of the build and
install commands for the components and the default target
Steps to Reproduce:
make
make tests
make install
DESTDIR=/testpkgs make install-tests
This results in test components in the default installation as well as the
testpkg
Judging by questions on the mail list, users typically try to overcome this
problem by adding the unsupported EXCLUDE_FROM_ALL keyword to the install
command
Additional Information:
patch attached that adds support for EXCLUDE_FROM_ALL to the install() command.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2014-05-19 04:47 Nick Lewis New Issue
2014-05-19 04:47 Nick Lewis File Added: cmake_install_exclude.patch
======================================================================
More information about the cmake-developers
mailing list