diff options
author | Stephen Kelly <steveire@gmail.com> | 2012-10-03 22:32:39 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-10-09 12:26:40 (GMT) |
commit | a4985a9af9ed9762c1a51c369981609dd24f7425 (patch) | |
tree | 022561102549a117c00db405b821269f2ff1608e /Tests/RunCMake/TargetPropertyGeneratorExpressions/BadNonTarget.cmake | |
parent | d70650d6c3c94d1d903eb7f21998861d8f7bf2c6 (diff) | |
download | CMake-a4985a9af9ed9762c1a51c369981609dd24f7425.zip CMake-a4985a9af9ed9762c1a51c369981609dd24f7425.tar.gz CMake-a4985a9af9ed9762c1a51c369981609dd24f7425.tar.bz2 |
GenEx: Report actual target name not found, not "0" each time.
Diffstat (limited to 'Tests/RunCMake/TargetPropertyGeneratorExpressions/BadNonTarget.cmake')
-rw-r--r-- | Tests/RunCMake/TargetPropertyGeneratorExpressions/BadNonTarget.cmake | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadNonTarget.cmake b/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadNonTarget.cmake new file mode 100644 index 0000000..b020c08 --- /dev/null +++ b/Tests/RunCMake/TargetPropertyGeneratorExpressions/BadNonTarget.cmake @@ -0,0 +1,7 @@ + +file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/main.cpp" + "int main(int, char **) { return 0; }\n") + +add_executable(TargetPropertyGeneratorExpressions + "${CMAKE_CURRENT_BINARY_DIR}/main.cpp") +include_directories("$<TARGET_PROPERTY:NonExistant,INCLUDE_DIRECTORIES>") |