blob: 9e2460987ba645ee02c176a5b54901a89f0a3d2d (
plain)
1
2
3
4
5
6
|
add_library(A OBJECT a.c)
add_library(UseA STATIC)
target_link_libraries(UseA PUBLIC A)
install(TARGETS UseA EXPORT exp ARCHIVE DESTINATION lib)
install(EXPORT exp DESTINATION lib/cmake/exp)
|