summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/UnityBuild/RunCMakeTest.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Unity: Add option to use relative paths for unity filesJames Moore2024-10-151-0/+7
| | | | | | | | | | Add a target property that will be read on unity file generation to attempt to use a relative path to the source file from the CMake Source Directory or the generated unity file. Additionally add the CMake Source Directory and the CMake Binary directory to the include path of the generated unity files. Closes: #26352
* Add support for unity builds with CUDA sourcesRobert Maynard2024-08-021-0/+5
| | | | Fixes #22750
* Unity: Enable UNITY_BUILD for OBJC and OBJCXX filesRob Raguet-Schofield2023-10-261-0/+7
|
* Unity Build: Fix per-config sources in multi-config generatorsBrad King2021-11-111-0/+16
| | | | | | | | | | | | | | | Single-config generators already support unity builds with per-config sources because they compute sources using `CMAKE_BUILD_TYPE` as the configuration. Each original source is either included in the unity build source, or not. Teach multi-config generators to compute the list of sources for inclusion in unity builds using all configurations. Previously they only used the empty string as the configuration. Each original source may be included in some configurations, but not others. Use preprocessor conditions to guard their inclusion when necessary. Fixes: #22892
* Tests: Clean RunCMake.UnityBuild casesBrad King2021-10-191-6/+2
|
* Unity Build: Add option for generating per-file unique idStephen Kelly2020-12-151-0/+12
| | | | Fixes: #21477
* Unity Builds: Support explicit specification of sources to groupsRobert Maynard2020-05-071-0/+6
| | | | | Instead of having CMake determine which files should go into each unity file, the user can now use explicitly state the mapping.
* Unity: Proper handling of object librariesCristian Adam2019-12-071-0/+1
| | | | Fixes: #20051
* Unity build: Add unit testsCristian Adam2019-08-301-0/+23