summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/ExternalData/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-01-29 20:12:08 (GMT)
committerBrad King <brad.king@kitware.com>2013-01-30 15:05:07 (GMT)
commit9e518a8169bae33c8a971c146e29b5af20114648 (patch)
tree76b9f313e37f45dbe1b6f5172bbe4fe9bbb815fa /Tests/RunCMake/ExternalData/RunCMakeTest.cmake
parent175ed02207ea5fe25aa7156acb2554d706611263 (diff)
downloadCMake-9e518a8169bae33c8a971c146e29b5af20114648.zip
CMake-9e518a8169bae33c8a971c146e29b5af20114648.tar.gz
CMake-9e518a8169bae33c8a971c146e29b5af20114648.tar.bz2
ExternalData: Allow DATA{} syntax to reference directories
Use a trailing slash to reference a directory. Require that a list of associated files be specified to select from within the directory. One may simply use DATA{Dir/,REGEX:.*} to reference all files but get a directory passed on the command line.
Diffstat (limited to 'Tests/RunCMake/ExternalData/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/ExternalData/RunCMakeTest.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/ExternalData/RunCMakeTest.cmake b/Tests/RunCMake/ExternalData/RunCMakeTest.cmake
index c61527e..fc85a21 100644
--- a/Tests/RunCMake/ExternalData/RunCMakeTest.cmake
+++ b/Tests/RunCMake/ExternalData/RunCMakeTest.cmake
@@ -9,6 +9,8 @@ run_cmake(BadSeries3)
run_cmake(Directory1)
run_cmake(Directory2)
run_cmake(Directory3)
+run_cmake(Directory4)
+run_cmake(Directory5)
run_cmake(LinkContentMD5)
run_cmake(MissingData)
run_cmake(NoLinkInSource)