summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'find_library_usable_from_script_mode'Brad King2021-07-201-4/+31
|\ | | | | | | | | | | | | aa3ab3eb92 find_library: Infer library prefix and suffix when in script mode Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6338
| * find_library: Infer library prefix and suffix when in script modeRobert Maynard2021-07-191-4/+31
| | | | | | | | | | | | | | | | | | | | | | This aligns `find_library` with the documentation that states it can be called from script mode. This is done by infering the proper prefix and suffix values when `find_library` is called when the `CMAKE_FIND_LIBRARY*` are not set. This also means that `find_library` won't produce obscure error messages about unset definitions. Fixes: #22027
* | Merge topic 'autogen-ui-header-depends'Brad King2021-07-201-6/+14
|\ \ | | | | | | | | | | | | | | | | | | 9cebdbec77 AUTOUIC: Fix cyclic dependency between generated UI headers and timestamp Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6359
| * | AUTOUIC: Fix cyclic dependency between generated UI headers and timestampAlexey Edelev2021-07-191-6/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Once the generated UI headers are created by UIC they also are involved into processing in next run on ninja. Autogen adds `ui_*.h` files to the deps file `ui_*.h` and this cause timestamp start depend on `ui_*.h`. Meanwhile `ui_*.h` depend on timestamp because of the explicit rules added by commit 1265c65b33 (AUTOUIC: Collect ui header files for Ninja generator, 2021-02-18, v3.21.0-rc1~600^2). Avoid adding `ui_*.h` to deps file at second ninja run. Fixes: #16776
| * | Merge topic 'cmake-presets-no-binary-dir-no-s' into release-3.21Brad King2021-07-191-4/+6
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | aa874dc609 CMakePresets.json: Fix expansion issue with empty binaryDir Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6358
* | | | CMake Nightly Date StampKitware Robot2021-07-201-1/+1
| | | |
* | | | Merge topic 'cmake-presets-no-binary-dir-no-s'Brad King2021-07-191-4/+6
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | aa874dc609 CMakePresets.json: Fix expansion issue with empty binaryDir Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6358
| * | | CMakePresets.json: Fix expansion issue with empty binaryDirKyle Edwards2021-07-161-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When resolving binaryDir into a full path from a relative path, we forgot to check if binaryDir is altogether empty, causing empty binaryDir's to resolve to the source directory. Fix this. Fixes: #22434
* | | | Merge topic 'vs2022'Brad King2021-07-191-2/+1
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0c7f918fb1 VS: Update Visual Studio 17 2022 generator for Preview 2 1ac1436b25 VS: Fix `/sourceDependencies` flag table entries for v143 919fc7fd5f VS: Remove broken EnableASAN entry from flag table for v143 3f19847b28 VS: Remove empty ExternalWarningLevel entry from flag table for v143 ccb6083cbe VS: Remove empty LanguageStandard entries from flag table for v143 c167de7e70 VS: Remove empty ConformanceMode entry from flag table for v143 993d706a17 VS: Populate `/JMC-` flag table entry for v143 a070d87e08 VS: Populate `-Qspectre-` flag table entry for v143 ... Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Egor Pugin <egor.pugin@gmail.com> Merge-request: !6350
| * | | VS: Update Visual Studio 17 2022 generator for Preview 2Brad King2021-07-151-2/+1
| |/ / | | | | | | | | | | | | | | | In particular, update to toolset `v143`. Fixes: #22339
| * | CMake 3.21.0v3.21.0Brad King2021-07-141-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2021-07-191-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2021-07-181-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2021-07-171-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2021-07-161-1/+1
| | |
* | | CMake Nightly Date StampKitware Robot2021-07-151-1/+1
| | |
* | | Merge topic 'cpack-deb-debuginfo'Brad King2021-07-142-180/+156
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9dc007e17c Refactor: Drop redundand `std::endl` calls in the middle of output afcc5449e8 Refactor: Use `cmStrToLong` instead of `std::strtol` 13549674cc Refactor: Avoid duplicate calls to `GetOption("GEN_DBGSYMDIR")` 7add10f288 Refactor: Deduplicate code of `createDebPackages()` 593ff734b0 CPack/DEB: dbgsym package not generated for non-component packaging c8f298ae08 Refactor: Extract packaged files finder into a function 7fd3134ea1 Refactor: cmCPackDebGenerator::PackageComponents handle `else` first 008321595a Refactor: Change return value to bool for private members ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6342
| * | | Refactor: Drop redundand `std::endl` calls in the middle of outputAlex Turbov2021-07-131-36/+52
| | | |
| * | | Refactor: Use `cmStrToLong` instead of `std::strtol`Alex Turbov2021-07-131-18/+17
| | | |
| * | | Refactor: Avoid duplicate calls to `GetOption("GEN_DBGSYMDIR")`Alex Turbov2021-07-131-9/+11
| | | |
| * | | Refactor: Deduplicate code of `createDebPackages()`Alex Turbov2021-07-131-22/+19
| | | | | | | | | | | | | | | | Also, fix incorrect `retval` accumulation.
| * | | CPack/DEB: dbgsym package not generated for non-component packagingAlex Turbov2021-07-132-45/+37
| | | | | | | | | | | | | | | | Fix: #19735
| * | | Refactor: Extract packaged files finder into a functionAlex Turbov2021-07-131-45/+34
| | | |
| * | | Refactor: cmCPackDebGenerator::PackageComponents handle `else` firstAlex Turbov2021-07-131-27/+27
| | | | | | | | | | | | | | | | Also, return early to reduce nesting level of the function body.
| * | | Refactor: Change return value to bool for private membersAlex Turbov2021-07-132-20/+9
| | | | | | | | | | | | | | | | | | | | The `cmCPackDebGenerator::createDeb()` and `cmCPackDebGenerator::createDbgsymDDeb()` in fact have boolean return value.
| * | | Refactor: Drop unnecessary `if` before `return`Alex Turbov2021-07-131-8/+2
| | | |
| * | | Refactor: Drop useless assignments of `retval` before returnAlex Turbov2021-07-131-4/+2
| | | |
* | | | Merge topic 'link-item-cleanup'Brad King2021-07-142-44/+32
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d9e4b47432 cmGeneratorTarget: Clarify logic recognizing explicit link interface ff97944806 cmGeneratorTarget: Clarify cmLinkImplItem constructor call 8112480921 cmGeneratorTarget: Clarify ExpandLinkItems local variable role 33f0505f01 cmGeneratorTarget: Simplify ExpandLinkItems signature Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6347
| * | | | cmGeneratorTarget: Clarify logic recognizing explicit link interfaceBrad King2021-07-131-6/+6
| | | | |
| * | | | cmGeneratorTarget: Clarify cmLinkImplItem constructor callBrad King2021-07-131-1/+2
| | | | |
| * | | | cmGeneratorTarget: Clarify ExpandLinkItems local variable roleBrad King2021-07-131-4/+7
| | | | |
| * | | | cmGeneratorTarget: Simplify ExpandLinkItems signatureBrad King2021-07-132-35/+19
| |/ / /
* | | | Merge topic 'doc-cmake-build-signature'Brad King2021-07-141-1/+4
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | 161f1f42d6 Help: Clarify 'cmake --build' signature alternatives Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6343
| * | | Help: Clarify 'cmake --build' signature alternativesBrad King2021-07-131-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Documentation added by * commit 4f4f2028b8 (Help: Add documentation for buildPresets and testPresets, 2021-01-13, v3.20.0-rc1~51^2~7) * commit 676ecf0d37 (cmake-presets: Add build and test presets, 2020-12-14, v3.20.0-rc1~51^2~6) used square brackets in the `cmake --build` signature to indicate non-optional alternatives, which is not a typical convention. A common convention is to use parentheses instead, but in this case it is probably clearer to list the two signatures separately. Fixes: #22413
* | | | CMake Nightly Date StampKitware Robot2021-07-141-1/+1
| |/ / |/| |
* | | Merge topic 'ctest-environment-modifications'Brad King2021-07-135-3/+151
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | de4f1f26b0 CTest: add an ENVIRONMENT_MODIFICATION property 4c757fa3c8 Help/prop_test/ENVIRONMENT: clarify the scope of the changes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6299
| * | | CTest: add an ENVIRONMENT_MODIFICATION propertyBen Boeckel2021-07-095-3/+151
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This property allows projects to modify environment variables at test time rather than trying to guess what the state should be based on what is present at configure time. Of particular interest is the ability to use a `PATH` present at test time while adding entries known to be necessary for the test itself. There are multiple operations provided to modify variables, including: - setting and unsetting - appending and prepending as: - strings - path lists - CMake lists Additionally, a `reset` action is provided to cancel any prior modifications to that particular variable in the case of incremental additions to the test property.
* | | | Merge topic 'state-project-kind'Brad King2021-07-137-51/+42
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6c440ea3ce cmake: Model normal and try-compile project kinds explicitly 2065bd73cb cmState: Construct with mode Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6337
| * | | | cmake: Model normal and try-compile project kinds explicitlyBrad King2021-07-126-35/+32
| | | | | | | | | | | | | | | | | | | | | | | | | Construct with the project kind instead of mutating state after construction.
| * | | | cmState: Construct with modeBrad King2021-07-124-19/+13
| | | | |
* | | | | Merge topic 'vs-CMAKE_MSVCIDE_RUN_PATH'Brad King2021-07-131-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 542bd343e3 VS: Always enable CMAKE_MSVCIDE_RUN_PATH Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6334
| * | | | | VS: Always enable CMAKE_MSVCIDE_RUN_PATHAsit Dhal2021-07-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not require a language to be enabled. Fixes: #22343
* | | | | | Merge topic 'file-grd-arch'Brad King2021-07-134-2/+56
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5aeda18297 file(GET_RUNTIME_DEPENDENCIES): Use cmELF unconditionally 17aa96bb7a Merge branch 'master' into file-grd-arch b2c03347b0 file(GET_RUNTIME_DEPENDENCIES): Check architecture of dependencies Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6339
| * | | | | | file(GET_RUNTIME_DEPENDENCIES): Use cmELF unconditionallyKyle Edwards2021-07-121-10/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Starting with CMake 3.22, cmELF.h is always available, so use it unconditionally.
| * | | | | | Merge branch 'master' into file-grd-archKyle Edwards2021-07-1251-572/+688
| |\ \ \ \ \ \ | | | |/ / / / | | |/| | / / | | |_|_|/ / | |/| | | |
| * | | | | file(GET_RUNTIME_DEPENDENCIES): Check architecture of dependenciesKyle Edwards2021-07-124-2/+65
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: #22106
| * | | | | CMake 3.21.0-rc3v3.21.0-rc3Brad King2021-07-081-1/+1
| | | | | |
| * | | | | Merge topic 'cmake-presets-list-no-generator' into release-3.21Brad King2021-07-071-0/+3
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d9a3c9fad5 CMakePresets.json: Make --list-presets show presets with no generator Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6314
| * \ \ \ \ \ Merge topic 'xcode13-old-buildsystem' into release-3.21Brad King2021-07-071-1/+5
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 71a2664ebb Xcode: Ignore deprecated build system Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6309
* | | | | | | | CMake Nightly Date StampKitware Robot2021-07-131-1/+1
| |_|_|/ / / / |/| | | | | |