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.
20 lines
382 B
20 lines
382 B
3 years ago
|
enable_language(C)
|
||
|
add_library(foo SHARED empty.c)
|
||
|
install(TARGETS foo EXPORT fooExport
|
||
|
RUNTIME DESTINATION bin
|
||
|
LIBRARY
|
||
|
DESTINATION lib
|
||
|
COMPONENT runtime
|
||
|
NAMELINK_SKIP
|
||
|
)
|
||
|
install(TARGETS foo EXPORT fooExport
|
||
|
LIBRARY
|
||
|
DESTINATION lib
|
||
|
COMPONENT development
|
||
|
NAMELINK_ONLY
|
||
|
)
|
||
|
install(EXPORT fooExport
|
||
|
DESTINATION "lib/cmake/"
|
||
|
FILE "foo.cmake"
|
||
|
)
|