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.
10 lines
274 B
10 lines
274 B
2 years ago
|
enable_language(CXX)
|
||
|
|
||
|
add_library(interface INTERFACE)
|
||
|
install(TARGETS interface EXPORT export)
|
||
|
export(EXPORT export)
|
||
|
|
||
|
add_library(imported IMPORTED INTERFACE)
|
||
|
|
||
|
try_compile(tc "${CMAKE_CURRENT_BINARY_DIR}/tc" "${CMAKE_CURRENT_SOURCE_DIR}/empty.cpp" LINK_LIBRARIES imported)
|