summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'cmp0116-automoc'Brad King2020-12-096-8/+42
|\ | | | | | | | | | | | | | | | | 1080935732 AutoGen: Account for CMP0116 in the depfile 287c591079 cmake -E: Fix cmake_transform_depfile escaping of transformed paths Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kyle Edwards <kyle.edwards@kitware.com> Merge-request: !5584
| * AutoGen: Account for CMP0116 in the depfileKyle Edwards2020-12-085-7/+40
| | | | | | | | Fixes: #21467
| * cmake -E: Fix cmake_transform_depfile escaping of transformed pathsBrad King2020-12-081-1/+2
| | | | | | | | | | In commit b2c14bc774 (cmake -E: Add cmake_transform_depfile internal command, 2020-10-02) we forgot to use `WriteFilenameGcc` in one place.
* | CMake Nightly Date StampKitware Robot2020-12-091-1/+1
| |
* | Merge topic 'range-for-avoid-tmp-warning'Brad King2020-12-081-1/+4
|\ \ | | | | | | | | | | | | | | | | | | 99a26babb1 Cleanup: Fix warning about binding to a temporary in range-based for Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5578
| * | Cleanup: Fix warning about binding to a temporary in range-based forCraig Scott2020-12-071-1/+4
| | |
* | | Merge branch 'release-3.19'Brad King2020-12-080-0/+0
|\ \ \
| * \ \ Merge topic 'update_cmp112' into release-3.19Brad King2020-12-082-0/+4
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cf0c71dae3 Document CMP0112 covers $<TARGET_FILE_NAME,tgt> Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5582
* | \ \ \ Merge topic 'update_cmp112'Brad King2020-12-082-0/+4
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | cf0c71dae3 Document CMP0112 covers $<TARGET_FILE_NAME,tgt> Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5582
| * | | | Document CMP0112 covers $<TARGET_FILE_NAME,tgt>Robert Maynard2020-12-072-0/+4
| | | | | | | | | | | | | | | | | | | | Fixes #21559
* | | | | Merge branch 'release-3.18'Brad King2020-12-080-0/+0
|\ \ \ \ \
| * \ \ \ \ Merge branch 'FindPython-python2-soabi-suffix-fix' into release-3.18Brad King2020-12-071-2/+10
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | Merge-request: !5574
* | \ \ \ \ \ Merge branch 'release-3.19'Brad King2020-12-080-0/+0
|\ \ \ \ \ \ \ | | |_|_|/ / / | |/| | | | |
| * | | | | | Merge topic 'FindPython-python2-soabi-suffix-fix' into release-3.19Brad King2020-12-081-2/+10
| |\ \ \ \ \ \ | | | |/ / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | afb0ffcac7 FindPython2: avoid doubling the extension in CPython2 SOABI Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5574
* | | | | | | Merge topic 'FindPython-python2-soabi-suffix-fix'Brad King2020-12-081-2/+10
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | afb0ffcac7 FindPython2: avoid doubling the extension in CPython2 SOABI Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5574
| * | | | | | FindPython2: avoid doubling the extension in CPython2 SOABIBen Boeckel2020-12-041-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 951640f1f9 (FindPython: manage SOABI for all Python versions, 2020-08-11) extended support for Python2's SOABI variable in order to support the PyPy interpreter as well. This caused a regression in the way that the SOABI variable was built up for the CPython interpreter. This caused the variable to be set to `.so` which ended up causing a doubling of the resulting `SOABI` variable in the end. Co-Author: Marc Chevrier <marc.chevrier@gmail.com> Fixes: #21548
* | | | | | | Merge branch 'release-3.19'Brad King2020-12-080-0/+0
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | |
| * | | | | | Merge topic 'correct_ispc_path_computation' into release-3.19Brad King2020-12-085-15/+32
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9af93fef11 ISPC: Handle OBJECT sources in different directories 72ae15ebcb ISPC: Ninja properly compute ISPC_HEADER_DIRECTORY location Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5581
* | \ \ \ \ \ \ Merge topic 'correct_ispc_path_computation'Brad King2020-12-085-15/+32
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9af93fef11 ISPC: Handle OBJECT sources in different directories 72ae15ebcb ISPC: Ninja properly compute ISPC_HEADER_DIRECTORY location Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5581
| * | | | | | | ISPC: Handle OBJECT sources in different directoriesRobert Maynard2020-12-074-9/+23
| | | | | | | |
| * | | | | | | ISPC: Ninja properly compute ISPC_HEADER_DIRECTORY locationRobert Maynard2020-12-071-6/+9
| | |_|_|/ / / | |/| | | | |
* | | | | | | Merge branch 'release-3.19'Brad King2020-12-080-0/+0
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | |
| * | | | | | Merge topic 'remove-partial-intel-compiler-support' into release-3.19Brad King2020-12-084-18/+0
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 41b69348a5 Revert "Intel: Add Intel DPC++ compiler identification" f0babb53b3 Revert "Intel: Add Intel Clang compiler identification" Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Axel Huebl <axel.huebl@plasma.ninja> Merge-request: !5583
* | \ \ \ \ \ \ Merge topic 'remove-partial-intel-compiler-support'Brad King2020-12-084-18/+0
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 41b69348a5 Revert "Intel: Add Intel DPC++ compiler identification" f0babb53b3 Revert "Intel: Add Intel Clang compiler identification" Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Axel Huebl <axel.huebl@plasma.ninja> Merge-request: !5583
| * | | | | | | Revert "Intel: Add Intel DPC++ compiler identification"Brad King2020-12-073-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert commit 887f3a88a6 (Intel: Add Intel DPC++ compiler identification, 2020-09-21, v3.19.0-rc1~124^2). The compiler has already been released, and is more usable with CMake by pretending to be upstream Clang than by identifying it as a compiler for which we have not implemented support. Fixes: #21551
| * | | | | | | Revert "Intel: Add Intel Clang compiler identification"Brad King2020-12-073-9/+0
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert commit 5c3a93ab88 (Intel: Add Intel Clang compiler identification, 2020-09-29, v3.19.0-rc1~68^2). The compiler has already been released, and is more usable with CMake by pretending to be upstream Clang than by identifying it as a compiler for which we have not implemented support. Issue: #21551
* | | | | | | CMake Nightly Date StampKitware Robot2020-12-081-1/+1
| |_|_|_|_|/ |/| | | | |
* | | | | | Merge topic 'get_dir_prop_arg_parsing'Brad King2020-12-0711-18/+46
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ab1ee5aab8 get_directory_property: Check for empty or missing property name Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5577
| * | | | | | get_directory_property: Check for empty or missing property nameCraig Scott2020-12-0511-18/+46
| | |_|_|_|/ | |/| | | | | | | | | | Fixes: #21555
* | | | | | Merge branch 'release-3.19'Brad King2020-12-070-0/+0
|\ \ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | Merge topic 'asm_arch' into release-3.19Brad King2020-12-071-1/+1
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fcabf4a47e macOS: Add architecture flags only for native ASM dialect Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5572
* | \ \ \ \ \ Merge topic 'asm_arch'Brad King2020-12-071-1/+1
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fcabf4a47e macOS: Add architecture flags only for native ASM dialect Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5572
| * | | | | | macOS: Add architecture flags only for native ASM dialectRaul Tambre2020-12-041-1/+1
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ASM dialects like NASM have languages names such as ASM_NASM. However such ASM dialects don't support the architecture flags, so match only the full name. Fixes #21553.
* | | | | | CMake Nightly Date StampKitware Robot2020-12-071-1/+1
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2020-12-061-1/+1
| |/ / / / |/| | | |
* | | | | Merge topic 'remove-WCDH-module'Craig Scott2020-12-0521-3/+138
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | da7ad7997e WriteCompilerDetectionHeader: Add policy to remove module 541f1410e0 Help: Move Documentation module to list of deprecated modules Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5573
| * | | | | WriteCompilerDetectionHeader: Add policy to remove moduleBrad King2020-12-0521-2/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See justification in the policy documentation. Closes: #17842
| * | | | | Help: Move Documentation module to list of deprecated modulesBrad King2020-12-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The module has been deprecated since commit 306a1ba960 (Modules/Documentation: remove, 2020-04-16, v3.18.0-rc1~290^2).
* | | | | | CMake Nightly Date StampKitware Robot2020-12-051-1/+1
|/ / / / /
* | | | | Merge topic 'test-CMP0118'Brad King2020-12-0476-3259/+3007
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 43506037d2 Tests: Avoid unnecessary use of toolchain in RunCMake.CMP0118 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5571
| * | | | | Tests: Avoid unnecessary use of toolchain in RunCMake.CMP0118Brad King2020-12-0376-3259/+3007
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The semantics of the `GENERATED` property do not depend on the kind of target to which the sources are attached. Convert the tests to use custom targets instead of executables so that we do not have to enable the CXX language and initialize support of its toolchain for every case. This significantly reduces the time the test takes to run.
* | | | | | Merge topic 'makefiles-compiler-deps-optims'Brad King2020-12-041-1/+12
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f395caf498 Makefiles dependencies: enhance robustness of deps parser Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5568
| * | | | | | Makefiles dependencies: enhance robustness of deps parserMarc Chevrier2020-12-031-1/+12
| |/ / / / /
* | | | | | Merge topic 'GoogleTest-disabled-underscore'Brad King2020-12-044-47/+58
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dff56b0b97 GoogleTest: Match the full 'DISABLED_' prefix to disable tests Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Matthew Woehlke <matthew.woehlke@kitware.com> Merge-request: !5567
| * | | | | | GoogleTest: Match the full 'DISABLED_' prefix to disable testsBrad King2020-12-034-47/+58
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test names that start in `DISABLED` not followed by an underscore are not disabled. Fixes: #21543
* | | | | | Merge topic 'test-git-default-branch'Brad King2020-12-041-9/+23
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 26ec2e2b0c Tests: Update CTest.UpdateGIT test for custom defaultBranch Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5565
| * | | | | | Tests: Update CTest.UpdateGIT test for custom defaultBranchBrad King2020-12-021-9/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Git installation now prompts the user to choose a system-wide name for the default branch in new repositories.
* | | | | | | Merge topic 'explicit-LANGUAGE-flag'Brad King2020-12-0440-9/+203
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 48aac247e9 Compile with explicit language flag when source LANGUAGE property is set 2e67a75acd Embarcadero: Simplify addition of -P flag for C++ Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5522
| * | | | | | | Compile with explicit language flag when source LANGUAGE property is setBrad King2020-12-0239-5/+199
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change was originally made by commit 74b1c9fc8e (Explicitly specify language flag when source LANGUAGE property is set, 2020-06-01, v3.19.0-rc1~722^2), but it was reverted by commit 30aa715fac (Revert "specify language flag when source LANGUAGE property is set", 2020-11-19) to restore compatibility with pre-3.19 behavior. Implement the change again, but add policy CMP0119 to make this change while preserving compatibility with existing projects. Note that the `Compiler/{Clang,Intel,MSVC}-CXX` modules do not need to specify `-TP` for their MSVC-like variants because we already use the flag in `CMAKE_CXX_COMPILE_OBJECT`. Similarly for `Compiler/XL-CXX` and `Platform/Windows-Embarcadero`. Note also that this does not seem possible to implement for XL C. Even with `-qsourcetype=c`, `xlc` complains about an unknown suffix: `1501-218 (W) file /.../AltExtC.zzz contains an incorrect file suffix`. It returns non-zero even with `-qsuppress=1501-218`. Co-Author: Robert Maynard <robert.maynard@kitware.com> Fixes: #14516, #20716
| * | | | | | | Embarcadero: Simplify addition of -P flag for C++Brad King2020-12-021-4/+4
| | | | | | | |