summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* cmLocalGenerator: Simplify Add{Custom,Utility}CommandNAKAMURA Takumi2021-11-188-232/+154
|
* cmGlobalVisualStudio8Generator: Fix the misaligned argument, stdPipesUTF8NAKAMURA Takumi2021-11-181-5/+11
| | | | | | | The call to AddCustomCommandToTarget for "Checking File Globs" had misaligned arguments and previously passed `stdPipesUTF8` as `escapeOldStyle`. For now, set `escapeOldStyle` as `true`. Also `stdPipesUTF8` is `true` here.
* cmMakefile: Simplify detail:::Add{Custom,Utility}CommandNAKAMURA Takumi2021-11-184-188/+183
| | | | | | | | | Note 1: `detail::AddCustomCommandToTarget()` resets cc, since cc is not moved away. Note 2: In `detail::AddUtilityCommand()`, a few vars are preserved before using. Their refs will be alive in most cases, but cc might be destroyed in the future.
* cmMakefile: Introduce GeneratorAction as the class.NAKAMURA Takumi2021-11-182-5/+32
|
* cmCustomCommand: Move constructor arguments to individual settersNAKAMURA Takumi2021-11-188-59/+95
| | | | | | | | Make `cmCustomCommand` have just only default constructor. Use each setter instead. This follows the builder pattern. Introduce `cc::SetOutputs(std::string output)`. This will be used later, as substitution for `cc::SetOutputs({output})`.
* cmMakefile: Move CMP0116 lookup into Add{Custom,Utility}CommandNAKAMURA Takumi2021-11-188-75/+58
| | | | Avoid repeating it at every call site.
* Merge branch 'release-3.22'Brad King2021-11-180-0/+0
|\
| * CMake 3.22.0v3.22.0Brad King2021-11-181-1/+1
| |
* | Merge branch 'release-3.22'Brad King2021-11-180-0/+0
|\ \ | |/
| * Merge topic 'fix-mingw32-gcc11-ice' into release-3.22Brad King2021-11-181-5/+11
| |\ | | | | | | | | | | | | | | | | | | | | | 26c9fbab46 MINGW-w64: Fix string(TIMESTAMP) build on 32bits. f0eae9292b cmTimestamp: Declare component buffer before MinGW-specific code Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6737
* | \ Merge topic 'fix-mingw32-gcc11-ice'Brad King2021-11-181-5/+11
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | 26c9fbab46 MINGW-w64: Fix string(TIMESTAMP) build on 32bits. f0eae9292b cmTimestamp: Declare component buffer before MinGW-specific code Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6737
| * | MINGW-w64: Fix string(TIMESTAMP) build on 32bits.Antons Jeļkins2021-11-181-3/+9
| | | | | | | | | | | | | | | | | | | | | Rephrase the string(TIMESTAMP) implementation not to cause gcc-11 ICE on MSYS2/mingw32. Fixes: #22916
| * | cmTimestamp: Declare component buffer before MinGW-specific codeAntons Jeļkins2021-11-181-2/+2
| |/
* | Merge topic 'ci-nmake-jom'Brad King2021-11-185-6/+101
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3b9975d9b5 ci: Add JOM nightly CI job ec68e3c5c6 ci: Add NMake nightly CI job bd00882f49 gitlab-ci: Factor out windows_vcvarsall_vs2022_x64 config block 99c335c8e8 gitlab-ci: Clarify MSVC v71 job script config block name Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !6742
| * | ci: Add JOM nightly CI jobBrad King2021-11-174-0/+58
| | |
| * | ci: Add NMake nightly CI jobBrad King2021-11-173-0/+32
| | |
| * | gitlab-ci: Factor out windows_vcvarsall_vs2022_x64 config blockBrad King2021-11-171-4/+9
| | | | | | | | | | | | Isolate the vcvarsall variables in a dedicated block.
| * | gitlab-ci: Clarify MSVC v71 job script config block nameBrad King2021-11-172-2/+2
| | | | | | | | | | | | | | | Rename `cmake_test_windows_{nmake => msvc}` since it fetches MSVC, not NMake.
* | | Merge topic 'FindHDF5-Fortran-without-HL'Brad King2021-11-181-2/+0
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 86c697f49a FindHDF5: Fix Fortran compiler interrogation without HL library Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !6739
| * | | FindHDF5: Fix Fortran compiler interrogation without HL libraryHåkon Strandenes2021-11-171-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the HDF5 HL library is not available, FindHDF5 with Fortran does not work. The problem is because `cmake_hdf5_test.f90` tries to "use h5lt" and "use h5ds", which comes from the HL library. Then the basic compiler check fails completely. The two "use" lines were added by commit 00405af0f1 (HDF5: Refactor the use of compiler wrappers, 2016-04-04, v3.6.0-rc1~85^2) along with the rest of the check. Remove them. Fixes: #22890
* | | | Merge branch 'release-3.22'Brad King2021-11-180-0/+0
|\ \ \ \ | | |_|/ | |/| |
| * | | Merge branch 'release-3.21' into release-3.22Brad King2021-11-180-0/+0
| |\ \ \
* | \ \ \ Merge branch 'release-3.21'Brad King2021-11-180-0/+0
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Merge branch 'release-3.20' into release-3.21Brad King2021-11-180-0/+0
| |\ \ \ \
| * \ \ \ \ Merge branch 'IntelLLVM-Fortran-copy-mod' into release-3.21Brad King2021-11-171-1/+1
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !6740
* | \ \ \ \ \ Merge branch 'release-3.20'Brad King2021-11-180-0/+0
|\ \ \ \ \ \ \ | | |_|/ / / / | |/| | | | |
| * | | | | | Merge branch 'IntelLLVM-Fortran-copy-mod' into release-3.20Brad King2021-11-171-1/+1
| |\ \ \ \ \ \ | | | |/ / / / | | |/| | | | | | | | | | | Merge-request: !6740
* | | | | | | Merge branch 'release-3.22'Brad King2021-11-180-0/+0
|\ \ \ \ \ \ \ | | |_|_|/ / / | |/| | | | |
| * | | | | | Merge topic 'IntelLLVM-Fortran-copy-mod' into release-3.22Brad King2021-11-181-1/+1
| |\ \ \ \ \ \ | | | |/ / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 209b896f2c IntelLLVM: Enable Fortran module rebuild avoidance in Makefile generators Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6740
* | | | | | | Merge topic 'IntelLLVM-Fortran-copy-mod'Brad King2021-11-181-1/+1
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 209b896f2c IntelLLVM: Enable Fortran module rebuild avoidance in Makefile generators Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6740
| * | | | | | IntelLLVM: Enable Fortran module rebuild avoidance in Makefile generatorsBrad King2021-11-171-1/+1
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Makefile generators use an internal `cmake -E cmake_copy_f90_mod` tool to avoid rebuilding module consumers when the `.mod` content changes only in a trivial way (e.g. the time it was built). This is done with logic specific to each vendor's module file format. Enable the "Intel" format support when using the IntelLLVM compiler (ifx) too. Issue: #22922
* | | | | | Merge branch 'release-3.22'Brad King2021-11-180-0/+0
|\ \ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | Merge topic 'backport-libuv-mingw-w64' into release-3.22Brad King2021-11-181-0/+7
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | acc14edd70 libuv: Backport MinGW-w64 compilation fix to CMake 3.22 branch Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6735
* | \ \ \ \ \ Merge topic 'backport-libuv-mingw-w64'Brad King2021-11-180-0/+0
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | acc14edd70 libuv: Backport MinGW-w64 compilation fix to CMake 3.22 branch Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6735
| * | | | | | libuv: Backport MinGW-w64 compilation fix to CMake 3.22 branchBrad King2021-11-161-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backport libuv commit `3e90bc76` (build: fix build failures with MinGW new headers, 2021-11-03). Fixes: #22916
* | | | | | | Merge topic 'update-libuv'Brad King2021-11-1861-1275/+2010
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 51d26933fe libuv: Fix clang-analyzer deadcode.DeadStores warning on Linux f29bb586f0 libuv: Convert C++-style comment to C-style 8e7bb62bd5 libuv: Update CMake-internal buildsystem 0decc36fb1 libuv: Update uv__fs_copy_file_range signature in cmake-bootstrap.c 74a05716a4 Merge branch 'upstream-libuv' into update-libuv 27e34e6190 libuv 2021-11-09 (0f696da5) 65fb29fdfb libuv: Build unix tcp support during CMake bootstrap Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6736
| * | | | | | | libuv: Fix clang-analyzer deadcode.DeadStores warning on LinuxBrad King2021-11-171-1/+2
| | | | | | | |
| * | | | | | | libuv: Convert C++-style comment to C-styleBrad King2021-11-171-1/+1
| | | | | | | |
| * | | | | | | libuv: Update CMake-internal buildsystemBrad King2021-11-171-0/+1
| | | | | | | |
| * | | | | | | libuv: Update uv__fs_copy_file_range signature in cmake-bootstrap.cBrad King2021-11-171-2/+2
| | | | | | | |
| * | | | | | | Merge branch 'upstream-libuv' into update-libuvBrad King2021-11-1758-1256/+2005
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream-libuv: libuv 2021-11-09 (0f696da5)
| | * | | | | | | libuv 2021-11-09 (0f696da5)libuv upstream2021-11-1759-1256/+2012
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Code extracted from: https://github.com/libuv/libuv.git at commit 0f696da5f0328dde1f9cc0372692ce22f0d17100 (v1.x).
| * | | | | | | | libuv: Build unix tcp support during CMake bootstrapBrad King2021-11-172-17/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using the real `tcp.c` simplifies `cmake-bootstrap.c`, and its implementation doesn't seem to require any of the platform-specific definitions. Also, later it will be needed for `uv_socketpair`.
* | | | | | | | | CMake Nightly Date StampKitware Robot2021-11-181-1/+1
| |_|_|_|_|_|_|/ |/| | | | | | |
* | | | | | | | Merge topic 'iwyu-xcode'Brad King2021-11-179-13/+34
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 67c75064d1 Source: Fix IWYU warnings in Xcode generators Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6729
| * | | | | | | | Source: Fix IWYU warnings in Xcode generatorsNAKAMURA Takumi2021-11-169-13/+34
| | | | | | | | |
* | | | | | | | | Merge topic 'test-target_link_directories-chars'Brad King2021-11-171-5/+5
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7aa0c129ba Tests: Fix CMakeCommands.target_link_directories for regex chars in path Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6733
| * | | | | | | | | Tests: Fix CMakeCommands.target_link_directories for regex chars in pathWenGe Wang2021-11-161-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #22801
* | | | | | | | | | Merge branch 'release-3.22'Brad King2021-11-170-0/+0
|\ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|/ / / / | |/| | | | | | | |
| * | | | | | | | | Merge topic 'gtest_discover_tests-PRE_TEST-dep' into release-3.22Brad King2021-11-176-4/+82
| |\ \ \ \ \ \ \ \ \ | | |_|_|_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1bf6d5979d gtest_discover_tests: Re-run PRE_TEST discovery on any arg change 715af43124 Tests: Fix and update wrongly named GoogleTest stdout file Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6728