summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/TargetSources/OriginDebug.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/TargetSources/OriginDebug.cmake')
-rw-r--r--Tests/RunCMake/TargetSources/OriginDebug.cmake14
1 files changed, 14 insertions, 0 deletions
diff --git a/Tests/RunCMake/TargetSources/OriginDebug.cmake b/Tests/RunCMake/TargetSources/OriginDebug.cmake
new file mode 100644
index 0000000..911a7d4
--- /dev/null
+++ b/Tests/RunCMake/TargetSources/OriginDebug.cmake
@@ -0,0 +1,14 @@
+
+cmake_minimum_required(VERSION 3.0)
+
+project(OriginDebug)
+
+set(CMAKE_DEBUG_TARGET_PROPERTIES SOURCES)
+
+add_library(iface INTERFACE)
+set_property(TARGET iface PROPERTY INTERFACE_SOURCES
+ empty_1.cpp
+)
+
+add_library(OriginDebug empty_2.cpp)
+target_link_libraries(OriginDebug iface)