summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'qt6-tests'Craig Scott2021-10-0578-166/+272
|\ | | | | | | | | | | | | a742088472 Tests: Add support for testing Qt6 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6587
| * Tests: Add support for testing Qt6Craig Scott2021-10-0478-166/+272
| | | | | | | | | | | | | | | | | | | | | | | | The minimum CMake version for Qt6 is 3.16, so all the calls to cmake_minimum_required() are updated here to enforce that minimum. This will avoid any CMake version-related warnings from Qt. Avoid hard-coding Qt5 where the tests could now be using Qt5 or Qt6. Fixes: #22188
* | CMake Nightly Date StampKitware Robot2021-10-051-1/+1
| |
* | Merge topic 'default_extensions'Brad King2021-10-0467-194/+819
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4a0485be7f cmStandardLevelResolver: Avoid unnecessary flags, fix unset level logic 29e2b85171 Tests: Simplify RunCMake.CompileFeatures introspection fc3a1cbdd8 CompilerID: Compiler extensions default detection 2adfd95d79 CompilerID: Rename language_dialect to language_standard 00055d7779 Help: Document CMAKE_<LANG>_STANDARD_DEFAULT a65bee4cfc Help: Document HIP standard/extensions properties and variables a40ff1bb5a Help: Make language standard/extensions variable pages less wordy 3feff8379b Help: Generic language standard and extension variables documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6177
| * | cmStandardLevelResolver: Avoid unnecessary flags, fix unset level logicRaul Tambre2021-09-2920-24/+375
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The changes are part of CMP0128. When the standard level is unset: * Flags are added if extension mode doesn't match the compiler's default. Previously logic only worked if LANG_EXTENSIONS was ON. Fixes #22224. * The full flag is used. Previously CMAKE_LANG_EXTENSION_COMPILE_OPTION was used. This was only supported for IAR. Otherwise: * Avoid adding flags if not necessary per the detected compiler defaults. * Fixed check for when the requested standard is older. It now matches the nearby comments. I reworded the fallback comment as its logic was a bit difficult to wrap my head around.
| * | Tests: Simplify RunCMake.CompileFeatures introspectionRaul Tambre2021-09-284-60/+24
| | |
| * | CompilerID: Compiler extensions default detectionRaul Tambre2021-09-2816-6/+93
| | |
| * | CompilerID: Rename language_dialect to language_standardRaul Tambre2021-09-287-29/+29
| | | | | | | | | | | | | | | In Linux C++ terms dialect usually refers to having GNU extensions or not. Change the name to better reflect that this is about the standard version.
| * | Help: Document CMAKE_<LANG>_STANDARD_DEFAULTRaul Tambre2021-09-282-0/+8
| | | | | | | | | | | | Seems to be stable and will referred to by policy for standards flags rework.
| * | Help: Document HIP standard/extensions properties and variablesRaul Tambre2021-09-288-0/+122
| | |
| * | Help: Make language standard/extensions variable pages less wordyRaul Tambre2021-09-2815-75/+30
| | | | | | | | | | | | | | | | | | They all had two sentences describing the same thing. Furthermore, with the shorter wording the explicit advice to see the property being initialized for further information seems unnecessary.
| * | Help: Generic language standard and extension variables documentationRaul Tambre2021-09-288-0/+138
| | | | | | | | | | | | | | | | | | Add generic documentation to improve the discoverability of language-specific ones and to make it possible to refer to them generically from other language generic documentation.
* | | Merge topic 'e2k_support'Brad King2021-10-042-6/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d6746fd05c cmMakefile: Fix compilation on EDG-based compilers such as LCC 77c237d219 zstd: Fix incorrect pragma error on LCC compiler Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Igor S. Gerasimov <i.s.ger@yandex.ru> Merge-request: !6579
| * | | cmMakefile: Fix compilation on EDG-based compilers such as LCCmakise-homura2021-10-011-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Compilers based on EDG frontend sometimes throw an internal error while using `this->` at some circumstances. While it is up to be fixed in future versions of front end, this bug still occurs in some modern compilers, such as LCC for Elbrus CPUs, and probably others (maybe ICC). It caused CMake to be unbuildable by these compilers. This patch fixes it.
| * | | zstd: Fix incorrect pragma error on LCC compilermakise-homura2021-09-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | LCC (Elbrus C Compiler) doesn't understand some of GCC pragmas, despite of declaring itself GCC-aware. The pragma of subject is the one that forbids vectorizing. Actually, LCC don't vectorize anything unless explicitly said to, so this pragma may be safely omitted and thus not cause an error. This patch does this.
* | | | Merge branch 'release-3.21'Brad King2021-10-040-0/+0
|\ \ \ \
| * \ \ \ Merge topic 'FortranCInterface-timestamp-check' into release-3.21Brad King2021-10-041-2/+1
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2a00e5072d FortranCInterface: Fix regression in timestamp check Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Craig Scott <craig.scott@crascit.com> Merge-request: !6581
* | \ \ \ \ Merge topic 'FortranCInterface-timestamp-check'Brad King2021-10-041-2/+1
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2a00e5072d FortranCInterface: Fix regression in timestamp check Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Craig Scott <craig.scott@crascit.com> Merge-request: !6581
| * | | | | FortranCInterface: Fix regression in timestamp checkSeth R Johnson2021-10-011-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit d7c8030541 (FortranCInterface: Fix misuse of IS_NEWER_THAN in timestamp check, 2021-02-21, v3.21.0-rc1~631^2~3), FortranCInterface checks for `Output.cmake.in` in the build tree instead of the source tree as before. This caused it to always re-run the detection. Fixes: #22709
* | | | | | Merge topic 'cuda-6.5'Brad King2021-10-041-2/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a1f0ddcbb7 CUDA: Fix detection of implicit link information with CUDA 6.5 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6574
| * | | | | | CUDA: Fix detection of implicit link information with CUDA 6.5samuel100u2021-09-301-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #22701
* | | | | | | Merge topic 'tutorial-regex'Brad King2021-10-049-9/+9
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0f17b37b96 Tutorial: Fix regexps in sample CMakeLists.txt files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6572
| * | | | | | | Tutorial: Fix regexps in sample CMakeLists.txt filesChristophe Bernard2021-09-309-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace original regexp `[-nan|nan|0]` with `(-nan|nan|0)` which is what the author most likely intended to write in the first place.
* | | | | | | | Merge topic 'tutorial-step1'Brad King2021-10-041-23/+47
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 14600a42c8 Tutorial: Update Step 1 instructions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6576
| * | | | | | | | Tutorial: Update Step 1 instructionsBetsy McPhail2021-09-301-23/+47
| | |_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To demonstrate how simple a CMake project can be, move the `Build and Run` section earlier in the step.
* | | | | | | | Merge topic 'tutorial-step5'Brad King2021-10-041-1/+4
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 01c332c9c7 Tutorial: Clarify instructions in Step 5 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6577
| * | | | | | | | Tutorial: Clarify instructions in Step 5Betsy McPhail2021-09-301-1/+4
| |/ / / / / / /
* | | | | | | | Merge topic 'ci-cuda9.2'Brad King2021-10-042-1/+7
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5329366527 ci: update cuda9.2 base image after DST Root CA X3 expiry Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !6583
| * | | | | | | | ci: update cuda9.2 base image after DST Root CA X3 expiryBrad King2021-10-012-1/+7
| | |_|_|_|_|_|/ | |/| | | | | |
* | | | | | | | CMake Nightly Date StampKitware Robot2021-10-041-1/+1
| | | | | | | |
* | | | | | | | Merge topic 'compile-feature-version-tags'Craig Scott2021-10-033-1/+21
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b75f778531 Help: Detailed version tags for compiler known features Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6562
| * | | | | | | | Help: Detailed version tags for compiler known featuresFeRD (Frank Dana)2021-10-013-1/+21
| | |_|_|_|_|_|/ | |/| | | | | |
* | | | | | | | CMake Nightly Date StampKitware Robot2021-10-031-1/+1
| | | | | | | |
* | | | | | | | CMake Nightly Date StampKitware Robot2021-10-021-1/+1
| |/ / / / / / |/| | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2021-10-011-1/+1
| |/ / / / / |/| | | | |
* | | | | | Merge topic 'FindMatlab-version-selection'Brad King2021-09-301-0/+23
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7fdd5128b1 FindMatlab: Fix version selection if a version is given Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6300
| * | | | | | FindMatlab: Fix version selection if a version is givenAlexander Neumann2021-09-291-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #22377
* | | | | | | Merge topic 'cmake_find_library_suffixes_ext_windows_fixes'Brad King2021-09-301-2/+5
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9aba0ce29d Help: Fix CMAKE_FIND_LIBRARY_SUFFIXES examples for Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6569
| * | | | | | | Help: Fix CMAKE_FIND_LIBRARY_SUFFIXES examples for WindowsRalf Habacker2021-09-291-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #22697
* | | | | | | | Merge topic 'libuv-openbsd'Brad King2021-09-301-2/+5
|\ \ \ \ \ \ \ \ | |_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 096450f808 libuv: Include BSD sys/cpuset.h only on platforms where we use it Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6570
| * | | | | | | libuv: Include BSD sys/cpuset.h only on platforms where we use itBrad King2021-09-291-2/+5
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 43d6e5a71f (libuv: misc: add function to get CPU affinity mask size, 2017-09-06, v3.12.0-rc1~412^2~3) we include `<sys/cpuset.h>` on several BSD platforms but only use it on FreeBSD.
* | | | | | | CMake Nightly Date StampKitware Robot2021-09-301-1/+1
| |_|_|/ / / |/| | | | |
* | | | | | Merge topic 'update-third-party'Brad King2021-09-291-4/+38
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | ae53a3071b update-third-party: update from upstream Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6571
| * | | | | update-third-party: update from upstreamBrad King2021-09-291-4/+38
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | Update to `update-common.sh` from commit `7134d5ebef` in https://gitlab.kitware.com/utils/git-import-third-party
* | | | | Merge topic 'clang-warnings'Brad King2021-09-2940-44/+97
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 37859e3244 Source: Fix clang -Wimplicit-fallthrough warnings 907d098838 Source: Fix clang -Wextra-semi warnings Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !6561
| * | | | | Source: Fix clang -Wimplicit-fallthrough warningsSean McBride2021-09-2827-22/+67
| | | | | |
| * | | | | Source: Fix clang -Wextra-semi warningsSean McBride2021-09-2814-22/+30
| | | | | |
* | | | | | Merge topic 'xcode-dead-code'Brad King2021-09-291-3/+0
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b8a2ce0484 cmGlobalXCodeGenerator: Remove dead buildsystem version check Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Raul Tambre <raul@tambre.ee> Merge-request: !6568
| * | | | | | cmGlobalXCodeGenerator: Remove dead buildsystem version checkBrad King2021-09-281-3/+0
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 8d5f4c4db9 (Xcode: Switch to the "new build system" for Xcode 12 and above, 2020-09-14, v3.19.0-rc1~143^2~7) we accidentally added code in an `else` block that under the opposite condition by which the block can be entered. Remove it. Fixes: #22681
* | | | | | Merge topic 'xcode-generation-support-inl-files'Brad King2021-09-291-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 16ea0e57f7 Xcode: Treat .inl files as C++ header files Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6563