You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
397 B
16 lines
397 B
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)
|