summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Tutorial: Move Step4-Ex1 to Step3-Ex2Paul Choisel2023-04-287-200/+225
| | | | | During the training, we talk about INTERFACE libraries just before Step3 so it makes more sense to do the exercise related to them in Step3
* CMake Nightly Date StampKitware Robot2023-04-111-1/+1
|
* Merge topic 'automoc-macro-names'Craig Scott2023-04-1024-201/+550
|\ | | | | | | | | | | | | | | | | | | | | c5c3aff1f5 Autogen: Add INTERFACE_AUTOMOC_MACRO_NAMES target property 69cf9700e6 Autogen: Defer setup until Generate step 7cecb6353e cmGeneratorTarget: Factor out EvaluatedTargetProperty infrastructure 2daba01ddf cmGeneratorTarget: Avoid incidental include-what-you-use warning 850b4d990c IWYU: Add mapping for 'std::remove_reference<Defer &>::type' Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8391
| * Autogen: Add INTERFACE_AUTOMOC_MACRO_NAMES target propertyOrkun Tokdemir2023-04-0915-2/+274
| | | | | | | | | | | | | | | | | | | | Add this target property to specify macro names that propagate to dependents as `AUTOMOC_MACRO_NAMES`. The dependents will automatically generate MOC files for source files that contain the inherited macro names. Co-Authored-By: Craig Scott <craig.scott@crascit.com> Fixes: #19679
| * Autogen: Defer setup until Generate stepOrkun Tokdemir2023-04-052-8/+20
| | | | | | | | It is better to set variables up once all target dependencies are known.
| * cmGeneratorTarget: Factor out EvaluatedTargetProperty infrastructureOrkun Tokdemir2023-04-056-189/+253
| | | | | | | | | | Make it available outside the `cmGeneratorTarget` implementation. In particular, we will later use it in `cmQtAutoGenInitializer`.
| * cmGeneratorTarget: Avoid incidental include-what-you-use warningBrad King2023-04-051-2/+2
| | | | | | | | Avoid `warning: Extra tokens on pragma line` from IWYU.
| * IWYU: Add mapping for 'std::remove_reference<Defer &>::type'Brad King2023-04-051-0/+1
| | | | | | | | | | | | | | IWYU sometimes thinks that `cmCMakeLanguageCommand.cxx` mentions this type and suggests including `<type_traits>` for it. The type is only used internally by standard library functions. Work around the problem by mapping the offending name to a file that we always include.
* | Merge topic 'ninja-nvhpc-fortran-Werror'Craig Scott2023-04-102-2/+24
|\ \ | | | | | | | | | | | | | | | | | | | | | 6b58cdd4cf Ninja: Exclude NVHPC -Werror flags during Fortran preprocessing Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8393
| * | Ninja: Exclude NVHPC -Werror flags during Fortran preprocessingBrad King2023-04-042-2/+24
| | | | | | | | | | | | | | | | | | | | | | | | The Ninja generator preprocesses Fortran separately in order to scan for module dependencies. NVHPC's `nvfortran` does not support its `-Werror` flag while preprocessing with `-E`, so filter it out. Fixes: #24665
* | | CMake Nightly Date StampKitware Robot2023-04-101-1/+1
| | |
* | | Merge topic 'python-file-encoding'Craig Scott2023-04-093-9/+10
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b855674f5d Tests: Always load presets schema as UTF-8 0de00b8b69 Sphinx: Modernize UTF-8 encoding handling when updating CMake.qhp f0d6010cb5 Sphinx: Specify encoding when opening files for title extraction Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8402
| * | | Tests: Always load presets schema as UTF-8Craig Scott2023-04-071-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We know the encoding of the schema file, so we should specify it when we open it for reading. Previously, by not specifying it, the test was open to using an encoding based on the active locale when running the test. We may have been enforcing a "C" locale at a higher level, but we don't need to rely on that here, we can force correct behavior without that assumption. Issue: #24679
| * | | Sphinx: Modernize UTF-8 encoding handling when updating CMake.qhpCraig Scott2023-04-071-4/+4
| | | |
| * | | Sphinx: Specify encoding when opening files for title extractionCraig Scott2023-04-071-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the encoding is not specified, open() may choose an encoding based on the locale in use. That encoding may have no relationship to the encoding of the file being opened. Use the locale from the document settings instead, which should better match the file's encoding. Fixes: #24679
* | | | Merge topic 'list-command-uses-cmList'Marc Chevrier2023-04-093-842/+316
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e8c581606d list(): rely on cmList class Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8401
| * | | | list(): rely on cmList classMarc Chevrier2023-04-083-842/+316
| |/ / / | | | | | | | | | | | | Fixes: #24549
* | | | CMake Nightly Date StampKitware Robot2023-04-091-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2023-04-081-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2023-04-071-1/+1
|/ / /
* | | Merge topic 'cmList-class'Brad King2023-04-068-29/+3211
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 72d116ee68 GenEx: list oriented genexes use cmList class 9f60f19ee9 cmList: CMake list implementation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8375
| * | | GenEx: list oriented genexes use cmList classMarc Chevrier2023-04-051-28/+17
| | | | | | | | | | | | | | | | Fixes: #24654
| * | | cmList: CMake list implementationMarc Chevrier2023-04-057-1/+3194
| | | | | | | | | | | | | | | | Fixes: #24548
* | | | Merge topic 'vs-sdk-selection'Brad King2023-04-0635-41/+561
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8ecb645934 VS: Select Windows SDK matching WindowsSDKVersion env var f90c8ab54e VS: Select latest available Windows SDK version by default b512c53d43 VS: Add support for setting WindowsTargetPlatformVersion to 10.0 2f3d945f83 VS: Add CMAKE_GENERATOR_PLATFORM field to control Windows SDK selection f0a67b6291 VS: Parse comma-separated fields from CMAKE_GENERATOR_PLATFORM e259063b0a VS: Defer Windows SDK selection until CMAKE_GENERATOR_PLATFORM is known 8499374c6a VS: Simplify logic to require SDK for Windows Store 1c8d4b4bf1 Tests: Teach RunCMake_TEST_FILTER to account for test variant description Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8389
| * | | | VS: Select Windows SDK matching WindowsSDKVersion env varBrad King2023-04-054-1/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In an environment established by `vcvarsall.bat` or similar, this environment variable may be set to select a Windows SDK version. If the VS generator is used in such an environment, use that SDK. This is similar to how `CMAKE_GENERATOR_INSTANCE` defaults using a `VS##0COMNTOOLS` environment variable. Fixes: #17992
| * | | | VS: Select latest available Windows SDK version by defaultBrad King2023-04-057-4/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add policy `CMP0149` to stop preferring SDKs exactly matching `CMAKE_SYSTEM_VERSION` over the latest SDK. Fixes: #16202
| * | | | VS: Add support for setting WindowsTargetPlatformVersion to 10.0Brad King2023-04-053-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | VS 2019 and above support this value to select a SDK version automatically. Fixes: #21403
| * | | | VS: Add CMAKE_GENERATOR_PLATFORM field to control Windows SDK selectionBrad King2023-04-0522-15/+248
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a `version=` field to explicitly control the SDK version selection without relying on `CMAKE_SYSTEM_VERSION`. Fixes: #16713
| * | | | VS: Parse comma-separated fields from CMAKE_GENERATOR_PLATFORMBrad King2023-04-0510-3/+135
| | | | |
| * | | | VS: Defer Windows SDK selection until CMAKE_GENERATOR_PLATFORM is knownBrad King2023-04-058-8/+37
| | | | | | | | | | | | | | | | | | | | Prepare to teach `CMAKE_GENERATOR_PLATFORM` to affect SDK selection.
| * | | | VS: Simplify logic to require SDK for Windows StoreBrad King2023-04-053-12/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revise logic added by commit d7e863c1c1 (VS: Do not fail on Windows 10 with VS 2015 if no SDK is available, 2016-01-21, v3.4.3~1^2) to make the requirement decision locally and simplify signatures.
| * | | | Tests: Teach RunCMake_TEST_FILTER to account for test variant descriptionBrad King2023-04-051-2/+6
| | | | |
* | | | | Merge topic 'ci-windows'Brad King2023-04-0613-111/+62
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b7400800df ci: Make python available in all Windows test jobs 99bf8418ee ci: Update to Python 3.11.3 in Windows jobs 967456423b ci: Factor out initial setup script for Windows external test jobs 3532823dd7 ci: De-duplicate Windows test script for NMake job 3f1a1bad76 ci: De-duplicate Windows test script for JOM job e2cf20e58c ci: De-duplicate Windows test script for Borland jobs 8af9a52d3e ci: De-duplicate Windows test script for MSVC v71 NMake job 430aa379d4 ci: De-duplicate Windows test script for OpenWatcom job Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8398
| * | | | | ci: Make python available in all Windows test jobsBrad King2023-04-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Activate test infrastructure that requires python.
| * | | | | ci: Update to Python 3.11.3 in Windows jobsBrad King2023-04-053-42/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the official embedded distribution `.zip` files, but put copies at URLs we control.
| * | | | | ci: Factor out initial setup script for Windows external test jobsBrad King2023-04-051-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Linux and macOS we use the "before script" for both build and test jobs. On Windows we only want a subset of it, but give it a dedicated helper for consistency.
| * | | | | ci: De-duplicate Windows test script for NMake jobBrad King2023-04-053-11/+2
| | | | | | | | | | | | | | | | | | | | | | | | Move job-specific setup to an environment script.
| * | | | | ci: De-duplicate Windows test script for JOM jobBrad King2023-04-053-14/+5
| | | | | | | | | | | | | | | | | | | | | | | | Move job-specific setup to an environment script.
| * | | | | ci: De-duplicate Windows test script for Borland jobsBrad King2023-04-055-14/+7
| | | | | | | | | | | | | | | | | | | | | | | | Move job-specific setup to environment scripts.
| * | | | | ci: De-duplicate Windows test script for MSVC v71 NMake jobBrad King2023-04-053-12/+3
| | | | | | | | | | | | | | | | | | | | | | | | Move job-specific setup to an environment script.
| * | | | | ci: De-duplicate Windows test script for OpenWatcom jobBrad King2023-04-054-17/+9
| | | | | | | | | | | | | | | | | | | | | | | | Move job-specific setup to an environment script.
* | | | | | Merge topic 'FindOpenSSL-mingw'Brad King2023-04-061-2/+2
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 248689f9bf FindOpenSSL: Fix finding header files and static libraries on MinGW Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8394
| * | | | | | FindOpenSSL: Fix finding header files and static libraries on MinGWمهدي شينون (Mehdi Chinoune)2023-04-051-2/+2
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Avoid searching in the `Program Files` folder because the official OpenSSL is built for the MSVC ABI, and so is not compatible with MinGW. * Static libraries on MinGW has `.a` extension.
* | | | | | Merge branch 'release-3.26'Brad King2023-04-060-0/+0
|\ \ \ \ \ \
| * \ \ \ \ \ Merge topic 'doc-typo' into release-3.26Brad King2023-04-061-1/+1
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 045fbbb47c Help: Remove duplicated word in COMPILE_OPTIONS target property docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8396
* | \ \ \ \ \ \ Merge topic 'doc-typo'Brad King2023-04-061-1/+1
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 045fbbb47c Help: Remove duplicated word in COMPILE_OPTIONS target property docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8396
| * | | | | | | Help: Remove duplicated word in COMPILE_OPTIONS target property docsBrad King2023-04-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #24673
* | | | | | | | Merge branch 'release-3.26'Brad King2023-04-060-0/+0
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | |
| * | | | | | | Merge topic 'FindCUDAToolkit-nvptxcompiler_static-deps' into release-3.26Brad King2023-04-061-1/+1
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8711231739 FindCUDAToolkit: nvptxcompiler_static correctly specify dependencies Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8395
* | \ \ \ \ \ \ \ Merge topic 'FindCUDAToolkit-nvptxcompiler_static-deps'Brad King2023-04-061-1/+1
|\ \ \ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8711231739 FindCUDAToolkit: nvptxcompiler_static correctly specify dependencies Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8395