summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'export-no-shdeps'Brad King2022-08-1610-0/+71
|\ | | | | | | | | | | | | 0ebff0d61a export: Restore exclusion of private shared library dependencies from checks Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7557
| * export: Restore exclusion of private shared library dependencies from checksBrad King2022-08-1510-0/+71
| | | | | | | | | | | | | | | | | | | | | | Refactoring in commit 8c65b7042e (cmExportFileGenerator: Simplify collection of targets missing from export set, 2022-04-11, v3.24.0-rc1~281^2) accidentally dropped the behavior change from commit 0ad2a1c181 (Export: Never treat private link libraries as public package dependencies., 2013-09-24, v3.0.0-rc1~559^2). Restore the behavior and add a test. Fixes: #23838
* | Merge branch 'release-3.24'Brad King2022-08-160-0/+0
|\ \
| * \ Merge topic 'automoc-silence-warnings' into release-3.24Brad King2022-08-161-9/+9
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 844244ccdc automoc: avoid compiler warnings in linker-warning-silencing code Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7558
* | \ \ Merge topic 'automoc-silence-warnings'Brad King2022-08-161-9/+9
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | 844244ccdc automoc: avoid compiler warnings in linker-warning-silencing code Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7558
| * | | automoc: avoid compiler warnings in linker-warning-silencing codeAlbert Astals Cid2022-08-101-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revise the code added by !7296 (merged). Make cmake_automoc_silence_linker_warning less warning-y. Fix weak-tables clang warning and copyable-polymorph clazy warning. Fixes: #23823
* | | | Merge branch 'release-3.24'Craig Scott2022-08-160-0/+0
|\ \ \ \ | | |/ / | |/| |
| * | | Merge topic 'doc-warning-as-error' into release-3.24Craig Scott2022-08-161-0/+25
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 680fe820c6 Help: A missing cross-reference to --compile-no-warning-as-error 7ad89f8fb1 Help: List compiler IDs supported by COMPILE_WARNING_AS_ERROR Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7561
* | \ \ \ Merge topic 'doc-warning-as-error'Craig Scott2022-08-161-0/+25
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2c6e379c89 Merge branch 'backport-3.24-doc-warning-as-error' into doc-warning-as-error bba3ec96b0 Help: A missing cross-reference to --compile-no-warning-as-error 2c1a746343 Merge branch 'backport-3.24-doc-warning-as-error' into doc-warning-as-error 680fe820c6 Help: A missing cross-reference to --compile-no-warning-as-error 7ad89f8fb1 Help: List compiler IDs supported by COMPILE_WARNING_AS_ERROR Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7561
| * \ \ \ \ Merge branch 'backport-3.24-doc-warning-as-error' into doc-warning-as-errorBrad King2022-08-150-0/+0
| |\ \ \ \ \ | | | |/ / / | | |/| | |
| | * | | | Help: A missing cross-reference to --compile-no-warning-as-errorCraig Scott2022-08-151-0/+2
| | | | | |
| * | | | | Help: A missing cross-reference to --compile-no-warning-as-errorCraig Scott2022-08-151-0/+2
| | | | | |
| * | | | | Merge branch 'backport-3.24-doc-warning-as-error' into doc-warning-as-errorBrad King2022-08-151-0/+23
| |\ \ \ \ \ | | |/ / / /
| | * | | | Help: List compiler IDs supported by COMPILE_WARNING_AS_ERRORCraig Scott2022-08-151-0/+23
| | | |/ / | | |/| |
* | | | | CMake Nightly Date StampKitware Robot2022-08-161-1/+1
| | | | |
* | | | | Merge topic 'nvtx3'Brad King2022-08-152-0/+40
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cd200c6c2d FindCUDAToolkit: nvtx3 target Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7568
| * | | | | FindCUDAToolkit: nvtx3 targetRaul Tambre2022-08-132-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | nvtx3 is a header-only replacement for the previous shared library implementations. I implemented it as a separate target since while the header names match and ideally it should be API compatible, forcing its include directory into the old target would lengthen the include search path and could cause confusion or possible build differences for projects using multiple build systems. This keeps it explicit as a developer opt-in. Implements: #21377 Resolves: #23835
* | | | | | Merge branch 'release-3.24'Brad King2022-08-150-0/+0
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | |
| * | | | | Merge topic 'warning-as-error-ti-compiler' into release-3.24Brad King2022-08-152-0/+12
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1cd65dfa0e TI compiler: Add support for COMPILE_WARNING_AS_ERROR target property Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Josef Angstenberger <code@jtxa.de> Merge-request: !7560
* | \ \ \ \ \ Merge topic 'warning-as-error-ti-compiler'Brad King2022-08-152-0/+12
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1cd65dfa0e TI compiler: Add support for COMPILE_WARNING_AS_ERROR target property Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Josef Angstenberger <code@jtxa.de> Merge-request: !7560
| * | | | | | TI compiler: Add support for COMPILE_WARNING_AS_ERROR target propertyCraig Scott2022-08-112-0/+12
| | |_|_|/ / | |/| | | |
* | | | | | Merge branch 'release-3.24'Brad King2022-08-150-0/+0
|\ \ \ \ \ \ | | |/ / / / | |/| | | |
| * | | | | Merge topic 'mingw-flto' into release-3.24Brad King2022-08-151-1/+8
| |\ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 7b2a87c2eb IPO: Do not use -flto=auto with GCC 10.x on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7559
* | | | | | Merge topic 'mingw-flto'Brad King2022-08-151-1/+8
|\ \ \ \ \ \ | | |/ / / / | |/| | / / | |_|_|/ / |/| | | | | | | | | | | | | | 7b2a87c2eb IPO: Do not use -flto=auto with GCC 10.x on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7559
| * | | | IPO: Do not use -flto=auto with GCC 10.x on WindowsBrad King2022-08-101-1/+8
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revise the change from commit fe57410b33 (IPO: Use -flto=auto if compiler is GCC >= 10.1, 2022-06-22, v3.24.0-rc2~2^2) to require at least GCC 11 on Windows. Fixes: #23836 Issue: #23640
* | | | CMake Nightly Date StampKitware Robot2022-08-151-1/+1
| | | |
* | | | Merge topic 'FetchContent-protobuf-example-CMP0077'Craig Scott2022-08-141-3/+4
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b57681dc34 FetchContent: Fix protobuf example to avoid CMP0077 warning Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7565
| * | | | FetchContent: Fix protobuf example to avoid CMP0077 warningHarald Fernengel2022-08-121-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The protobuf example would raise a "Policy CMP0077" warning and protobuf tests would still be built, e.g. setting the variable is ignored in latest CMake. Set an INTERNAL cache variable instead so that CMP0077 warnings won't be triggered.
* | | | | Merge topic 'doc-MSVC_RUNTIME_LIBRARY-init'Craig Scott2022-08-141-1/+3
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c1b07ca9da Help: MSVC_RUNTIME_LIBRARY is initialized from associated variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7566
| * | | | | Help: MSVC_RUNTIME_LIBRARY is initialized from associated variableCraig Scott2022-08-121-1/+3
| |/ / / / | | | | | | | | | | | | | | | | | | | | The CMAKE_MSVC_RUNTIME_LIBRARY variable docs mention that it initializes the MSVC_RUNTIME_LIBRARY target property, but the property's docs was missing any mention of the variable.
* | | | | CMake Nightly Date StampKitware Robot2022-08-141-1/+1
| |_|_|/ |/| | |
* | | | CMake Nightly Date StampKitware Robot2022-08-131-1/+1
| | | |
* | | | Merge topic 'linux-var'Craig Scott2022-08-125-0/+13
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | 62cd3904bf variable: Set LINUX variable on Linux target systems Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7556
| * | | variable: Set LINUX variable on Linux target systemsCristian Adam2022-08-115-0/+13
| | | | | | | | | | | | Fixes: #23840
* | | | CMake Nightly Date StampKitware Robot2022-08-121-1/+1
| | | |
* | | | CMake Nightly Date StampKitware Robot2022-08-111-1/+1
|/ / /
* | | Merge topic 'doc-ctest-multi-built-target'Brad King2022-08-101-2/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | ce58311b31 Help: --build-target can be repeated in ctest --build-and-test mode Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7555
| * | | Help: --build-target can be repeated in ctest --build-and-test modeCraig Scott2022-08-101-2/+5
| | | |
* | | | Merge topic 'tutorial_genExp_rearrange'Brad King2022-08-1042-313/+224
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ccba87b05b Tutorial: Move step 10 to step 4 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7506
| * | | | Tutorial: Move step 10 to step 4Markus Ferrell2022-08-0842-313/+224
| | | | | | | | | | | | | | | | | | | | Shifts steps 4-9 to 5-10.
* | | | | Merge topic 'FindGTK2-homebrew'Brad King2022-08-101-0/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 899390fd7b FindGTK2: Search homebrew paths for arch-specific headers Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7552
| * | | | | FindGTK2: Search homebrew paths for arch-specific headersDominic Hamon2022-08-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Without this, CMake fails to find brew-installed GTK2 on macOS. With it, GTK2 is found.
* | | | | | Merge topic 'doc-cxx-modules'Brad King2022-08-103-10/+10
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5d76ff6019 Help: Fix formatting of CMAKE_EXPERIMENTAL_CXX_MODULE_CMAKE_API notes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7553
| * | | | | | Help: Fix formatting of CMAKE_EXPERIMENTAL_CXX_MODULE_CMAKE_API notesBrad King2022-08-093-10/+10
| | |_|/ / / | |/| | | |
* | | | | | Merge topic 'fortran-module-dep'Brad King2022-08-108-386/+392
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 219a9b1e14 Fortran: Fix suprious dependencies with submodules a7211d6a2f Fortran: Teach lexer to handle CRLF newlines Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7529
| * | | | | | Fortran: Fix suprious dependencies with submodulesVitaly Mogulian2022-08-096-194/+191
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit 695f0d0d3a (cmFortranParser: Parse keywords as lexical tokens, 2016-09-05, v3.7.0-rc1~150^2) we created keyword-specific variants of the original `USE WORD other EOSTMT` production, such as `MODULE WORD other EOSTMT` and `INTERFACE WORD other EOSTMT`. The same pattern was used by more keyword-specific productions in commit b5ac8b8aa7 (Fortran: Add support for submodule syntax in dependency scanning, 2016-09-05, v3.7.0-rc1~73^2~1). The postfix part (`other`) of several keyword-specific productions is not needed to match Fortran syntax. See the Fortran 2018 standard, para.4.1.4/1 on p.28, para.14.2.1/2 on pp.293-294. The postfix is needed only for a case of operator 'use': use <module-name> [, only : <list-of-vars>] The unnecessary postfix matching from the keyword-specific productions such as module, submodule, and interface declarations can cause spurious module dependencies to be detected, so remove it. Extend the test suite with examples covering the previously-broken cases. Fixes: #18427
| * | | | | | Fortran: Teach lexer to handle CRLF newlinesBrad King2022-08-092-192/+201
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We read sources in binary format, so we need to explicitly match CR (`\r`) characters that occur as part of newlines in CRLF sources. This is particularly important when line continuation (`&`) occurs in the middle of module declaration or usage.
* | | | | | | Merge topic 'ExternalProject-BUILD_ALWAYS-install'Brad King2022-08-105-0/+64
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 81fd0d6e26 ExternalProject: Fix install on BUILD_ALWAYS+BUILD_BYPRODUCTS with Ninja d9e88721ad ExternalProject: Add test case for BUILD_ALWAYS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7546
| * | | | | | | ExternalProject: Fix install on BUILD_ALWAYS+BUILD_BYPRODUCTS with NinjaMaik Nijhuis2022-08-092-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `BUILD_BYPRODUCTS` option causes the ExternalProject's `build` step in `build.ninja` to have `restat = 1`, so its "always out-of-date" status caused by `BUILD_ALWAYS` does not propagate to the `install` step. Mark the latter step as explicitly always out-of-date too. Fixes: #23820
| * | | | | | | ExternalProject: Add test case for BUILD_ALWAYSBrad King2022-08-094-0/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We did not previously have a dedicated explicit test for this option. Issue: #23820