MantisBT - CMake
View Issue Details
0015933CMakeCMakepublic2016-01-22 10:052016-06-10 14:31
Ilya 
Kitware Robot 
normalminorN/A
closedmoved 
CMake 3.4.2 
 
0015933: The install command should have an option to only install built targets
For library projects it common to provide different targets for static and shared versions of the library.

Often, one only needs either shared or static library. It would be convenient if install command would allow one to only install targets that were built. E.g. if one builds a target via `cmake --build . --target sharedlib` calling `cmake --build . --target install` should install only sharedlib without making static version.
No tags attached.
Issue History
2016-01-22 10:05IlyaNew Issue
2016-06-10 14:29Kitware RobotNote Added: 0042920
2016-06-10 14:29Kitware RobotStatusnew => resolved
2016-06-10 14:29Kitware RobotResolutionopen => moved
2016-06-10 14:29Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0042920)
Kitware Robot   
2016-06-10 14:29   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.