summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | CMake Nightly Date StampKitware Robot2024-04-171-1/+1
|/ / /
* | | Merge topic 'cpack-innosetup-linux'Brad King2024-04-162-10/+21
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | d4a46314ac CPack: Enable Inno Setup generator on non-Windows hosts Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9431
| * | | CPack: Enable Inno Setup generator on non-Windows hostsAndreas Oetken2024-04-152-10/+21
| | | | | | | | | | | | | | | | | | | | Innosetup tools can be run on Linux using Wine, thus there is no reason to block this in CMake.
* | | | Merge topic 'lcc-updates-2024-04'Brad King2024-04-161-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8f89ecb073 Tests: Exclude more tests found to be failing on broken libc on Elbrus b0551cce64 cmArgumentParserTypes: Workaround for ICE on e2k Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9426
| * | | | cmArgumentParserTypes: Workaround for ICE on e2kmakise-homura2024-04-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Original report by Ilya Kurdyukov <ilyakurdyukov@altlinux.org> from Alt Linux Team Link: https://git.altlinux.org/gears/c/cmake.git?p=cmake.git;a=commitdiff;h=320f02347da0fe728e715a34a67e6d4d6241d132
* | | | | Merge topic 'swift-module-libraries'Brad King2024-04-161-21/+22
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 56e5cea600 Swift: Support module libraries with command-line build systems Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9379
| * | | | | Swift: Support module libraries with command-line build systemsEvan Wilde2024-04-151-21/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Wire up the flags needed to support module libraries built and used with Swift. We need to pass `-bundle` to the linker when linking module libraries on Darwin, and we need to pass `-export-dynamic` to the linker when emitting an executable that exports symbols on Linux. This patch wires up `CMAKE_SHARED_MODULE_CREATE_Swift_FLAGS` and `CMAKE_SHARED_MODULE_LOADER_Swift_FLAG` on Darwin, and hooks up `CMAKE_EXE_EXPORTS_Swift_FLAG` on Linux in order to support passing things correctly. We can't expose `CMAKE_EXE_LINKER_FLAGS` to Swift, as it contains flags that the Swift compiler doesn't recognize, but the other language-specific variables are safe to expose.
* | | | | | Merge topic 'cxx-checks-tolerate-unused-arguments'Brad King2024-04-161-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6a2cfbd4ea cm_cxx_features: Ignore Clang unused-argument warnings Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9427
| * | | | | | cm_cxx_features: Ignore Clang unused-argument warningsjinzhe li2024-04-151-1/+1
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Filter out `-Wunused-command-line-argument` warnings from Clang (that can be caused by user-specified flags) so that they do not break our checks for C++ feature availability. This extends commit 71b65abca2 (C++ feature checks: Filter out warnings caused by user flags, 2017-09-19, v3.10.0-rc1~90^2).
* | | | | | Merge topic 'file-GET_RUNTIME_DEPENDENCIES-macos-rpath'Brad King2024-04-161-4/+10
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3e865241f3 file(GET_RUNTIME_DEPENDENCIES): propagate parent rpath on macOS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9428
| * | | | | | file(GET_RUNTIME_DEPENDENCIES): propagate parent rpath on macOSLuis Caro Campos2024-04-151-4/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #24400
* | | | | | | CMake Nightly Date StampKitware Robot2024-04-161-1/+1
| | | | | | |
* | | | | | | Merge topic 'genex-cleanup'Brad King2024-04-157-29/+35
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 895efd4e7a cmGeneratorExpression: Consolidate recognition of transitive properties 5f7d8192da cmGeneratorExpression: Inline evaluation helper at only call site 91a25de520 cmGeneratorExpression: Add comments on implementation details 0a61116f52 cmGeneratorTarget: Remove EvaluateInterfaceProperty argument default Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9425
| * | | | | | | cmGeneratorExpression: Consolidate recognition of transitive propertiesBrad King2024-04-123-12/+20
| | | | | | | |
| * | | | | | | cmGeneratorExpression: Inline evaluation helper at only call siteBrad King2024-04-122-12/+0
| | | | | | | |
| * | | | | | | cmGeneratorExpression: Add comments on implementation detailsBrad King2024-04-123-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clarify the purpose of some genex code that collects properties over the transitive link closure.
| * | | | | | | cmGeneratorTarget: Remove EvaluateInterfaceProperty argument defaultBrad King2024-04-122-5/+7
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | Pass it explicitly at the call sites.
* | | | | | | Merge topic 'cxxmodules-import-std'Brad King2024-04-1512-20/+234
|\ \ \ \ \ \ \ | |_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 429902ebad Clang: support creating a target for imported modules 4617f272b4 MSVC: support `import std` 62a71047bb cmGraphVizWriter: ignore `__cmake_`-prefixed targets 442086c1dc fileapi: ignore `__cmake_`-prefixed targets ffe74289b3 CMakeDetermineCompilerId: extract C++ standard library impl 15bbd1d9b8 Experimental: add an experimental feature gate for `import std` f80c60df02 CMakeDetermineCompilerSupport: construct C++ modules targets 19341e2582 ci: enable `import_std23` C++ module tests on MSVC ... Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9337
| * | | | | | cmGraphVizWriter: ignore `__cmake_`-prefixed targetsBen Boeckel2024-04-121-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These targets are internal to CMake's C++ `import std` implementation and should not appear.
| * | | | | | fileapi: ignore `__cmake_`-prefixed targetsBen Boeckel2024-04-121-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These targets are internal to CMake's C++ `import std` implementation and should not appear.
| * | | | | | Experimental: add an experimental feature gate for `import std`Ben Boeckel2024-04-123-0/+19
| | | | | | |
| * | | | | | cxxmodules: link to `std`-providing targets when availableBen Boeckel2024-04-114-0/+128
| | | | | | |
| * | | | | | cmGlobalGenerator: compute target features before synthetic targetsBen Boeckel2024-04-112-10/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For `import std;` support, CMake needs to know the standard library involved in order to ensure that the right target is linked. Afterwards, the created synthetic targets need their target compile features computed.
| * | | | | | cmStandardLevelResolver: offer an API to get the string of a levelBen Boeckel2024-04-112-0/+18
| | | | | | |
| * | | | | | cmTarget: support the `CXX_MODULE_STD` propertyBen Boeckel2024-04-112-0/+10
| | | | | | |
| * | | | | | cmExportFileGenerator: support always exporting propertiesBen Boeckel2024-04-111-9/+24
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2024-04-151-1/+1
| | | | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2024-04-141-1/+1
| |_|/ / / / |/| | | | |
* | | | | | CMake Nightly Date StampKitware Robot2024-04-131-1/+1
| |/ / / / |/| | | |
* | | | | Merge topic 'genex-compatible-interface'Brad King2024-04-121-21/+17
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c94cfe92eb GenEx: Fix COMPATIBLE_INTERFACE_ evaluation outside usage requirements 061f7a6b97 GenEx: Remove redundant condition in COMPATIBLE_INTERFACE_ evaluation 86f99c5f6d GenEx: Add COMPATIBLE_INTERFACE_ implementation comments 541a788264 Tests: Add COMPATIBLE_INTERFACE_ cases outside usage requirements 5ebcf96170 Tests: Add COMPATIBLE_INTERFACE_ cases for library targets f4249cf86f Tests: Add COMPATIBLE_INTERFACE_NUMBER_{MAX,MIN} transitive-only cases Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9423
| * | | | | GenEx: Fix COMPATIBLE_INTERFACE_ evaluation outside usage requirementsBrad King2024-04-111-22/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit ff6c401309 (cmTarget: Add interface for compatible numeric properties, 2013-10-22, v3.0.0-rc1~460^2) the condition dagCheckerParent && !dagCheckerParent->EvaluatingLinkLibraries() was written that way to avoid a nullptr dereference, but is actually meant to say "is not evaluating link libraries". That can also be true when there is no `dagCheckerParent`, such as when evaluating a generator expression outside of usage requirements, e.g., for `add_custom_target`. The original commit tried to account for that by duplicating the implementation in another code path, but that did not work in all cases. Fix the condition, remove the duplication, and enable tests for the now-working cases.
| * | | | | GenEx: Remove redundant condition in COMPATIBLE_INTERFACE_ evaluationBrad King2024-04-111-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `IsLinkInterfaceDependent*Property` methods internally exclude INTERFACE libraries since commit 0bfcb450e6 (INTERFACE_LIBRARY: Avoid codepaths which set unneeded properties., 2013-11-20, v3.0.0-rc1~301^2~1).
| * | | | | GenEx: Add COMPATIBLE_INTERFACE_ implementation commentsBrad King2024-04-111-1/+15
| | | | | |
| * | | | | Tests: Add COMPATIBLE_INTERFACE_ cases outside usage requirementsBrad King2024-04-111-0/+4
| |/ / / /
* | | | | CMake Nightly Date StampKitware Robot2024-04-121-1/+1
|/ / / /
* | | | Merge topic 'xcode-deterministic-target-objects'Brad King2024-04-112-3/+26
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1fa2ec1bbd Xcode: Use deterministic object ids for targets Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9241
| * | | | Xcode: Use deterministic object ids for targetslapfelix2024-04-102-3/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a CMake-generated Xcode project is included in another Xcode project, the used targets' object ids are kept as `remoteGlobalIDString`. Make the ids deterministic and somewhat independent of the build tree location.
* | | | | Merge topic 'compiler-path-normalization'Brad King2024-04-111-8/+6
|\ \ \ \ \ | | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 26e79ed299 Fix regression on reconfigure with unnormalized -DCMAKE_<LANG>_COMPILER= 1d485a8b45 Tests/RunCMake/CompilerChange: Simplify test cases Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: Ashay Rane <ashay.r@gmail.com> Merge-request: !9416
| * | | | Fix regression on reconfigure with unnormalized -DCMAKE_<LANG>_COMPILER=Brad King2024-04-101-8/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 3f2a5971c0 (Modules: CMAKE_*_COMPILER convert path to cmake path, 2023-12-02, v3.29.0-rc1~292^2) we normalize the path to the compiler. Update our logic that checks whether the compiler has changed to account for path normalization. Fixes: #25883 Issue: #25456
* | | | | Merge topic 'cmake_language-test-experimental-feature-query'Brad King2024-04-113-15/+23
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8fd089018d Tests/RunCMake/cmake_language: test GET_EXPERIMENTAL_FEATURE_ENABLED 46da8e64b0 cmCMakeLanguageCommand: use `cmExperimental::FeatureByName` e8582abc6d cmExperimental: add support for getting a feature value from its name Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !9414
| * | | | | cmCMakeLanguageCommand: use `cmExperimental::FeatureByName`Ben Boeckel2024-04-101-15/+6
| | | | | |
| * | | | | cmExperimental: add support for getting a feature value from its nameBen Boeckel2024-04-102-0/+17
| | | | | |
* | | | | | CMake Nightly Date StampKitware Robot2024-04-111-1/+1
| |_|/ / / |/| | | |
* | | | | Merge topic 'genex-cleanup'Brad King2024-04-102-50/+26
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 50840902ce cmGeneratorExpressionDAGChecker: Simplify finding evaluation graph root 304f4c261e cmGeneratorExpressionDAGChecker: Simplify member initialization c620d8d9cf cmGeneratorExpressionDAGChecker: Clarify COMPILE_DEFINITIONS special case a585e410c0 cmGeneratorExpressionDAGChecker: Inline initialization in constructor 40788cb1e6 cmGeneratorExpressionDAGChecker: Reduce duplication in constructor Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9413
| * | | | | cmGeneratorExpressionDAGChecker: Simplify finding evaluation graph rootBrad King2024-04-092-23/+12
| | | | | |
| * | | | | cmGeneratorExpressionDAGChecker: Simplify member initializationBrad King2024-04-092-4/+2
| | | | | |
| * | | | | cmGeneratorExpressionDAGChecker: Clarify COMPILE_DEFINITIONS special caseBrad King2024-04-091-4/+5
| | | | | |
| * | | | | cmGeneratorExpressionDAGChecker: Inline initialization in constructorBrad King2024-04-092-15/+9
| | | | | |
| * | | | | cmGeneratorExpressionDAGChecker: Reduce duplication in constructorBrad King2024-04-091-8/+2
| |/ / / /
* | | | | Merge topic 'swift-fix-submodule-dependencies'Brad King2024-04-101-14/+27
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | 579472d877 Swift: Ninja: Remove module dependency for executables Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9411