MantisBT - CMake | ||||||||||
View Issue Details | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||
0010202 | CMake | CMake | public | 2010-01-29 05:55 | 2010-10-06 14:11 | |||||
Reporter | Marcel Loose | |||||||||
Assigned To | Brad King | |||||||||
Priority | normal | Severity | minor | Reproducibility | always | |||||
Status | closed | Resolution | fixed | |||||||
Platform | OS | OS Version | ||||||||
Product Version | CMake-2-8 | |||||||||
Target Version | CMake 2.8.3 | Fixed in Version | CMake 2.8.3 | |||||||
Summary | 0010202: CMAKE_CONFIGURATION_TYPES and CMAKE_BUILD_TYPE weird behaviour | |||||||||
Description | I noticed a behaviour of CMAKE_CONFIGURATION_TYPES and CMAKE_BUILD_TYPE that is close to wizardry in my opinion when it comes to 'make install' It seems that 'make install' prefers to use "install configurations" that are predefined in CMake (i.e. debug, minsizerel, release, etc.) over user-defined types. If none of the user-defined configuration types in CMAKE_CONFIGURATION_TYPES matches any of these, "make install" appears to default to the first item in CMAKE_CONFIGURATION TYPES. Furthermore, if no matching CMAKE_BUILD_TYPE is specified, 'make install' seems to use the "most optimized" configuration type of the predefined types. Consider the following examples: $ cmake .. -DCMAKE_CONFIGURATION_TYPES="aap;noot;mies" \ -DCMAKE_BUILD_TYPE="noot" && make install ... Install the project... -- Install configuration: "aap" cmake .. -DCMAKE_CONFIGURATION_TYPES="aap;noot;mies;debug" \ -DCMAKE_BUILD_TYPE="noot" && make install ... Install the project... -- Install configuration: "debug" $ cmake .. -DCMAKE_CONFIGURATION_TYPES="aap;noot;release;mies;debug" \ -DCMAKE_BUILD_TYPE="noot" && make install ... Install the project... -- Install configuration: "release" | |||||||||
Steps To Reproduce | ||||||||||
Additional Information | I posted a question on the mailing list twice w.r.t. this issue: http://www.mail-archive.com/cmake@cmake.org/msg26655.html [^] http://www.mail-archive.com/cmake@cmake.org/msg26679.html [^] but got no repsonse. | |||||||||
Tags | No tags attached. | |||||||||
Relationships |
| |||||||||
Attached Files | ||||||||||
Issue History | ||||||||||
Date Modified | Username | Field | Change | |||||||
2010-01-29 05:55 | Marcel Loose | New Issue | ||||||||
2010-08-18 11:31 | Brad King | Note Added: 0021806 | ||||||||
2010-08-31 11:44 | David Cole | Status | new => assigned | |||||||
2010-08-31 11:44 | David Cole | Assigned To | => Brad King | |||||||
2010-08-31 17:53 | David Cole | Target Version | => CMake 2.8.3 | |||||||
2010-09-08 15:22 | Brad King | Note Added: 0022141 | ||||||||
2010-09-08 15:22 | Brad King | Status | assigned => closed | |||||||
2010-09-08 15:22 | Brad King | Resolution | open => fixed | |||||||
2010-10-06 14:11 | David Cole | Fixed in Version | => CMake 2.8.3 | |||||||
2011-03-09 14:19 | Brad King | Relationship added | has duplicate 0011950 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|