You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
395 B
18 lines
395 B
enable_language(CXX)
|
|
|
|
set(CMAKE_DEBUG_TARGET_PROPERTIES SOURCES)
|
|
|
|
add_library(iface INTERFACE)
|
|
set_property(TARGET iface PROPERTY INTERFACE_SOURCES
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/empty_1.cpp"
|
|
)
|
|
|
|
add_library(OriginDebug empty_2.cpp)
|
|
target_link_libraries(OriginDebug iface)
|
|
|
|
set_property(TARGET OriginDebug APPEND PROPERTY SOURCES
|
|
empty_3.cpp
|
|
)
|
|
|
|
target_sources(OriginDebug PRIVATE empty_4.cpp)
|