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.
18 lines
301 B
18 lines
301 B
9 years ago
|
|
||
|
cmake_policy(SET CMP0059 NEW)
|
||
|
|
||
|
add_definitions(-DSOME_DEF)
|
||
|
|
||
|
get_property(defs DIRECTORY .
|
||
|
PROPERTY DEFINITIONS
|
||
|
)
|
||
|
message("DEFS:${defs}")
|
||
|
|
||
|
set_property(DIRECTORY .
|
||
|
PROPERTY DEFINITIONS CUSTOM_CONTENT
|
||
|
)
|
||
|
get_property(content DIRECTORY .
|
||
|
PROPERTY DEFINITIONS
|
||
|
)
|
||
|
message("CUSTOM CONTENT:${content}")
|