summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-05-16 18:37:55 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-05-16 18:37:55 (GMT)
commitb547b99a70a49fd87eefe7e37105e3d26d513a00 (patch)
tree567022de0439dbdf23a38ffc0e17d6725d4ff1e5 /Tests/RunCMake
parente855dd54df383d2047b5bfd81a7d2478b43eb67c (diff)
parent88308bc2f2d906dc1ffd6b18e6a29137232d6e59 (diff)
downloadCMake-b547b99a70a49fd87eefe7e37105e3d26d513a00.zip
CMake-b547b99a70a49fd87eefe7e37105e3d26d513a00.tar.gz
CMake-b547b99a70a49fd87eefe7e37105e3d26d513a00.tar.bz2
Merge topic 'fix-per-config-tll-include-dirs'
88308bc Test that linking using the debug keyword to tll works. 20104ab Test transitive includes from setting the LINK_LIBRARIES property.
Diffstat (limited to 'Tests/RunCMake')
-rw-r--r--Tests/RunCMake/include_directories/DebugIncludes-stderr.txt9
-rw-r--r--Tests/RunCMake/include_directories/DebugIncludes.cmake8
2 files changed, 17 insertions, 0 deletions
diff --git a/Tests/RunCMake/include_directories/DebugIncludes-stderr.txt b/Tests/RunCMake/include_directories/DebugIncludes-stderr.txt
index 63aec90..71e6456 100644
--- a/Tests/RunCMake/include_directories/DebugIncludes-stderr.txt
+++ b/Tests/RunCMake/include_directories/DebugIncludes-stderr.txt
@@ -42,3 +42,12 @@ CMake Debug Log at DebugIncludes.cmake:30 \(target_link_libraries\):
Call Stack \(most recent call first\):
CMakeLists.txt:3 \(include\)
++
+CMake Debug Log at DebugIncludes.cmake:55 \(set_property\):
+ Used includes for target lll:
+
+ \* .*/Tests/RunCMake/include_directories/nine
+ \* .*/Tests/RunCMake/include_directories/ten
+
+Call Stack \(most recent call first\):
+ CMakeLists.txt:3 \(include\)
diff --git a/Tests/RunCMake/include_directories/DebugIncludes.cmake b/Tests/RunCMake/include_directories/DebugIncludes.cmake
index de36899..bbc9e46 100644
--- a/Tests/RunCMake/include_directories/DebugIncludes.cmake
+++ b/Tests/RunCMake/include_directories/DebugIncludes.cmake
@@ -45,3 +45,11 @@ function(some_function)
endfunction()
some_function()
+
+add_library(bar "${CMAKE_CURRENT_BINARY_DIR}/DebugIncludes.cpp")
+target_include_directories(bar
+ INTERFACE
+ "${CMAKE_CURRENT_SOURCE_DIR}/nine"
+ "${CMAKE_CURRENT_SOURCE_DIR}/ten"
+)
+set_property(TARGET lll APPEND PROPERTY LINK_LIBRARIES bar)