summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* cmLinkItem: Clarify name of CMP0027 check memberBrad King2022-01-293-7/+7
| | | | | | | The only purpose of `cmLinkImplItem`'s `FromGenex` member is to decide whether to check CMP0027. That won't be needed for link items added by new interfaces in the future. Clarify the name to indicate that we do not always need to know if the item came from a generator expression.
* cmGeneratorExpressionDAGChecker: Re-order EvaluatingLinkLibraries conditionBrad King2022-01-291-3/+3
| | | | Place the modern properties first.
* Merge topic 'define-property-optional-args-documentation'Brad King2022-01-211-0/+4
|\ | | | | | | | | | | | | b7cd51d18a Help: Note the version in which define_property() arguments became optional Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6884
| * Help: Note the version in which define_property() arguments became optionalKyle Edwards2022-01-211-0/+4
|/
* Merge topic 'cmake-warn-extra-paths'Brad King2022-01-216-8/+50
|\ | | | | | | | | | | | | | | | | eacf1f879b cmake: Warn about unnecessary paths on command line a4f076110d Tests: Fix RunCMake.CommandLine toolchain case command line Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6882
| * cmake: Warn about unnecessary paths on command lineRobert Maynard2022-01-205-6/+47
| | | | | | | | | | | | We can't make it an error as that would break existing behavior. Fixes: #23110
| * Tests: Fix RunCMake.CommandLine toolchain case command lineBrad King2022-01-202-2/+3
| |
* | Merge topic 'target-properties-from-variables'Brad King2022-01-2127-16/+198
|\ \ | | | | | | | | | | | | | | | | | | | | | fce24e4f10 define_property(): Add INITIALIZE_FROM_VARIABLE argument Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6865
| * | define_property(): Add INITIALIZE_FROM_VARIABLE argumentKyle Edwards2022-01-2027-16/+198
| | | | | | | | | | | | Fixes: #20698
* | | Merge topic 'vs-asan'Brad King2022-01-212-0/+10
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | d13c8d25e6 VS: Add support for ASAN -fsanitize=address flag Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6881
| * | | VS: Add support for ASAN -fsanitize=address flagHanaa Elghobashi2022-01-202-0/+10
| | |/ | |/| | | | | | | Fixes: #21081
* | | CMake Nightly Date StampKitware Robot2022-01-211-1/+1
| | |
* | | Merge topic 'CheckPIESUpported-supports-SYSROOT'Brad King2022-01-205-11/+46
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 219dde4ea8 CheckPIESupported: now uses any SYSROOT settings 4fa105d34e Check{Compiler,Linker}Flag: Add possibility to retrieve check outputs Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6877
| * | | CheckPIESupported: now uses any SYSROOT settingsMarc Chevrier2022-01-192-10/+22
| | | | | | | | | | | | | | | | Fixes: 23053
| * | | Check{Compiler,Linker}Flag: Add possibility to retrieve check outputsMarc Chevrier2022-01-193-1/+24
| | | |
* | | | Merge branch 'release-3.22'Brad King2022-01-200-0/+0
|\ \ \ \
| * \ \ \ Merge topic 'FortranCInterface-gcc-12-lto' into release-3.22Brad King2022-01-201-0/+13
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6a0ce19ce1 FortranCInterface: Fix compatibility with GCC gfortran 12 LTO Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6879
* | \ \ \ \ Merge topic 'FortranCInterface-gcc-12-lto'Brad King2022-01-201-0/+13
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 6a0ce19ce1 FortranCInterface: Fix compatibility with GCC gfortran 12 LTO Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6879
| * | | | | FortranCInterface: Fix compatibility with GCC gfortran 12 LTOBjörn Esser2022-01-191-0/+13
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since version 12.0 the GCC Fortran compiler has implemented "WG5/N1942", which causes, if link-time opmization is enabled, obfuscation of hard-coded string values in the compiler objects and its resulting ELF-binaries. This causes the CMake-internal detection of the mangling scheme for the naming of subroutines to fail. Thus we must ensure to have any link-time optimization features to be disabled on the executable file we perform the detection on. The static libraries, however, must be build with LTO and non-LTO objects, as that will ensure the verify step will operate on IPO objects, if building those is requested by the system compiler flags. Fixes: #23123 Signed-off-by: Björn Esser <besser82@fedoraproject.org>
* | | | | Merge topic 'ccmake-windows'Brad King2022-01-2067-31/+15636
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e674e02c55 Help: Add release note for experimental ccmake support on Windows 5c9310c714 ci: Enable ccmake on Windows 9278c6e01a ccmake: Add Windows support using PDCurses b97c12babb ccmake: Refactor resizing logic into cmCursesForm bf11dab49d ccmake: Refactor BUILD_CursesDialog option logic bf94e01348 cmpdcurses: Add CMake build system 89703bc941 Merge branch 'upstream-PDCurses' into update-pdcurses f84c4112c3 PDCurses 2021-12-08 (f1cd4f45) ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6832
| * | | | | Help: Add release note for experimental ccmake support on WindowsBrad King2022-01-191-0/+6
| | | | | |
| * | | | | ci: Enable ccmake on WindowsBrad King2022-01-191-0/+1
| | | | | |
| * | | | | ccmake: Add Windows support using PDCursesDuncan Ogilvie2022-01-185-4/+34
| | | | | |
| * | | | | ccmake: Refactor resizing logic into cmCursesFormDuncan Ogilvie2022-01-183-18/+27
| | | | | |
| * | | | | ccmake: Refactor BUILD_CursesDialog option logicBrad King2022-01-181-13/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move all the current logic behind `if(UNIX)` conditions to make room for other platforms to be added.
| * | | | | cmpdcurses: Add CMake build systemBrad King2022-01-181-0/+73
| | | | | |
| * | | | | Merge branch 'upstream-PDCurses' into update-pdcursesBrad King2022-01-1257-0/+15451
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # By PDCurses Upstream * upstream-PDCurses: PDCurses 2021-12-08 (f1cd4f45)
| | * | | | | PDCurses 2021-12-08 (f1cd4f45)PDCurses Upstream2022-01-1257-0/+15451
| | / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Code extracted from: https://github.com/wmcbrine/PDCurses.git at commit f1cd4f4569451a5028ddf3d3c202f0ad6b1ae446 (f1cd4f4569451a5028ddf3d3c202f0ad6b1ae446).
| * | | | | pdcurses: Add script to import PDCurses from upstreamBrad King2022-01-121-0/+32
| | | | | |
* | | | | | Merge topic 'cmake-presets-include-outside-project-dir'Brad King2022-01-207-36/+3
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0c2d234bc9 CMakePresets: Allow files included from CMakePresets.json to be anywhere Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Gerhard Olsson <gerhard.nospam@gmail.com> Merge-request: !6867
| * | | | | CMakePresets: Allow files included from CMakePresets.json to be anywhereKyle Edwards2022-01-197-36/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are some valid use cases for allowing these files to be outside the project directory. Relax the restriction, and include a strong warning in the documentation.
* | | | | | CMake Nightly Date StampKitware Robot2022-01-201-1/+1
| |_|_|_|/ |/| | | |
* | | | | Merge topic 'cpack-dmg-sla'Brad King2022-01-1913-3/+95
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9e38bfa915 CPack/DMG: Add explicit option to use CPACK_RESOURCE_FILE_LICENSE for SLA 542ba6ac1a Tests: Add CPack/DMG case covering SLA from CPACK_RESOURCE_FILE_LICENSE Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6876
| * | | | | CPack/DMG: Add explicit option to use CPACK_RESOURCE_FILE_LICENSE for SLABrad King2022-01-189-3/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since macOS 12.0, the ``hdiutil udifrez`` and ``hdiutil udifderez`` commands to embed and extract resources in a disk image are deprecated. The CPack DragNDrop Generator uses these to attach the SLA specified by the `CPACK_RESOURCE_FILE_LICENSE` option. Since that option is shared by multiple CPack generators, we cannot deprecate it. Instead, add an explicit option to control the behavior. This will give projects a way to package on future macOS versions that remove the commands. In order to provide a long-term transition away from attaching SLAs to disk images, update `cpack` to default this behavior to OFF. To retain compatibility for CMake projects, teach the CPack module to default the option to ON. Later a policy can be added to change the default. Issue: #22978
| * | | | | Tests: Add CPack/DMG case covering SLA from CPACK_RESOURCE_FILE_LICENSEBrad King2022-01-185-0/+31
| | | | | |
* | | | | | Merge topic 'define-property-optional-args'Brad King2022-01-198-46/+65
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | edb5059216 define_property(): Make BRIEF_DOCS and FULL_DOCS optional 7d26baff46 cmDefinePropertyCommand: Refactor to use cmArgumentParser Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !6875
| * | | | | | define_property(): Make BRIEF_DOCS and FULL_DOCS optionalKyle Edwards2022-01-188-15/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue: #20698
| * | | | | | cmDefinePropertyCommand: Refactor to use cmArgumentParserKyle Edwards2022-01-181-32/+21
| |/ / / / /
* | | | | | Merge topic 'handle_multiple_source_dirs'Brad King2022-01-192-28/+39
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b2bc3364f0 CMake: `-S` paths preferred over other provided paths 2e1b7e5b9a Add tests that showcase cmake -S limitations Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6874
| * | | | | | CMake: `-S` paths preferred over other provided pathsRobert Maynard2022-01-181-28/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When cmake parses `cmake -S <path> <path>` treat the second path as the build directory. Likwise when invoked with `<path> -S <path>` treat the first path as the build path instead of using the current working directory.
| * | | | | | Add tests that showcase cmake -S limitationsRobert Maynard2022-01-181-0/+13
| | |/ / / / | |/| | | |
* | | | | | Merge topic 'update-expat'Brad King2022-01-198-20/+215
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9d475d1d82 Merge branch 'upstream-expat' into update-expat 1e2684f0aa expat 2022-01-16 (57c7da69) a581fbd195 expat: Update script to get Expat 2.4.3 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6873
| * \ \ \ \ \ Merge branch 'upstream-expat' into update-expatBrad King2022-01-187-19/+214
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream-expat: expat 2022-01-16 (57c7da69)
| | * | | | | | expat 2022-01-16 (57c7da69)Expat Upstream2022-01-187-19/+216
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Code extracted from: https://github.com/libexpat/libexpat.git at commit 57c7da69b78e3698e112a6b5da19d5109b8232d1 (R_2_4_3).
| * | | | | | | expat: Update script to get Expat 2.4.3Brad King2022-01-181-1/+1
| | |_|/ / / / | |/| | | | |
* | | | | | | Merge topic 'depfile-parsing-update'Brad King2022-01-1911-88/+137
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0b65a2b253 add_custom_command(DEPFILE): ensure all dependencies are taken into account e04a352cca Depfile parsing: enhance compatibility with GNU Make Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !6861
| * | | | | | add_custom_command(DEPFILE): ensure all dependencies are taken into accountMarc Chevrier2022-01-163-30/+36
| | | | | | |
| * | | | | | Depfile parsing: enhance compatibility with GNU MakeMarc Chevrier2022-01-168-58/+101
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2022-01-191-1/+1
| |/ / / / / |/| | | | |
* | | | | | Merge topic 'cuda_host_env'Brad King2022-01-183-14/+12
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 70f5d9eb49 CUDA: Fix CMAKE_CUDA_COMPILER_ARG1 cache description ad6cd1074b Help: Correct CUDAHOSTCXX and CUDAARCHS as having higher precedence Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6872