summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* LLVMFlang: Add support for LLVM FlangTin Huynh2022-05-245-1/+29
| | | | | | | | | LLVM Flang (https://github.com/llvm/llvm-project/tree/main/flang) is an LLVM Fortran compiler that shares the same name as Flang (also known as Classic Flang). Classic Flang is in active development and is already identified by CMake as Flang. As such, LLVM Flang will be identified as `LLVMFlang`. Fixes: #22387
* Merge topic 'findvulkan-moltenvk'Brad King2022-05-243-4/+122
|\ | | | | | | | | | | | | | | d9b4264cb8 FindVulkan: Add component for `MoltenVK` 10a6bb16bb FindVulkan: Mark test target with `cxx_std_11` to avoid AppleClang warnings Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7286
| * FindVulkan: Add component for `MoltenVK`MACHIZAUD Andréa2022-05-223-4/+118
| |
| * FindVulkan: Mark test target with `cxx_std_11` to avoid AppleClang warningsMACHIZAUD Andréa2022-05-221-0/+4
| |
* | Merge topic 'gitignore-build'Brad King2022-05-241-0/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | 2c1ab065fe gitignore: Tell Git to ignore build*/ directories Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alex Turbov <i.zaufi@gmail.com> Acked-by: مهدي شينون (Mehdi Chinoune) <mehdi.chinoune@hotmail.com> Merge-request: !7283
| * | gitignore: Tell Git to ignore build*/ directoriesShao-Ce SUN2022-05-231-0/+3
| | |
* | | 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-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
| | | | | |