summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* CMake Nightly Date StampKitware Robot2022-05-281-1/+1
|
* Merge topic 'msvc-compilers-default-to-ZI'Brad King2022-05-271-1/+4
|\ | | | | | | | | | | | | 5fcadc481e MSVC: Default to -ZI instead of /Zi for x86 and x64 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7295
| * MSVC: Default to -ZI instead of /Zi for x86 and x64Glen Chung2022-05-261-1/+4
| | | | | | | | | | | | | | | | | | | | Add a policy for compatibility. For more information, see [1]. [1] https://docs.microsoft.com/en-us/cpp/build/reference/z7-zi-zi-debug-information-format?view=msvc-170 Fixes: #10189
* | Merge topic 'mingw-compiler-PATH'Brad King2022-05-273-65/+0
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 55ba10dcfd MSYS/MinGW Makefiles: Simplify selection of windres as Resource Compiler 9019537670 MSYS/MinGW Makfiles: Select the compiler occurring first in PATH Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: مهدي شينون (Mehdi Chinoune) <mehdi.chinoune@hotmail.com> Merge-request: !7301
| * | MSYS/MinGW Makefiles: Simplify selection of windres as Resource CompilerBrad King2022-05-263-41/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 957c2aac7f (RC: Simplify selection of resource compiler based on C/C++ toolchain, 2015-05-07, v3.3.0-rc1~101^2~3), `windres` is selected automatically when using compilers that target the GNU ABI. Drop the generator-specific preference to make behavior more consistent with the Ninja generator. Issue: #23542
| * | MSYS/MinGW Makfiles: Select the compiler occurring first in PATHBrad King2022-05-262-24/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend the change from commit e01990999a (Ninja: On Windows, select the compiler occurring first in PATH, 2020-04-17, v3.18.0-rc1~291^2) to apply to the MSYS/MinGW Makefiles generators too. Drop the implied `gcc` and `g++` default compilers. This allows MinGW/Clang environments to work out of the box. Inspired-by: Mehdi Chinoune <mehdi.chinoune@hotmail.com> Fixes: #23542
* | | CMake Nightly Date StampKitware Robot2022-05-271-1/+1
|/ /
* | Merge topic 'verify-interface-header-sets-list'Brad King2022-05-261-5/+23
|\ \ | | | | | | | | | | | | | | | | | | | | | aadaac7f6d VERIFY_INTERFACE_HEADER_SETS: Add property for list of header sets Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7298
| * | VERIFY_INTERFACE_HEADER_SETS: Add property for list of header setsKyle Edwards2022-05-251-5/+23
| | | | | | | | | | | | | | | | | | | | | | | | Add a new property, INTERFACE_HEADER_SETS_TO_VERIFY, which contains a list of header sets that should be verified by VERIFY_INTERFACE_HEADER_SETS. Fixes: #23522
* | | Merge topic 'automoc-build-dir'Brad King2022-05-262-1/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 76608c60d3 AutoMoc: Take AUTOMOC_BUILD_DIR into account in depfile Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: alcroito <alexandru.croitor@qt.io> Merge-request: !7291
| * | | AutoMoc: Take AUTOMOC_BUILD_DIR into account in depfileJoerg Bornemann2022-05-252-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For the Ninja generator and targets that have AUTOMOC_BUILD_DIR set, the AutoMoc target was always out of date. That was because the depfile in the AutoMoc build directory was referencing the wrong timestamp file: target_autogen/timestamp: ...dependencies... instead of automoc_build_dir/timestamp: ...dependencies... Use the relative path of the timestamp file as rule name for the depfile. That path is calculated with AUTOMOC_BUILD_DIR taken into account. Fixes: #23547
* | | | CMake Nightly Date StampKitware Robot2022-05-261-1/+1
| |/ / |/| |
* | | Merge topic 'dependency-providers'Brad King2022-05-258-12/+239
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2aa83fa15b Dependency providers: Add find_package and FetchContent support 8a28368feb FetchContent: Don't discard non-empty SOURCE_DIR and BINARY_DIR 8ce9bb8a0c FetchContent: Don't leak internal variables 74a6ddc339 cmFindPackageCommand: Handle Makefile variable definitions more robustly Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Gerhard Olsson <gerhard.nospam@gmail.com> Merge-request: !7276
| * | | Dependency providers: Add find_package and FetchContent supportCraig Scott2022-05-248-1/+220
| | | | | | | | | | | | Fixes: #22619
| * | | cmFindPackageCommand: Handle Makefile variable definitions more robustlyCraig Scott2022-05-172-11/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During argument parsing in InitialPass(), Makefile variables were being added for components. Most other such variables were set in the call to SetModuleVariables(), which happens much later. Both sets of variables were then restored to their previous values as part of a call to AppendSuccessInformation(), but that is not an obvious nor robust place to undo those variable changes. InitialPass() also pushes a new item to the package root stack, but the corresponding pop was in AppendSuccessInformation(). Again, this puts a symmetric operation in an asymmetric place. Refactor the code slightly such that Makefile variables are set in one clear location, then restored later in the same function. Also move the package root stack pop into the same function as the push. AppendSuccessInformation() now has one clear responsibility and doesn't perform any unrelated cleanup on behalf of InitialPass().
* | | | CMake Nightly Date StampKitware Robot2022-05-251-1/+1
| |_|/ |/| |
* | | Merge topic 'curl-debug-callback'Brad King2022-05-241-2/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | e243b379ca cmFileCommand: Fix signature of CURLOPT_DEBUGFUNCTION callback Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7288
| * | | cmFileCommand: Fix signature of CURLOPT_DEBUGFUNCTION callbackBrad King2022-05-231-2/+2
| | | | | | | | | | | | | | | | Curl documents that the callback should return type `int`.
* | | | Merge topic 'reduce-policy-eval-scope'Brad King2022-05-241-4/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cb19a63499 cmConditionEvaluator: Reduce the scope of the CMP0064 evaluation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7287
| * | | | cmConditionEvaluator: Reduce the scope of the CMP0064 evaluationAlex Turbov2022-05-231-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | When evaluatig conditions, avoid testing CMP0064 unless it's really needed (Cuz most of the time it doesn't)
* | | | | Merge topic 'ci-fedora-36'Brad King2022-05-2493-369/+297
|\ \ \ \ \ | |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ef6a7921e5 gitlab-ci: use Fedora 36 images and environments 483ff3b903 ci: update Linux image to Fedora 36 13c5153ccd ci: make rvm version comments consistent 6c08dd972c clang-tidy: suppress `google-readability-casting` lint 17b7bbf2a0 clang-tidy: suppress new `readability-identifier-length` lint 16e6e4e7dd cmFileCommand: remove an unnecessary cast b89c085237 clang-tidy: fix `readability-static-definition-in-anonymous-namespace` lints c8c9d7de03 clang-tidy: fix `bugprone-exception-escape` lints ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7271
| * | | | cmFileCommand: remove an unnecessary castBen Boeckel2022-05-241-1/+1
| | | | | | | | | | | | | | | | | | | | `cmCryptoHash::New` already returns a `unique_ptr`.
| * | | | clang-tidy: fix `readability-static-definition-in-anonymous-namespace` lintsBen Boeckel2022-05-241-2/+2
| | | | |
| * | | | clang-tidy: fix `bugprone-exception-escape` lintsBen Boeckel2022-05-241-3/+9
| | | | |
| * | | | clang-tidy: fix `performance-unnecessary-copy-initialization` lintsBen Boeckel2022-05-2410-20/+20
| | | | |
| * | | | clang-tidy: address `google-readability-casting` lintsBen Boeckel2022-05-2428-71/+92
| | | | | | | | | | | | | | | | | | | | At least those involving `static_cast`.
| * | | | clang-tidy: address `readability-container-data-pointer` lintsBen Boeckel2022-05-2412-50/+50
| | | | |
| * | | | clang-tidy: address `modernize-use-default-member-init` lintsBen Boeckel2022-05-2454-212/+109
| | | | |
| * | | | cmGlobalGenerator: check for `nullptr` in `GetLanguageFromExtension`Ben Boeckel2022-05-211-1/+4
| | | | | | | | | | | | | | | | | | | | Found by `clang-analyzer`.
| * | | | cmCTestSubmitHandler: avoid double fetching envvarsBen Boeckel2022-05-211-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | Technically, they can change between these two calls, so use the verified pointer to assign to strings. Discovered by `clang-analyzer`.
| * | | | cmMakefileLibraryTargetGenerator: improve output buildingBen Boeckel2022-05-191-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | GCC warns about buffer juggling here. To avoid the warning, improve the code to avoid resizing on the following two pushes.
| * | | | style: use `cmStrCat` in some more locationsBen Boeckel2022-05-193-4/+3
| |/ / /
* | | | CMake Nightly Date StampKitware Robot2022-05-241-1/+1
| |/ / |/| |
* | | CMake Nightly Date StampKitware Robot2022-05-231-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2022-05-221-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2022-05-211-1/+1
| | |
* | | Merge topic 'vs-system-include'Brad King2022-05-201-6/+37
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 7a2496daad VS: Add support for SYSTEM include directories Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7238
| * | | VS: Add support for SYSTEM include directoriesJosiah Bills2022-05-181-6/+37
| | | | | | | | | | | | | | | | Fixes: #17904
* | | | Merge topic 'win_arm64_native_toolchain'Brad King2022-05-202-8/+13
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | af6928ce92 VS: ARM64 as default toolset architecture for ARM64 host Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7264
| * | | | VS: ARM64 as default toolset architecture for ARM64 hostNiyas Sait2022-05-192-8/+13
| | | | | | | | | | | | | | | | | | | | Visual Studio 2022 17 Preview introduced a native ARM64 toolchain.
* | | | | Merge topic 'vs2022-only'Brad King2022-05-201-0/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 235b5fb05b file(GET_RUNTIME_DEPENDENCIES): Support VS 2022 without VS 2019 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7282
| * | | | | file(GET_RUNTIME_DEPENDENCIES): Support VS 2022 without VS 2019Brad King2022-05-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Find MSVC tools in VS 2022 installation.
* | | | | | CMake Nightly Date StampKitware Robot2022-05-201-1/+1
| |_|_|/ / |/| | | |
* | | | | Merge topic 'ignore-werror-command-arg'Brad King2022-05-194-5/+21
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 65f7053d6c COMPILE_WARNING_AS_ERROR: Add command-line option Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7268
| * | | | | COMPILE_WARNING_AS_ERROR: Add command-line optionMartin Duffy2022-05-184-5/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add command-line option `--compile-no-warning-as-error` to ignore value of `COMPILE_WARNING_AS_ERROR`. Issue: #19085
* | | | | | Merge topic 'verify-interface-header-sets'Brad King2022-05-192-6/+6
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 259c265112 VERIFY_HEADER_SETS: Rename to VERIFY_INTERFACE_HEADER_SETS Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7279
| * | | | | | VERIFY_HEADER_SETS: Rename to VERIFY_INTERFACE_HEADER_SETSKyle Edwards2022-05-182-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue: #23448
* | | | | | | CMake Nightly Date StampKitware Robot2022-05-191-1/+1
|/ / / / / /
* | | | | | Merge topic 'ccmake-fix-infinite-loop-search'Brad King2022-05-182-7/+8
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 432a8ab739 ccmake: Fix infinite loop during invalid search Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7269
| * | | | | | ccmake: Fix infinite loop during invalid searchMartin Duffy2022-05-182-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix issue introduced in commit 2defe9ff95 (ccmake: Fix crash when deleting all cache entries, 2022-05-12). Leaving the Empty Cache widget always on the Entry list had unforeseen consequences, including that it caused an infinite loop when searching for a string that did not match any variables.