mirror of
https://github.com/reactos/CMake.git
synced 2024-11-25 12:40:06 +00:00
16 lines
397 B
CMake
16 lines
397 B
CMake
function (check_cache_property var prop)
|
|
get_property(gp_val
|
|
CACHE "${var}"
|
|
PROPERTY "${prop}")
|
|
|
|
message("get_property: -->${gp_val}<--")
|
|
endfunction ()
|
|
|
|
set(var val CACHE STRING "doc")
|
|
set_property(CACHE var PROPERTY VALUE "") # empty
|
|
set_property(CACHE var PROPERTY ADVANCED TRUE)
|
|
|
|
check_cache_property(var VALUE)
|
|
check_cache_property(var ADVANCED)
|
|
check_cache_property(var noexist)
|