2018-10-28 12:09:07 +01:00
|
|
|
cmake_policy(SET CMP0076 NEW)
|
2022-03-29 21:10:50 +02:00
|
|
|
enable_language(CXX)
|
2018-10-28 12:09:07 +01:00
|
|
|
|
|
|
|
add_library(iface INTERFACE)
|
|
|
|
|
|
|
|
add_subdirectory(RelativePathInSubdirInterface)
|
|
|
|
|
|
|
|
get_property(iface_sources TARGET iface PROPERTY INTERFACE_SOURCES)
|
|
|
|
message(STATUS "iface: ${iface_sources}")
|
|
|
|
|
|
|
|
add_executable(main main.cpp)
|
|
|
|
target_link_libraries(main iface)
|