diff options
author | Brad King <brad.king@kitware.com> | 2015-09-23 18:41:52 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-09-23 18:41:52 (GMT) |
commit | 69ab5f55026c7e884a70f04aa7ddef776f74305b (patch) | |
tree | cf939ee95878c4f58d998a23678945fb3c608a6c /Tests/RunCMake/install | |
parent | 17aa6fd36284ad937bfce370cf8d5e5de87a334b (diff) | |
download | CMake-69ab5f55026c7e884a70f04aa7ddef776f74305b.zip CMake-69ab5f55026c7e884a70f04aa7ddef776f74305b.tar.gz CMake-69ab5f55026c7e884a70f04aa7ddef776f74305b.tar.bz2 |
Tests: Cover install(FILES) with a genex DESTINATION
Diffstat (limited to 'Tests/RunCMake/install')
4 files changed, 9 insertions, 0 deletions
diff --git a/Tests/RunCMake/install/FILES-DESTINATION-bad-result.txt b/Tests/RunCMake/install/FILES-DESTINATION-bad-result.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/Tests/RunCMake/install/FILES-DESTINATION-bad-result.txt @@ -0,0 +1 @@ +1 diff --git a/Tests/RunCMake/install/FILES-DESTINATION-bad-stderr.txt b/Tests/RunCMake/install/FILES-DESTINATION-bad-stderr.txt new file mode 100644 index 0000000..9844158 --- /dev/null +++ b/Tests/RunCMake/install/FILES-DESTINATION-bad-stderr.txt @@ -0,0 +1,6 @@ +CMake Error: + Error evaluating generator expression: + + \$<NOTAGENEX> + + Expression did not evaluate to a known generator expression diff --git a/Tests/RunCMake/install/FILES-DESTINATION-bad.cmake b/Tests/RunCMake/install/FILES-DESTINATION-bad.cmake new file mode 100644 index 0000000..0fda078 --- /dev/null +++ b/Tests/RunCMake/install/FILES-DESTINATION-bad.cmake @@ -0,0 +1 @@ +install(FILES empty.c DESTINATION $<NOTAGENEX>) diff --git a/Tests/RunCMake/install/RunCMakeTest.cmake b/Tests/RunCMake/install/RunCMakeTest.cmake index a5f5bd0..2ce0095 100644 --- a/Tests/RunCMake/install/RunCMakeTest.cmake +++ b/Tests/RunCMake/install/RunCMakeTest.cmake @@ -6,6 +6,7 @@ run_cmake(DIRECTORY-message-lazy) run_cmake(SkipInstallRulesWarning) run_cmake(SkipInstallRulesNoWarning1) run_cmake(SkipInstallRulesNoWarning2) +run_cmake(FILES-DESTINATION-bad) run_cmake(TARGETS-DESTINATION-bad) run_cmake(CMP0062-OLD) run_cmake(CMP0062-NEW) |