mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-21 14:10:41 -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.
5 lines
160 B
CMake
5 lines
160 B
CMake
set(CMAKE_INTERMEDIATE_DIR_STRATEGY FULL CACHE STRING "" FORCE)
|
|
|
|
add_executable(exe main.c lib.c)
|
|
set_property(SOURCE main.c PROPERTY OBJECT_NAME "exe_main.c")
|