MantisBT - CMake
View Issue Details
0012961CMakeCCMakepublic2012-02-13 17:572016-06-10 14:31
David Bjornbak 
Kitware Robot 
normaltweakalways
closedmoved 
CMake 2.8.6 
 
0012961: CMAKE_INSTALL_BEHAVIOR and allowing users to run INSTALL under Visual Studio by default
I work for Agilent Technologies and my group has using cmake for some fairly large projects. Developers with in my group are find the following issues slowing down:

http://www.cmake.org/pipermail/cmake/2011-April/043732.html [^]
http://www.mail-archive.com/cmake@cmake.org/msg40831.html [^]


Attached is a patch for this issue



The proposed changes include:

- Users under Visual Studio and have the INSTALL target run by default if they hit F7 or run “Build solution”
- When installing, surppress the Up-to-date echo .
- Addtion of a CMAKE_INSTALL_BEHAVIOR setting that can be used to alter other installation behaviors.
No tags attached.
related to 0006348closed Kitware Robot custom global targets (targets which when built from the root build all targets with the same name in subdirs) 
related to 0008438closed Kitware Robot add_dependencies() for "build-in cmake targets" 
patch cmake-custom1.1.patch (3,054) 2012-02-13 17:59
https://public.kitware.com/Bug/file/4221/cmake-custom1.1.patch
Issue History
2012-02-13 17:57David BjornbakNew Issue
2012-02-13 17:59David BjornbakFile Added: cmake-custom1.1.patch
2012-02-14 10:40Brad KingRelationship addedrelated to 0006348
2012-02-14 10:40Brad KingRelationship addedrelated to 0008438
2012-02-14 10:42Brad KingNote Added: 0028586
2012-02-14 10:42Brad KingStatusnew => backlog
2016-06-10 14:28Kitware RobotNote Added: 0041987
2016-06-10 14:28Kitware RobotStatusbacklog => resolved
2016-06-10 14:28Kitware RobotResolutionopen => moved
2016-06-10 14:28Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0028586)
Brad King   
2012-02-14 10:42   
I think the right way to do this depends on issues 0006348 and 0008438 which ask to make the CMake-provided targets like "INSTALL" available as first-class targets available during the configuration step. That would allow use of

  set_property(TARGET INSTALL ...)

to adjust installation behavior.
(0041987)
Kitware Robot   
2016-06-10 14:28   
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.