summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CompileDefinitions/SetEmpty.cmake
blob: 15cb4e9a3f3d88ac51b0a57e762467c3aa4a6c7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12

set_property(DIRECTORY PROPERTY COMPILE_DEFINITIONS A "" B)
get_property(result DIRECTORY PROPERTY COMPILE_DEFINITIONS)
message("RESULT1=${result}")

set_property(DIRECTORY PROPERTY COMPILE_DEFINITIONS)
get_property(result DIRECTORY PROPERTY COMPILE_DEFINITIONS)
message("RESULT2=${result}")

set_property(DIRECTORY PROPERTY COMPILE_DEFINITIONS -DBAR)
get_property(result DIRECTORY PROPERTY COMPILE_DEFINITIONS)
message("RESULT3=${result}")