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.
12 lines
301 B
12 lines
301 B
6 years ago
|
cmake_policy(SET CMP0076 NEW)
|
||
3 years ago
|
enable_language(CXX)
|
||
10 years ago
|
|
||
|
add_library(iface INTERFACE)
|
||
|
target_sources(iface INTERFACE empty_1.cpp)
|
||
|
|
||
6 years ago
|
get_property(iface_sources TARGET iface PROPERTY INTERFACE_SOURCES)
|
||
|
message(STATUS "iface: ${iface_sources}")
|
||
|
|
||
10 years ago
|
add_executable(main main.cpp)
|
||
|
target_link_libraries(main iface)
|