MantisBT - CMake | ||||||||||
| View Issue Details | ||||||||||
| 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 [^] | |||||||||
| Steps To Reproduce | ||||||||||
| Additional Information | ||||||||||
| Tags | No tags attached. | |||||||||
| Relationships |
| |||||||||
| Attached Files | ||||||||||
| 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 | |||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||