7 lines
254 B
CMake
7 lines
254 B
CMake
|
enable_language(C)
|
||
|
add_subdirectory(EXPORT-OldIFace)
|
||
|
add_library(foo SHARED empty.c)
|
||
|
target_link_libraries(foo bar)
|
||
|
install(TARGETS foo DESTINATION lib EXPORT fooExport)
|
||
|
install(EXPORT fooExport DESTINATION lib/cmake/foo EXPORT_LINK_INTERFACE_LIBRARIES)
|