mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-31 10:50:16 -06: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)
|