summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0059/CMP0059-WARN.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/CMP0059/CMP0059-WARN.cmake')
-rw-r--r--Tests/RunCMake/CMP0059/CMP0059-WARN.cmake17
1 files changed, 17 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0059/CMP0059-WARN.cmake b/Tests/RunCMake/CMP0059/CMP0059-WARN.cmake
new file mode 100644
index 0000000..9d0b49c
--- /dev/null
+++ b/Tests/RunCMake/CMP0059/CMP0059-WARN.cmake
@@ -0,0 +1,17 @@
+
+
+
+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}")