Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Unity Build: Fix per-config sources in multi-config generators | Brad King | 2021-11-11 | 5 | -0/+62 |
| | | | | | | | | | | | | | | | 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 cases | Brad King | 2021-10-19 | 1 | -6/+2 |
| | |||||
* | Unity: Generate reproducible unity IDs for anonymous namespaces | Craig Scott | 2021-01-22 | 3 | -1/+16 |
| | | | Fixes: #21564 | ||||
* | Unity Build: Add option for generating per-file unique id | Stephen Kelly | 2020-12-15 | 5 | -0/+84 |
| | | | | Fixes: #21477 | ||||
* | Fix typos identified using codespell | Jean-Christophe Fillion-Robin | 2020-07-22 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See https://github.com/codespell-project/codespell#readme The following command was used: ``` codespell -q6 --skip="\ .git,\ *.json,\ ./Copyright.txt,\ ./Help/command/foreach.rst,\ ./Help/prop_test/REQUIRED_FILES.rst,\ ./Help/variable/CTEST_COVERAGE_COMMAND.rst,\ ./Modules/CMakeCheckCompilerFlagCommonPatterns.cmake,\ ./Modules/CMakeRCInformation.cmake,\ ./Modules/Internal/CPack/NSIS.template.in,\ ./Modules/FindMatlab.cmake,\ ./Modules/MatlabTestsRedirect.cmake,\ ./Modules/Platform/Windows-Clang.cmake,\ ./Modules/Platform/Windows-Intel-Fortran.cmake,\ ./Modules/Platform/Windows-MSVC.cmake,\ ./Source/CMakeVersion.cmake,\ ./Source/cmConvertMSBuildXMLToJSON.py,\ ./Source/cmCreateTestSourceList.cxx,\ ./Source/cmGlobalVisualStudio10Generator.cxx,\ ./Source/cmExportBuildFileGenerator.cxx,\ ./Source/cmExportInstallAndroidMKGenerator.cxx,\ ./Source/cmExportInstallFileGenerator.cxx,\ ./Source/cmExportSet.cxx,\ ./Source/cmExportTryCompileFileGenerator.cxx,\ ./Source/cmFindPackageCommand.cxx,\ ./Source/cmInstallCommand.cxx,\ ./Source/cmGeneratorExpressionLexer.cxx,\ ./Source/cmLocalVisualStudio7Generator.cxx,\ ./Source/cmOrderDirectories.cxx,\ ./Source/cmTarget.cxx,\ ./Source/kwsys/*,\ ./Source/QtDialog/CMakeSetupDialog.ui,\ ./Source/CPack/WiX/cmWIXRichTextFormatWriter.cxx,\ ./Source/CTest/cmParseCoberturaCoverage.h,\ ./Tests/CMakeTests/ImplicitLinkInfoTest.cmake.in,\ ./Tests/RunCMake/CPack/tests/DMG_SLA/English.license.rtf,\ ./Tests/RunCMake/CPack/tests/DMG_SLA/German.license.txt,\ ./Tests/RunCMake/CPack/tests/DMG_SLA/German.menu.txt,\ ./Tests/RunCMake/GoogleTest/xml_output.cpp,\ ./Tests/RunCMake/Make/TargetMessages*,\ ./Utilities/*,\ " \ -L "\ dependees,\ endwhile,\ fo,\ filetest,\ helpfull,\ nd,\ objext,\ stoll,\ supercedes,\ superceded,\ vas,\ varn,\ " ``` | ||||
* | Unity Builds: Support explicit specification of sources to groups | Robert Maynard | 2020-05-07 | 15 | -0/+233 |
| | | | | | Instead of having CMake determine which files should go into each unity file, the user can now use explicitly state the mapping. | ||||
* | Unity Build: include language in generated source file name | Cristian Adam | 2020-01-14 | 9 | -11/+11 |
| | | | | Fixes: #20206 | ||||
* | Unity: Proper handling of object libraries | Cristian Adam | 2019-12-07 | 2 | -0/+14 |
| | | | | Fixes: #20051 | ||||
* | Unity: Don't include sources with HEADER_FILE_ONLY property set | Cristian Adam | 2019-11-11 | 3 | -4/+8 |
| | | | | | | Fixes: #19946 Fixes: #19947 Co-authored-by: Craig Scott <craig.scott@crascit.com> | ||||
* | Unity build: Include GENERATED files into unity build | Cristian Adam | 2019-11-06 | 2 | -7/+4 |
| | | | | | | | There is no reason to skip the generated files, in case of problems one can use the SKIP_UNITY_BUILD_INCLUSION property. Fixes: #19925 | ||||
* | Unity build: Add unit tests | Cristian Adam | 2019-08-30 | 24 | -0/+261 |