CMAKE_UNITY_BUILD_RELOCATABLE — CMake 4.0.2 Documentation (original) (raw)

Added in version 4.0.

This variable is used to initialize the UNITY_BUILD_RELOCATABLEproperty of targets when they are created. Setting it to true causes sources generated for CMAKE_UNITY_BUILD to #include the original source files using relative paths where possible.