summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'nag-fortran-ninja'Brad King2024-04-162-3/+18
|\ | | | | | | | | | | | | | | | | | | 4af20bb794 NAG-Fortran: Do not repeat preprocessing with Ninja on Apple platforms 91bb8dd872 NAG-Fortran: Fix MODULE library creation on Apple platforms e056006116 NAG-Fortran: Tell the Ninja generator how to preprocess Fortran sources 765a611956 NAG-Fortran: Added initial default compilation flags Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9407
| * NAG-Fortran: Do not repeat preprocessing with Ninja on Apple platformsSimon Maertens2024-04-151-3/+7
| | | | | | | | | | | | | | The Ninja generator uses separate preprocessing and compilation steps. Do not pass `-fpp` when compiling an already-preprocessed source. Issue: #25900
| * NAG-Fortran: Fix MODULE library creation on Apple platformsSimon Maertens2024-04-151-0/+1
| | | | | | | | | | Previously we passed `-bundle` to the NAG Fortran front-end, which does not support it. Pass it through to the linker instead.
| * NAG-Fortran: Tell the Ninja generator how to preprocess Fortran sourcesSimon Maertens2024-04-151-0/+3
| | | | | | | | Fixes: #21398
| * NAG-Fortran: Added initial default compilation flagsSimon Maertens2024-04-151-0/+7
| | | | | | | | | | The configuration of the NAG Fortran compiler was previously missing the standard flags for debug, release and the other build types.
* | Merge topic 'FindBacktrace-imported-library'Brad King2024-04-168-0/+103
|\ \ | | | | | | | | | | | | | | | | | | 9433755e5d FindBacktrace: Add imported library Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9406
| * | FindBacktrace: Add imported libraryDavid Faure2024-04-158-0/+103
| | | | | | | | | | | | | | | | | | | | | This is to avoid (a future version of) Qt from having to wrap FindBacktrace like [1]. [1] https://code.qt.io/cgit/qt/qtbase.git/tree/cmake/FindWrapBacktrace.cmake
* | | Merge topic 'findgtk2-fix'Brad King2024-04-161-0/+21
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 7e49b98219 FindGTK2: Find arch-specific headers via pkg-config Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9417
| * | | FindGTK2: Find arch-specific headers via pkg-configMaxim Cournoyer2024-04-151-0/+21
| | | | | | | | | | | | | | | | Fixes: #25884
* | | | Merge topic 'lcc-updates-2024-04'Brad King2024-04-162-1/+12
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | Tests: Exclude more tests found to be failing on broken libc on Elbrusmakise-homura2024-04-121-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since last commit on this topic on Jan 15, 2024, nightly testing has found some other CPack tests failing on broken libc on Elbrus, which was revealed after transition to libuv. These tests are excluded in this condition.
| * | | | 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-168-37/+33
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-158-37/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-167-4/+78
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-157-4/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #24400
* | | | | | | Merge topic 'test-separate_arguments'Brad King2024-04-162-16/+14
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a716ed88e7 Tests: Avoid unnecessary copy of cmake in RunCMake.separate_arguments Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !9424
| * | | | | | | Tests: Avoid unnecessary copy of cmake in RunCMake.separate_argumentsBrad King2024-04-152-16/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `cmake` binary can be quite large in debug builds. Inspired-by: Rolf Eike Beer <eb@emlix.com>
* | | | | | | | 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-1589-23/+1541
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | | | | | Clang: support creating a target for imported modulesBen Boeckel2024-04-122-0/+154
| | | | | | | | |
| * | | | | | | | MSVC: support `import std`Ben Boeckel2024-04-122-0/+105
| | | | | | | | |
| * | | | | | | | 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.
| * | | | | | | | CMakeDetermineCompilerId: extract C++ standard library implBen Boeckel2024-04-122-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is needed for C++ modules because `import std` support may differ based on the standard library implementation. Extract the information as necessary.
| * | | | | | | | Experimental: add an experimental feature gate for `import std`Ben Boeckel2024-04-1227-0/+179
| | | | | | | | |
| * | | | | | | | CMakeDetermineCompilerSupport: construct C++ modules targetsBen Boeckel2024-04-123-0/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Compilers may implement this by implementing a `_cmake_cxx_import_std` function which takes the standard version as an argument (e.g., `23`) and creating a target named `CMake::CXX${std}` that represents how `import std;` should be represented within CMake.
| * | | | | | | | ci: enable `import_std23` C++ module tests on MSVCBen Boeckel2024-04-111-1/+1
| | | | | | | | |
| * | | | | | | | cxxmodules: link to `std`-providing targets when availableBen Boeckel2024-04-115-1/+136
| | | | | | | | |
| * | | | | | | | 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.
| * | | | | | | | Tests/CXXModules: mask C++23 std module targetsBen Boeckel2024-04-115-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These tests mess with the availability of C++ module support. Hide generation of the utility targets from any compiler detection.
| * | | | | | | | 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-118-0/+64
| | | | | | | | |
| * | | | | | | | Tests/CXXModules: test using targets that import `std`Ben Boeckel2024-04-113-0/+37
| | | | | | | | |
| * | | | | | | | Tests/CXXModules: add tests for exporting `CXX_MODULE_STD`Ben Boeckel2024-04-1111-0/+243
| | | | | | | | |
| * | | | | | | | Tests/CXXModules: add tests that the C++ std targets don't get exportedBen Boeckel2024-04-119-0/+229
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These targets are purely internal and should never be exported.
| * | | | | | | | Tests/CXXModules; add tests for `CXX_MODULE_STD` behaviorBen Boeckel2024-04-117-0/+53
| | | | | | | | |
| * | | | | | | | Tests/CXXModules: add tests for genex usage in `CXX_MODULE_STD`Ben Boeckel2024-04-1111-0/+70
| | | | | | | | |
| * | | | | | | | Tests/CXXModules/vs-without-flags: use C++20Ben Boeckel2024-04-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | C++23 has complications with `import std` expectations.
| * | | | | | | | Tests/CXXModules: add a test for the `CXX_MODULE_STD` propertyBen Boeckel2024-04-115-0/+21
| | | | | | | | |
| * | | | | | | | Tests/CXXModules: add test case for `import std` supportBen Boeckel2024-04-113-0/+28
| | | | | | | | |
| * | | | | | | | cmExportFileGenerator: support always exporting propertiesBen Boeckel2024-04-111-9/+24
| | | | | | | | |
| * | | | | | | | Help/cmake-cxxmodules: describe the compilation strategyBen Boeckel2024-04-111-0/+43
| | | | | | | | |