summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0059/CMP0059-OLD.cmake
blob: 25557744d4a558a8d79fafd342fea119809bbff6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

cmake_policy(SET CMP0059 OLD)

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}")