mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-11 23:43:58 +03:00
10 lines
316 B
CMake
10 lines
316 B
CMake
add_library(mammal INTERFACE)
|
|
add_library(canine INTERFACE)
|
|
target_link_libraries(canine INTERFACE mammal)
|
|
|
|
install(TARGETS mammal EXPORT mammal DESTINATION .)
|
|
install(TARGETS canine EXPORT canine DESTINATION .)
|
|
|
|
export(EXPORT mammal PACKAGE_INFO foo VERSION 1.0)
|
|
export(EXPORT canine PACKAGE_INFO foo APPENDIX dog)
|