diff options
author | Sebastian Lipponer <mail@sebastianlipponer.de> | 2019-04-01 19:47:12 (GMT) |
---|---|---|
committer | Sebastian Lipponer <mail@sebastianlipponer.de> | 2019-04-01 19:52:17 (GMT) |
commit | abbb8a7b1d40b98fb1841a76efb676eea7771cf0 (patch) | |
tree | a7e7b657af68eb9783f955d3c3695f2258685824 /Tests/RunCMake/GeneratorExpression/REMOVE_DUPLICATES-empty-check.cmake | |
parent | 11338389e5f89a58b18d63e29e21c099cfbf407e (diff) | |
download | CMake-abbb8a7b1d40b98fb1841a76efb676eea7771cf0.zip CMake-abbb8a7b1d40b98fb1841a76efb676eea7771cf0.tar.gz CMake-abbb8a7b1d40b98fb1841a76efb676eea7771cf0.tar.bz2 |
Genex: Add $<REMOVE_DUPLICATES:list>
Diffstat (limited to 'Tests/RunCMake/GeneratorExpression/REMOVE_DUPLICATES-empty-check.cmake')
-rw-r--r-- | Tests/RunCMake/GeneratorExpression/REMOVE_DUPLICATES-empty-check.cmake | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/GeneratorExpression/REMOVE_DUPLICATES-empty-check.cmake b/Tests/RunCMake/GeneratorExpression/REMOVE_DUPLICATES-empty-check.cmake new file mode 100644 index 0000000..f779d48 --- /dev/null +++ b/Tests/RunCMake/GeneratorExpression/REMOVE_DUPLICATES-empty-check.cmake @@ -0,0 +1,6 @@ +file(READ "${RunCMake_TEST_BINARY_DIR}/REMOVE_DUPLICATES-generated.txt" content) + +set(expected "") +if(NOT content STREQUAL expected) + set(RunCMake_TEST_FAILED "actual content:\n [[${content}]]\nbut expected:\n [[${expected}]]") +endif() |