2014-03-27 12:16:59 +00:00
|
|
|
|
|
|
|
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
|
2014-11-27 00:04:33 +00:00
|
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/empty_1.cpp"
|
2014-03-27 12:16:59 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
add_library(OriginDebug empty_2.cpp)
|
|
|
|
target_link_libraries(OriginDebug iface)
|
2013-07-08 18:18:42 +00:00
|
|
|
|
|
|
|
set_property(TARGET OriginDebug APPEND PROPERTY SOURCES
|
|
|
|
empty_3.cpp
|
|
|
|
)
|
2013-07-08 18:18:42 +00:00
|
|
|
|
|
|
|
target_sources(OriginDebug PRIVATE empty_4.cpp)
|