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.
9 lines
238 B
9 lines
238 B
6 years ago
|
add_library(a STATIC a.c)
|
||
|
target_compile_definitions(a INTERFACE DEF_A)
|
||
|
|
||
|
add_library(sameName INTERFACE IMPORTED)
|
||
|
target_link_libraries(sameName INTERFACE a)
|
||
|
|
||
|
add_library(ifaceA INTERFACE)
|
||
|
target_link_libraries(ifaceA INTERFACE sameName)
|