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.
7 lines
234 B
7 lines
234 B
9 years ago
|
enable_language(C)
|
||
|
add_library(foo STATIC empty.c)
|
||
|
add_library(not_exported STATIC empty.c)
|
||
|
target_link_libraries(foo PRIVATE not_exported)
|
||
|
install(TARGETS foo EXPORT Exp DESTINATION lib)
|
||
|
install(EXPORT Exp DESTINATION lib/cmake/Exp)
|