mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
Teach install() and export() to handle the actual object files. Disallow this on Xcode with multiple architectures because it still cannot be cleanly supported there. Co-Author: Brad King <brad.king@kitware.com>
3 lines
61 B
CMake
3 lines
61 B
CMake
add_library(A OBJECT a.c)
|
|
install(TARGETS A DESTINATION lib)
|