summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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-24121-445/+374
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | gitlab-ci: use Fedora 36 images and environmentsBen Boeckel2022-05-2419-67/+67
| | |
| * | ci: update Linux image to Fedora 36Ben Boeckel2022-05-244-3/+3
| | |
| * | ci: make rvm version comments consistentBrad King2022-05-242-3/+2
| | |
| * | clang-tidy: suppress `google-readability-casting` lintBen Boeckel2022-05-241-1/+0
| | | | | | | | | | | | It now complains about some things that are very pedantic.
| * | clang-tidy: suppress new `readability-identifier-length` lintBen Boeckel2022-05-241-0/+1
| | | | | | | | | | | | | | | CMake uses short names all over the place; 3 character minimums is excessive.
| * | 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-2430-73/+95
| | | | | | | | | | | | 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
| | |
| * | zstd: suppress an analyzer lintBen Boeckel2022-05-241-0/+1
| | | | | | | | | | | | It is detected since the asserts go to nothing in a non-debug build.
| * | 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
| |
* | Merge topic 'externalproject-cleanup'Brad King2022-05-231-344/+793
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 3351b7b82c ExternalProject: Reformatting only 691f0c7612 ExternalProject: Minor cleanup to use more convenient commands b4db306aff ExternalProject: Remove unused property docs 5c021c8355 ExternalProject: Replace SEND_ERROR with FATAL_ERROR Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7285
| * | ExternalProject: Reformatting onlyCraig Scott2022-05-221-291/+769
| | | | | | | | | | | | | | | | | | | | | | | | - Rewrap docs and commands to 80 character width, as per code guidelines. - Reformat argument lists across multiple lines to improve readability. - Use consistent closing parentheses on multi-line calls. - Clean up indenting.
| * | ExternalProject: Minor cleanup to use more convenient commandsCraig Scott2022-05-221-12/+14
| | | | | | | | | | | | There is no effective functional change with this commit. It is mostly just to simplify readability.
| * | ExternalProject: Remove unused property docsCraig Scott2022-05-221-38/+5
| | | | | | | | | | | | | | | | | | | | | | | | BRIEF_DOCS and FULL_DOCS became optional as of edb5059216 (define_property(): Make BRIEF_DOCS and FULL_DOCS optional, 2022-01-18). Remove these options from the define_property() calls, since they served no useful purpose. The canonical documentation of those properties is in the RST docs at the top of the file.
| * | ExternalProject: Replace SEND_ERROR with FATAL_ERRORCraig Scott2022-05-221-3/+5
| | | | | | | | | | | | The one remaining SEND_ERROR is still needed because further messages must be written before a final FATAL_ERROR on that code path.
* | | Merge topic 'pkgconfig-static-libs'Brad King2022-05-239-136/+332
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 020976d637 FindPkgConfig: Populate _STATIC_LINK_LIBRARIES. Add STATIC_TARGET. 3c5cc79adb Tests: De-duplicate some code in RunCMake.FindPkgConfig 5cfbc76371 FindPkgConfig: Fix parsing of backslash-escaped spaces in pkg-config output Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7070
| * | | FindPkgConfig: Populate _STATIC_LINK_LIBRARIES. Add STATIC_TARGET.Alex Birch2022-05-209-116/+302
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add LINK_LIBRARIES test to demonstrate static linking of transitive dependencies. Add STATIC_TARGET argument to pkg_check_modules() and pkg_search_module(). Influences the properties of target produced by IMPORTED_TARGET. When enabled: target's properties will be populated from <XXX>_STATIC_* variables instead of from <XXX>_* variables. Update existing tests concerning properties of targets produced via IMPORTED_TARGET, to test STATIC_TARGET variant too. Update existing tests concerning <XXX>_* variables to test <XXX>_STATIC_* variables too. Breaking changes to pkg_check_modules() and pkg_search_module(): - Variables CMAKE_FIND_LIBRARY_PREFIXES and CMAKE_FIND_LIBRARY_SUFFIXES can no longer be used to influence library lookup (i.e. the internal call to find_library()), because FindPkgConfig now internally relies on these variables to differentiate between shared and static library lookup. Prefer CMAKE_SHARED_LIBRARY_PREFIX + CMAKE_SHARED_LIBRARY_SUFFIX, or CMAKE_STATIC_LIBRARY_PREFIX + CMAKE_STATIC_LIBRARY_SUFFIX, depending on whether you wish to impact static or shared lookup. - <XXX>_LINK_LIBRARIES will now be populated only with libraries located via CMAKE_SHARED_LIBRARY_PREFIX + CMAKE_SHARED_LIBRARY_SUFFIX match - <XXX>_STATIC_LIBRARIES now processes -framework options - <XXX>_STATIC_LDFLAGS_OTHER now processes -framework options - <XXX>_STATIC_CFLAGS_OTHER now processes -isystem options - <XXX>_STATIC_INCLUDE_DIRS now processes -isystem options Fixes: #21714
| * | | Tests: De-duplicate some code in RunCMake.FindPkgConfigAlex Birch2022-05-201-8/+14
| | | |
| * | | FindPkgConfig: Fix parsing of backslash-escaped spaces in pkg-config outputAlex Birch2022-05-124-14/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Treat backslash-escaped spaces as "space within argument" rather than "space delimiting arguments". Update our `FindPkgConfig_LIBRARY_PATH` test case to escape spaces in the path, and run it unconditionally.
* | | | 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-204-10/+46
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 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-184-10/+46
| | | | | | | | | | | | | | | | Fixes: #17904
* | | | Merge topic 'win_arm64_native_toolchain'Brad King2022-05-204-11/+22
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-194-11/+22
| | | | | | | | | | | | | | | | | | | | Visual Studio 2022 17 Preview introduced a native ARM64 toolchain.
* | | | | Merge topic 'findvulkan-improvements'Brad King2022-05-205-52/+608
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7974fcd1a7 FindVulkan: remove noop on CMAKE_MODULE_PATH in tests acdb5fe0e8 FindVulkan: Add component for `glslc` and `glslangValidator` 998ee49779 FindVulkan: ensure policy CMP0057 is NEW to use `IN_LIST` with `if()` 9f8720e74c FindVulkan: Add component for `glslang` 8d133f49e3 FindVulkan: Add component for `SPIRV-Tools` 6e4d20921d FindVulkan: Add component for `shaderc_combined` 2f46b8d723 FindVulkan: Move `mark_as_advanced` right after `find_*` calls. 08a420af4a FindVulkan: Factorize code for library/executable search Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7225
| * | | | | FindVulkan: remove noop on CMAKE_MODULE_PATH in testsMACHIZAUD Andréa2022-05-181-1/+0
| | | | | |
| * | | | | FindVulkan: Add component for `glslc` and `glslangValidator`MACHIZAUD Andréa2022-05-181-17/+48
| | | | | | | | | | | | | | | | | | | | | | | | For backward compatibility with previous CMake versions they are implicitly added to the list of components
| * | | | | FindVulkan: ensure policy CMP0057 is NEW to use `IN_LIST` with `if()`MACHIZAUD Andréa2022-05-181-0/+5
| | | | | |
| * | | | | FindVulkan: Add component for `glslang`MACHIZAUD Andréa2022-05-183-3/+315
| | | | | |
| * | | | | FindVulkan: Add component for `SPIRV-Tools`MACHIZAUD Andréa2022-05-183-5/+81
| | | | | |
| * | | | | FindVulkan: Add component for `shaderc_combined`MACHIZAUD Andréa2022-05-183-2/+127
| | | | | |
| * | | | | FindVulkan: Move `mark_as_advanced` right after `find_*` calls.MACHIZAUD Andréa2022-05-131-3/+6
| | | | | |
| * | | | | FindVulkan: Factorize code for library/executable searchMACHIZAUD Andréa2022-05-131-51/+56
| | | | | |
* | | | | | Merge topic 'ci-win-package'Brad King2022-05-2014-9/+398
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4c7c66dcf5 gitlab-ci: Add jobs to make Windows x86_64 and i386 packages 729ee30c2e gitlab-ci: Simplify collection of CTestTestfile artifacts 1eab922d92 Utilities/Release: Add script to sign and package Windows binaries db48074d58 Utilities/Release: Add script to build Qt 5.12.1 Windows binaries Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !7281
| * | | | | | gitlab-ci: Add jobs to make Windows x86_64 and i386 packagesBrad King2022-05-1910-2/+217
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Run CPack in a separate job for nightly binaries, and not at all for release binaries. Unlike macOS disk images (.dmg), we cannot sign the binaries inside Windows installers (.msi) after-the-fact. Instead, produce enough artifacts from the build job to sign and package release binaries manually. Port build settings from `Utilities/Release/win/x86/Dockerfile` and its helper scripts.
| * | | | | | gitlab-ci: Simplify collection of CTestTestfile artifactsBrad King2022-05-191-7/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gitlab-runner 13.0 and above support `**` to match arbitrary directory paths.
| * | | | | | Utilities/Release: Add script to sign and package Windows binariesBrad King2022-05-191-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Windows binaries for official releases on `cmake.org` are signed manually by a maintainer with a suitable signing certificate. Add a script to sign the binaries, run CPack, and sign the installer.