mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-09 08:40:11 -06:00
Projects which ship object files as artifacts may want to control the object names as much as possible. Support setting explicit object names as source file properties to support such use cases.
3 lines
94 B
CMake
3 lines
94 B
CMake
add_library(objlib OBJECT lib.c)
|
|
set_property(SOURCE lib.c PROPERTY OBJECT_NAME "$<invalid>")
|