mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
In commit 84996a65aa (Unity: Add option to use relative paths for unity
files, 2024-10-15, v4.0.0-rc1~637^2) we added support for this variable
to initialize the `UNITY_BUILD_RELOCATABLE` target property, but forgot
to document it.
Issue: #26352
10 lines
361 B
ReStructuredText
10 lines
361 B
ReStructuredText
CMAKE_UNITY_BUILD_RELOCATABLE
|
|
-----------------------------
|
|
|
|
.. versionadded:: 4.0
|
|
|
|
This variable is used to initialize the :prop_tgt:`UNITY_BUILD_RELOCATABLE`
|
|
property of targets when they are created. Setting it to true causes
|
|
sources generated for :variable:`CMAKE_UNITY_BUILD` to ``#include`` the
|
|
original source files using relative paths where possible.
|