View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0010809 | CMake | CMake | public | 2010-06-09 16:12 | 2011-01-31 16:07 | ||||
Reporter | Derek Bruening | ||||||||
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.4 | Fixed in Version | CMake 2.8.4 | ||||||
Summary | 0010809: support setting the config/build type used for initial try_compiles | ||||||||
Description | There is no way to set the build type used for the try_compile in CMake's working compiler check and its ABI determination. CMAKE_TRY_COMPILE_CONFIGURATION is only honored for multi-config generators like Visual Studio project files. My current workaround is to set CMAKE_MODULE_PATH such that my custom Plaform/Windows-cl.cmake is included, which looks like: include(${CMAKE_ROOT}/Modules/Platform/Windows-cl.cmake) set(CMAKE_BUILD_TYPE_INIT Release) Note that my motivation for this is to avoid pdb creation when compiling over cygwin ssh. xref http://www.cmake.org/pipermail/cmake/2010-May/037212.html [^] | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | ||||||
|
Relationships |
Notes | |
(0024828) Brad King (manager) 2011-01-17 16:47 |
try_compile(... CMAKE_FLAGS -DCMAKE_BUILD_TYPE=Release ...) |
(0024829) Brad King (manager) 2011-01-17 16:50 |
Wow, the origin of CMAKE_TRY_COMPILE_CONFIGURATION takes me back: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=467fa9df [^] |
(0024830) Brad King (manager) 2011-01-17 16:51 |
We should honor CMAKE_TRY_COMPILE_CONFIGURATION for all try_compile calls so that it works for those invoked by CMake's builtin modules too. |
(0024833) Brad King (manager) 2011-01-17 17:27 |
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=56efc60f [^] |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2010-06-09 16:12 | Derek Bruening | New Issue | |
2011-01-17 16:43 | David Cole | Assigned To | => Brad King |
2011-01-17 16:43 | David Cole | Status | new => assigned |
2011-01-17 16:47 | Brad King | Note Added: 0024828 | |
2011-01-17 16:50 | Brad King | Relationship added | related to 0000371 |
2011-01-17 16:50 | Brad King | Note Added: 0024829 | |
2011-01-17 16:51 | Brad King | Note Added: 0024830 | |
2011-01-17 17:27 | Brad King | Note Added: 0024833 | |
2011-01-17 17:27 | Brad King | Status | assigned => closed |
2011-01-17 17:27 | Brad King | Resolution | open => fixed |
2011-01-31 16:07 | David Cole | Fixed in Version | => CMake 2.8.4 |
2011-01-31 16:07 | David Cole | Target Version | => CMake 2.8.4 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |