summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | Merge branch 'release-3.19'Brad King2020-12-040-0/+0
|\ \
| * \ Merge topic 'compiler-id-extra-text' into release-3.19Brad King2020-12-041-7/+16
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f25ac39dee CMakeDetermineCompilerId: Tolerate stray text around INFO strings 5cb66f17ca CMakeDetermineCompilerId: Add whitespace to clarify logic 1ee99104f7 CMakeDetermineCompilerId: Filter IAR-AVR format INFO strings earlier Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5570
* | \ \ Merge topic 'compiler-id-extra-text'Brad King2020-12-041-7/+16
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | f25ac39dee CMakeDetermineCompilerId: Tolerate stray text around INFO strings 5cb66f17ca CMakeDetermineCompilerId: Add whitespace to clarify logic 1ee99104f7 CMakeDetermineCompilerId: Filter IAR-AVR format INFO strings earlier Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5570
| * | | CMakeDetermineCompilerId: Tolerate stray text around INFO stringsBrad King2020-12-031-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When cross-compiling with Xcode our compiler id test binary may be compiled with multiple architectures. The INFO strings should be identical and therefore de-duplicated. However, this can be broken by stray text that happens to sit immediately before or after an INFO string. Filter out such text so we can match clean INFO strings. Fixes: #21526
| * | | CMakeDetermineCompilerId: Add whitespace to clarify logicBrad King2020-12-031-1/+5
| | | | | | | | | | | | | | | | Also initialize a variable closer to its use.
| * | | CMakeDetermineCompilerId: Filter IAR-AVR format INFO strings earlierBrad King2020-12-031-6/+7
| | | | | | | | | | | | | | | | Remove the bytes between characters from the entire list at once.
* | | | Merge branch 'release-3.19'Brad King2020-12-040-0/+0
|\ \ \ \ | | |/ / | |/| |
| * | | Merge topic 'test-vs-windows-hosts' into release-3.19Brad King2020-12-041-1/+1
| |\ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | dca8800cb5 Tests: Look for Visual Studio only on Windows hosts Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5569
* | | | Merge topic 'test-vs-windows-hosts'Brad King2020-12-041-1/+1
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | dca8800cb5 Tests: Look for Visual Studio only on Windows hosts Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5569
| * | | Tests: Look for Visual Studio only on Windows hostsBrad King2020-12-031-1/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | Update logic added by commit 6051a49c78 (Visual Studio: Add Android support, 2020-06-12, v3.19.0-rc1~619^2) to only look for VS installations using `cmake_host_system_information` on Windows hosts. Otherwise the `VS_*_DIR` keys are not available. Fixes: #21547
* | | CMake Nightly Date StampKitware Robot2020-12-041-1/+1
| | |
* | | Merge topic 'nvidia-cuda-ninja-deps'Brad King2020-12-032-19/+3
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 8981e3e7cc NVIDIA-CUDA: rely on new capabilities for deps generation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5566
| * | | NVIDIA-CUDA: rely on new capabilities for deps generationMarc Chevrier2020-12-022-19/+3
| | | |
* | | | Merge topic 'versionadded'Brad King2020-12-03124-852/+2009
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5000f93a91 Help: Fix grammar in `.. versionadded` directives 8fea95319b Help: Add `.. versionadded` directives to module docs 8634561dca Help: Improve formatting for FindBoost and FindCUDA ea59b0cd34 Help: Fix version note for CMAKE_PROJECT_<PROJECT-NAME>_INCLUDE 05c3060b10 Help: Fix cmake_parse_arguments version note dafcef8b50 Help: Improve styling for versionadded/deprecated directives 6ae216daef Tests: Make RunCMake.CMP0106 expected output robust to line number changes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5560
| * | | | Help: Fix grammar in `.. versionadded` directivesNikita Nemkin2020-12-0212-23/+24
| | | | | | | | | | | | | | | | | | | | Issue: #19715
| * | | | Help: Add `.. versionadded` directives to module docsNikita Nemkin2020-12-02108-366/+1302
| | | | | | | | | | | | | | | | | | | | Issue: #19715
| * | | | Help: Improve formatting for FindBoost and FindCUDANikita Nemkin2020-12-022-471/+682
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Split large literal blocks into definitions lists. * Add section headers. * Add links to standard commands and variables. * Use inline literals liberally. * Enable code highlighting in literal blocks. * Format command signatures according to modern conventions.
| * | | | Help: Fix version note for CMAKE_PROJECT_<PROJECT-NAME>_INCLUDENikita Nemkin2020-12-021-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This variable predates 3.0. Fixes: #21522
| * | | | Help: Fix cmake_parse_arguments version noteNikita Nemkin2020-12-021-2/+4
| | | | | | | | | | | | | | | | | | | | Don't imply that cmake_parse_arguments() requires CMake 3.5+.
| * | | | Help: Improve styling for versionadded/deprecated directivesNikita Nemkin2020-12-021-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sphinx theme CSS removes top margin for dd > p combination, but directives add an intervening div and need a separate rule. Issue: #19715
| * | | | Tests: Make RunCMake.CMP0106 expected output robust to line number changesBrad King2020-12-022-3/+3
| | | | |
* | | | | Merge branch 'release-3.19'Brad King2020-12-030-0/+0
|\ \ \ \ \ | | |_|/ / | |/| | |
| * | | | Merge topic 'llvm-rc-preprocess-as-c' into release-3.19Brad King2020-12-031-5/+5
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f7ff0d34f0 llvm-rc: Force C language for the clang gnu frontend Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5564
* | \ \ \ \ Merge topic 'llvm-rc-preprocess-as-c'Brad King2020-12-031-5/+5
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bdfa5ac7f6 Merge branch 'master' into llvm-rc-preprocess-as-c f7ff0d34f0 llvm-rc: Force C language for the clang gnu frontend Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5564
| * \ \ \ \ \ Merge branch 'master' into llvm-rc-preprocess-as-cBrad King2020-12-02801-8343/+16046
| |\ \ \ \ \ \ | | |_|/ / / / | |/| | / / / | | | |/ / / | | |/| | |
| * | | | | llvm-rc: Force C language for the clang gnu frontendThomas Bernard2020-12-021-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When preprocessing the rc file using the clang gnu front end we need to force the source file type to a c file for the preprocessing to take place. Fixes: #21472
* | | | | | CMake Nightly Date StampKitware Robot2020-12-031-1/+1
| |_|_|/ / |/| | | |
* | | | | Merge topic 'cpackifw-package-wizard-show-page-list'Brad King2020-12-024-0/+42
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8b5a0e0fef CPackIFW: Add CPACK_IFW_PACKAGE_WIZARD_SHOW_PAGE_LIST variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5545
| * | | | | CPackIFW: Add CPACK_IFW_PACKAGE_WIZARD_SHOW_PAGE_LIST variableKonstantin Podsvirov2020-11-274-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add CPACK_IFW_PACKAGE_WIZARD_SHOW_PAGE_LIST variable to control visibility of the widget listing installer pages on the left side of the wizard. This feature available only since QtIFW 4.0.
* | | | | | Merge topic 'ninja-deps-updates'Brad King2020-12-026-47/+78
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f8d8faff8d Ninja Generators: Homogenize configuration with Makefiles Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5557
| * | | | | | Ninja Generators: Homogenize configuration with MakefilesMarc Chevrier2020-12-016-47/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use same configuration variables to configure dependencies * Abstract Ninja deps format from compiler one
* | | | | | | Merge topic 'issue-20955'Brad King2020-12-023-2/+17
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5a6c199069 ctest: Provide hints about inspecting test failures Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5552
| * | | | | | | ctest: Provide hints about inspecting test failuresAsit Dhal2020-12-013-2/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #20955
* | | | | | | | Merge topic 'error_out_on_unknown_argument'Brad King2020-12-026-1/+29
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1b6c5333a0 cmake: Error out on unknown arguments starting with `-`. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5553
| * | | | | | | | cmake: Error out on unknown arguments starting with `-`.Robert Maynard2020-12-016-1/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #21521
* | | | | | | | | Merge branch 'release-3.19'Brad King2020-12-020-0/+0
|\ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ / | |/| | | | | | |
| * | | | | | | | Merge topic 'FindHDF5-hdf5hl_fortran-variable' into release-3.19Brad King2020-12-021-2/+6
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 175beadd4c FindHDF5: support the hdf5hl_fortran-based variable names adf108441e FindHDF5: improve error messages when a location variable isn't known Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5563
* | \ \ \ \ \ \ \ \ Merge topic 'FindHDF5-hdf5hl_fortran-variable'Brad King2020-12-021-2/+6
|\ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 175beadd4c FindHDF5: support the hdf5hl_fortran-based variable names adf108441e FindHDF5: improve error messages when a location variable isn't known Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5563
| * | | | | | | | | FindHDF5: support the hdf5hl_fortran-based variable namesBen Boeckel2020-12-011-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #21537
| * | | | | | | | | FindHDF5: improve error messages when a location variable isn't knownBen Boeckel2020-12-011-2/+2
| | |_|_|_|_|/ / / | |/| | | | | | |
* | | | | | | | | Merge branch 'release-3.19'Brad King2020-12-020-0/+0
|\ \ \ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | |
| * | | | | | | | Merge topic 'ti-c-only-standard' into release-3.19Brad King2020-12-021-3/+3
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8eeddb1f0a Compiler/TI: Fix C standard flags in C-only project Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5558
* | \ \ \ \ \ \ \ \ Merge topic 'ti-c-only-standard'Brad King2020-12-021-3/+3
|\ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8eeddb1f0a Compiler/TI: Fix C standard flags in C-only project Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5558
| * | | | | | | | | Compiler/TI: Fix C standard flags in C-only projectAdam Weisi2020-12-011-3/+3
| | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | Use our compiler architecture variable for C rather than CXX.
* | | | | | | | | Merge branch 'release-3.19'Brad King2020-12-020-0/+0
|\ \ \ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | |
| * | | | | | | | Merge topic 'cray-compiler-detection' into release-3.19Brad King2020-12-023-5/+5
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9ee4a42813 Cray: Fix Cray compiler detection on new platforms Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5561
* | \ \ \ \ \ \ \ \ Merge topic 'cray-compiler-detection'Brad King2020-12-023-5/+5
|\ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9ee4a42813 Cray: Fix Cray compiler detection on new platforms Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5561