MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0013293 | CMake | CMake | public | 2012-06-11 18:44 | 2012-11-05 14:33 |
Reporter | Michael.jeulinl | ||||
Assigned To | |||||
Priority | normal | Severity | feature | Reproducibility | always |
Status | closed | Resolution | no change required | ||
Platform | OS | OS Version | |||
Product Version | CMake 2.8.8 | ||||
Target Version | Fixed in Version | ||||
Summary | 0013293: INTERNAL: Cache value overwritten without a FORCE option set. | ||||
Description | On INTERNAL type, the cache value is overwritten without a FORCE option set. | ||||
Steps To Reproduce | cmake_minimum_required(VERSION 2.8.8) # # From CMake 2.8.8 documentation: # # If <type> is INTERNAL, then the <value> is always written into the cache, replacing any values # existing in the cache. If it is not a cache variable, then this always writes into the current # makefile. The FORCE option will overwrite the cache value removing any changes by the user. # project(testSetInternal) message(STATUS "0-Foo:${Foo}") set(Foo TrueFoo CACHE STRING "Foo value" FORCE) message(STATUS "1-Foo:${Foo}") set(Foo Foo CACHE STRING "Foo value") message(STATUS "2-Foo:${Foo}") message(STATUS "0-Bar:${Bar}") set(Bar TrueBar CACHE INTERNAL "Bar value" FORCE) message(STATUS "1-Bar:${Bar}") set(Bar Bar CACHE INTERNAL "Bar value") message(STATUS "2-Bar:${Bar}") | ||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2012-06-11 18:44 | Michael.jeulinl | New Issue | |||
2012-06-12 08:08 | Brad King | Note Added: 0029664 | |||
2012-06-12 08:08 | Brad King | Status | new => resolved | ||
2012-06-12 08:08 | Brad King | Resolution | open => no change required | ||
2012-11-05 14:33 | David Cole | Note Added: 0031448 | |||
2012-11-05 14:33 | David Cole | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|