diff options
author | Brad King <brad.king@kitware.com> | 2015-04-02 17:06:03 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-04-02 17:06:03 (GMT) |
commit | 098382505746a0f7c21f521a7a13e4a6836d12ac (patch) | |
tree | c7b8e234126454a0d4361945f4a52f5b24d7738f /Tests/RunCMake/CMP0059/CMP0059-OLD.cmake | |
parent | 9780859b7e06e00d75b90aad1f706a401434a04a (diff) | |
parent | 06f61c26cfa19a47610ad718a784bdd7db105cf8 (diff) | |
download | CMake-098382505746a0f7c21f521a7a13e4a6836d12ac.zip CMake-098382505746a0f7c21f521a7a13e4a6836d12ac.tar.gz CMake-098382505746a0f7c21f521a7a13e4a6836d12ac.tar.bz2 |
Merge topic 'remove-DEFINITIONS-directory-property'
06f61c26 Do not treat DEFINITIONS as a built-in directory property
Diffstat (limited to 'Tests/RunCMake/CMP0059/CMP0059-OLD.cmake')
-rw-r--r-- | Tests/RunCMake/CMP0059/CMP0059-OLD.cmake | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0059/CMP0059-OLD.cmake b/Tests/RunCMake/CMP0059/CMP0059-OLD.cmake new file mode 100644 index 0000000..2555774 --- /dev/null +++ b/Tests/RunCMake/CMP0059/CMP0059-OLD.cmake @@ -0,0 +1,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}") |