summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/TargetSources/OriginDebug.cmake
blob: 911a7d4f8588b34cb676b0e525dcc5d1d7905b2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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)