summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-07-22 15:04:30 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-07-22 15:04:30 (GMT)
commit4c3d431210d8c30b4b6fc67f75af73406dd396fa (patch)
tree765d58dd3acebe783d26bbe7c129691242104649 /Tests
parent90b3b5e42c1d0a8b228314451706f49cfbb7e047 (diff)
parent45c5f8cad2f95ccfada50e1b65e56918f3c6c5c4 (diff)
downloadCMake-4c3d431210d8c30b4b6fc67f75af73406dd396fa.zip
CMake-4c3d431210d8c30b4b6fc67f75af73406dd396fa.tar.gz
CMake-4c3d431210d8c30b4b6fc67f75af73406dd396fa.tar.bz2
Merge topic 'target-directory-properties'
45c5f8ca Add SOURCE_DIR and BINARY_DIR target properties
Diffstat (limited to 'Tests')
-rw-r--r--Tests/RunCMake/get_property/target_properties-stderr.txt6
-rw-r--r--Tests/RunCMake/get_property/target_properties.cmake2
2 files changed, 7 insertions, 1 deletions
diff --git a/Tests/RunCMake/get_property/target_properties-stderr.txt b/Tests/RunCMake/get_property/target_properties-stderr.txt
index d0981ac..6b3c6ca 100644
--- a/Tests/RunCMake/get_property/target_properties-stderr.txt
+++ b/Tests/RunCMake/get_property/target_properties-stderr.txt
@@ -3,4 +3,8 @@ get_property: --><--
get_target_property: -->value<--
get_property: -->value<--
get_target_property: -->gtp_val-NOTFOUND<--
-get_property: --><--$
+get_property: --><--
+get_target_property: -->(.*)/Tests/RunCMake/get_property<--
+get_property: -->(.*)/Tests/RunCMake/get_property<--
+get_target_property: -->(.*)/Tests/RunCMake/get_property/target_properties-build<--
+get_property: -->(.*)/Tests/RunCMake/get_property/target_properties-build<--$
diff --git a/Tests/RunCMake/get_property/target_properties.cmake b/Tests/RunCMake/get_property/target_properties.cmake
index c5a141d..9ff833a 100644
--- a/Tests/RunCMake/get_property/target_properties.cmake
+++ b/Tests/RunCMake/get_property/target_properties.cmake
@@ -14,3 +14,5 @@ set_target_properties(tgt PROPERTIES empty "" custom value)
check_target_property(tgt empty)
check_target_property(tgt custom)
check_target_property(tgt noexist)
+check_target_property(tgt SOURCE_DIR)
+check_target_property(tgt BINARY_DIR)