MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0006788 | CMake | CMake | public | 2008-04-10 05:42 | 2008-08-19 14:43 |
| Reporter | jesperes | ||||
| Assigned To | |||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | no change required | ||
| Platform | OS | OS Version | |||
| Product Version | CMake-2-6 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0006788: CMAKE_CONFIGURATION_TYPES cannot be set in CMakeLists.txt without rerunning cmake. | ||||
| Description | Visual Studio generator requires the value of CMAKE_CONFIGURATION_TYPES to be present in cache when CMake runs; it is not possible to set CMAKE_CONFIGURATION_TYPES in CMakeLists.txt (without rerunning CMake). Example: project(foo) set(CMAKE_CONFIGURATION_TYPES "Debug;Release;FooBar" CACHE STRING "" FORCE) add_executable(foo foo.c) Running "cmake" once to generate project files will not cause the "FooBar" configuration to be included. Running "cmake" again, or specifying the value on the command line, works. | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2008-04-10 05:42 | jesperes | New Issue | |||
| 2008-08-19 14:43 | Bill Hoffman | Status | new => closed | ||
| 2008-08-19 14:43 | Bill Hoffman | Note Added: 0013072 | |||
| 2008-08-19 14:43 | Bill Hoffman | Resolution | open => no change required | ||
| Notes | |||||
|
|
|||||
|
|
||||