View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0012961CMakeCCMakepublic2012-02-13 17:572016-06-10 14:31
ReporterDavid Bjornbak 
Assigned ToKitware Robot 
PrioritynormalSeveritytweakReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product VersionCMake 2.8.6 
Target VersionFixed in Version 
Summary0012961: CMAKE_INSTALL_BEHAVIOR and allowing users to run INSTALL under Visual Studio by default
DescriptionI 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.
TagsNo tags attached.
Attached Filespatch file icon cmake-custom1.1.patch [^] (3,054 bytes) 2012-02-13 17:59 [Show Content]

 Relationships
related to 0006348closedKitware Robot custom global targets (targets which when built from the root build all targets with the same name in subdirs) 
related to 0008438closedKitware Robot add_dependencies() for "build-in cmake targets" 

  Notes
(0028586)
Brad King (manager)
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 (administrator)
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.

 Issue History
Date Modified Username Field Change
2012-02-13 17:57 David Bjornbak New Issue
2012-02-13 17:59 David Bjornbak File Added: cmake-custom1.1.patch
2012-02-14 10:40 Brad King Relationship added related to 0006348
2012-02-14 10:40 Brad King Relationship added related to 0008438
2012-02-14 10:42 Brad King Note Added: 0028586
2012-02-14 10:42 Brad King Status new => backlog
2016-06-10 14:28 Kitware Robot Note Added: 0041987
2016-06-10 14:28 Kitware Robot Status backlog => resolved
2016-06-10 14:28 Kitware Robot Resolution open => moved
2016-06-10 14:28 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team