summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/GeneratorExpression/NonValidCompiler-TARGET_PDB_FILE.cmake
diff options
context:
space:
mode:
authorNils Gladitz <nilsgladitz@gmail.com>2014-07-24 20:18:21 (GMT)
committerBrad King <brad.king@kitware.com>2014-07-31 13:17:53 (GMT)
commitf86850ef60b7dc008a144722bd0c803289a8ab76 (patch)
treed9fc952fe7e6dff216bf6bd24626bb3b5bf422fb /Tests/RunCMake/GeneratorExpression/NonValidCompiler-TARGET_PDB_FILE.cmake
parent028ad31878d25dad055ed9588d81568b284a272e (diff)
downloadCMake-f86850ef60b7dc008a144722bd0c803289a8ab76.zip
CMake-f86850ef60b7dc008a144722bd0c803289a8ab76.tar.gz
CMake-f86850ef60b7dc008a144722bd0c803289a8ab76.tar.bz2
Genex: Implement generator expressions for target PDB files.
Diffstat (limited to 'Tests/RunCMake/GeneratorExpression/NonValidCompiler-TARGET_PDB_FILE.cmake')
-rw-r--r--Tests/RunCMake/GeneratorExpression/NonValidCompiler-TARGET_PDB_FILE.cmake9
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/RunCMake/GeneratorExpression/NonValidCompiler-TARGET_PDB_FILE.cmake b/Tests/RunCMake/GeneratorExpression/NonValidCompiler-TARGET_PDB_FILE.cmake
new file mode 100644
index 0000000..84a2b2e
--- /dev/null
+++ b/Tests/RunCMake/GeneratorExpression/NonValidCompiler-TARGET_PDB_FILE.cmake
@@ -0,0 +1,9 @@
+
+enable_language(C)
+
+add_library(empty STATIC empty.c)
+
+file(GENERATE
+ OUTPUT "${CMAKE_CURRENT_BINARY_DIR}/test.txt"
+ CONTENT "[$<TARGET_PDB_FILE:empty>]"
+)