https://github.com/Kitware/CMake

sort by:
Revision Author Date Message Commit Date
90607d1 Merge topic 'mingw-windres' e9755bc7c1 MinGW: Restore using windres when toolchain-prefixed name is not available Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7574 16 August 2022, 16:43:53 UTC
d83505b Merge topic 'mingw-windres' into release-3.24 e9755bc7c1 MinGW: Restore using windres when toolchain-prefixed name is not available Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7574 16 August 2022, 16:43:52 UTC
5a3a529 Merge branch 'release-3.24' 16 August 2022, 16:42:21 UTC
ea73a8e Merge topic 'export-no-shdeps' 0ebff0d61a export: Restore exclusion of private shared library dependencies from checks Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7557 16 August 2022, 16:42:21 UTC
349071d Merge topic 'export-no-shdeps' into release-3.24 0ebff0d61a export: Restore exclusion of private shared library dependencies from checks Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7557 16 August 2022, 16:42:20 UTC
db1a284 Merge branch 'release-3.24' 16 August 2022, 16:40:49 UTC
c082c5c Merge topic 'automoc-silence-warnings' 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 16 August 2022, 16:40:48 UTC
5bd618b Merge topic 'automoc-silence-warnings' into release-3.24 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 16 August 2022, 16:40:47 UTC
9c5bd7f CompilerId: Output errors from all attempts at detection Instead of printing the output of the last attempt, print the output of all attempts. This shows users that CMake isn't ignoring any provided flags ( LANG_FLAGS ). 16 August 2022, 15:59:46 UTC
9ce5018 Merge branch 'release-3.24' 16 August 2022, 10:57:32 UTC
69d5843 Merge topic 'doc-warning-as-error' 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 16 August 2022, 10:57:32 UTC
e6038c0 Merge topic 'doc-warning-as-error' into release-3.24 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 16 August 2022, 10:57:31 UTC
35759e2 Fortran: cleanup compiler default search list Made GNU gfortran be last in the list as per the docstring immmediately preceding. One high-level version-free name per vendor. 16 August 2022, 10:20:06 UTC
ca2f19c CMake Nightly Date Stamp 16 August 2022, 04:01:09 UTC
a5d45e6 Tests: Add case for ENVIRONMENT_MODIFICATION property OP=reset behavior When processing the reset operation in the context of a CTest `ENVIRONMENT_MODIFICATION` property, the value the variable is reset to is the one it had after `ENVIRONMENT` was processed, not before. This was broken once during refactoring and is subtle enough that it should be tested. 15 August 2022, 18:19:21 UTC
e2854b4 cmCTestRunTest: Implement the ENVIRONMENT test property with EnvDiff too Going through the same internal API for both `ENVIRONMENT` and `ENVIRONMENT_MODIFICATION` properties will make it easier to implement checkpointing for `MYVAR=reset:` more efficiently if the need ever presents itself. It also makes the two-stage nature of the environment mutation clearer in the code itself. 15 August 2022, 18:19:16 UTC
bfa1c52 cmSystemTools: Add EnvDiff class to hold ENVIRONMENT_MODIFICATION logic Prepare to re-use this logic when enhancing `cmake -E env`. 15 August 2022, 18:11:47 UTC
a0b1c4e cmCTestRunTest: Simplify by using GetSystemPathlistSeparator Part of the implementation of `ENVIRONMENT_MODIFICATION` replicated the logic in this function. Using it here de-duplicates code and will be useful during the upcoming refactoring. 15 August 2022, 18:11:20 UTC
4e6cbb1 cmCTestRunTest: Remove unnecessary CMAKE_BOOTSTRAP guard CTest is not compiled during CMake's `bootstrap` build. 15 August 2022, 18:10:34 UTC
e9755bc MinGW: Restore using windres when toolchain-prefixed name is not available Since commit 55ba10dcfd (MSYS/MinGW Makefiles: Simplify selection of windres as Resource Compiler, 2022-05-26, v3.24.0-rc1~82^2) the `MinGW Makefiles` and `MSYS Makefiles` generators no longer specify the plain `windres` name for the MinGW resource compiler. Instead, the name is specified in our MinGW platform information module. After the change in commit af4adf6aa9 (MinGW: Fix default windres selection when cross-compiling, 2020-03-25, v3.18.0-rc1~492^2), when cross-compiling, we only specify the toolchain-prefixed name of the tool, which may not be available in all environments. If the toolchain-prefixed name is not available, fall back to the plain `windres` name. We already use this approach for other binutils. Fixes: #23841 15 August 2022, 17:57:58 UTC
52dc49d NVHPC: Enable PIE support on linux 15 August 2022, 17:39:30 UTC
a843052 Help: `CMAKE_<LANG>_COMPILER_ID` turn code block into table 15 August 2022, 16:37:25 UTC
953d729 Tutorial: Collapse step 1 solutions 15 August 2022, 16:06:46 UTC
c59e164 Tutorial: Add Step 1 background info and update style 15 August 2022, 16:06:34 UTC
4befac3 Merge topic 'nvtx3' cd200c6c2d FindCUDAToolkit: nvtx3 target Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7568 15 August 2022, 15:26:23 UTC
2c6e379 Merge branch 'backport-3.24-doc-warning-as-error' into doc-warning-as-error 15 August 2022, 15:09:11 UTC
bba3ec9 Help: A missing cross-reference to --compile-no-warning-as-error 15 August 2022, 15:08:38 UTC
2c1a746 Merge branch 'backport-3.24-doc-warning-as-error' into doc-warning-as-error 15 August 2022, 15:06:59 UTC
680fe82 Help: A missing cross-reference to --compile-no-warning-as-error 15 August 2022, 15:06:51 UTC
7ad89f8 Help: List compiler IDs supported by COMPILE_WARNING_AS_ERROR 15 August 2022, 15:06:31 UTC
a1dbe7b Merge branch 'release-3.24' 15 August 2022, 14:51:45 UTC
c5f6d93 Merge topic 'warning-as-error-ti-compiler' 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 15 August 2022, 14:51:45 UTC
732cad4 Merge topic 'warning-as-error-ti-compiler' into release-3.24 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 15 August 2022, 14:51:44 UTC
c1285c1 Merge branch 'release-3.24' 15 August 2022, 14:48:27 UTC
d0a307d Merge topic 'mingw-flto' 7b2a87c2eb IPO: Do not use -flto=auto with GCC 10.x on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7559 15 August 2022, 14:48:27 UTC
2d08a35 Merge topic 'mingw-flto' into release-3.24 7b2a87c2eb IPO: Do not use -flto=auto with GCC 10.x on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7559 15 August 2022, 14:48:26 UTC
0ebff0d export: Restore exclusion of private shared library dependencies from checks 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 15 August 2022, 14:40:03 UTC
7f2eada CMake Nightly Date Stamp 15 August 2022, 04:01:27 UTC
0224576 Help: Replace `cmake -P` option mentions w/ Sphinx role 14 August 2022, 05:58:42 UTC
1b94770 Help: Insert link to `cmake --toolchain` option 14 August 2022, 05:58:42 UTC
2c54cd8 Help: Turn items of presets manual page into description list It was an ordinal paragraphs (`<p>`) intermixed with blockquote elements. 14 August 2022, 05:58:41 UTC
e2198fd Help: Format `-Werror`/`-Wno-error` in the way it can be referenced Replace mentions of these options in the presets manual page. 14 August 2022, 05:58:41 UTC
a6070b4 Help: Use placeholder instead of listing choices in option lines This avoids any ambiguity with whether the choices are literal values or not. It also makes the option lines more concise. 14 August 2022, 05:58:41 UTC
8ba20cb Help: Simplify `cmake --log-level` option definition 14 August 2022, 05:58:41 UTC
146e4e6 Help: Split `ctest` options into groups like `cmake` man page has Co-Authored-By: Craig Scott <craig.scott@crascit.com> 14 August 2022, 05:58:41 UTC
4c1008d Help: Use `:option:` role to reference `ctest` options 14 August 2022, 05:58:41 UTC
c401fc5 Help: Simplify optional repeating option Similar form has already been used in the `ctest -M <mode> [-T <step>]...` synopsis and looks quite clean w/o extra characters. 14 August 2022, 05:58:41 UTC
28ecfd1 Help: Short options first, then long, then Windows style 14 August 2022, 05:58:41 UTC
57f23fa Help: `{<…> | <…>}` → `<…|…>` The form of alternative names for "placeholders" has been used already (e.g., `<file|dir>` in the `cmake(1)` manual). 14 August 2022, 05:58:41 UTC
5a20d4c Help: Consistent spaces in option args 14 August 2022, 05:58:41 UTC
798834e Help: `<f>` → `<file>` for `--help*` option descriptions 14 August 2022, 05:58:41 UTC
a57ad5e Merge topic 'FetchContent-protobuf-example-CMP0077' b57681dc34 FetchContent: Fix protobuf example to avoid CMP0077 warning Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7565 14 August 2022, 05:17:27 UTC
db9453b Merge topic 'doc-MSVC_RUNTIME_LIBRARY-init' c1b07ca9da Help: MSVC_RUNTIME_LIBRARY is initialized from associated variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7566 14 August 2022, 05:13:51 UTC
6752268 CMake Nightly Date Stamp 14 August 2022, 04:01:09 UTC
cd200c6 FindCUDAToolkit: nvtx3 target 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 13 August 2022, 20:52:42 UTC
dc5bf8f CMake Nightly Date Stamp 13 August 2022, 04:01:12 UTC
b57681d FetchContent: Fix protobuf example to avoid CMP0077 warning 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. 12 August 2022, 23:44:45 UTC
cb2f1f6 Merge topic 'linux-var' 62cd3904bf variable: Set LINUX variable on Linux target systems Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7556 12 August 2022, 23:32:45 UTC
c1b07ca Help: MSVC_RUNTIME_LIBRARY is initialized from associated variable 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. 12 August 2022, 23:11:35 UTC
c4a07be CMake Nightly Date Stamp 12 August 2022, 04:01:07 UTC
1cd65df TI compiler: Add support for COMPILE_WARNING_AS_ERROR target property 11 August 2022, 22:27:19 UTC
62cd390 variable: Set LINUX variable on Linux target systems Fixes: #23840 11 August 2022, 21:20:05 UTC
7b2359a Xcode: don't set SKIP_PRECOMPILE_HEADERS when source has no language Resources that should go into "Copy Bundle Resources" build phase are added as source files but don't have an associated language Fixes: #23821 11 August 2022, 12:26:30 UTC
5d0685a CMake Nightly Date Stamp 11 August 2022, 04:01:15 UTC
844244c automoc: avoid compiler warnings in linker-warning-silencing code 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 10 August 2022, 20:03:11 UTC
7b2a87c IPO: Do not use -flto=auto with GCC 10.x on Windows 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 10 August 2022, 18:49:34 UTC
1493ed1 Merge topic 'doc-ctest-multi-built-target' ce58311b31 Help: --build-target can be repeated in ctest --build-and-test mode Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7555 10 August 2022, 13:24:02 UTC
7e580e4 Merge topic 'tutorial_genExp_rearrange' ccba87b05b Tutorial: Move step 10 to step 4 Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7506 10 August 2022, 13:21:32 UTC
9d5a129 Merge topic 'FindGTK2-homebrew' 899390fd7b FindGTK2: Search homebrew paths for arch-specific headers Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7552 10 August 2022, 13:19:49 UTC
b77847a Merge topic 'doc-cxx-modules' 5d76ff6019 Help: Fix formatting of CMAKE_EXPERIMENTAL_CXX_MODULE_CMAKE_API notes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7553 10 August 2022, 13:18:59 UTC
20e544e Merge topic 'fortran-module-dep' 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 10 August 2022, 13:17:33 UTC
3907c08 Merge topic 'ExternalProject-BUILD_ALWAYS-install' 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 10 August 2022, 13:14:33 UTC
ce58311 Help: --build-target can be repeated in ctest --build-and-test mode 10 August 2022, 06:40:00 UTC
29115e7 CMake Nightly Date Stamp 10 August 2022, 04:01:10 UTC
7f4b90a Help: Fix `ctest` options description Missed empty line after `.. option::` and the next paragraph. 09 August 2022, 20:46:24 UTC
5d76ff6 Help: Fix formatting of CMAKE_EXPERIMENTAL_CXX_MODULE_CMAKE_API notes 09 August 2022, 17:05:34 UTC
899390f FindGTK2: Search homebrew paths for arch-specific headers Without this, CMake fails to find brew-installed GTK2 on macOS. With it, GTK2 is found. 09 August 2022, 13:25:23 UTC
f7a13be Merge branch 'release-3.24' 09 August 2022, 13:16:44 UTC
8100f11 Merge topic 'FindThreads-msvc-no-pthread-flag' 7203963788 FindThreads: Skip check for -pthread flag when targeting the MSVC ABI Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7551 09 August 2022, 13:16:43 UTC
425f6a0 Merge topic 'FindThreads-msvc-no-pthread-flag' into release-3.24 7203963788 FindThreads: Skip check for -pthread flag when targeting the MSVC ABI Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7551 09 August 2022, 13:16:42 UTC
219a9b1 Fortran: Fix suprious dependencies with submodules 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 09 August 2022, 13:11:30 UTC
a7211d6 Fortran: Teach lexer to handle CRLF newlines 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. 09 August 2022, 13:09:51 UTC
81fd0d6 ExternalProject: Fix install on BUILD_ALWAYS+BUILD_BYPRODUCTS with Ninja 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 09 August 2022, 12:27:11 UTC
d9e8872 ExternalProject: Add test case for BUILD_ALWAYS We did not previously have a dedicated explicit test for this option. Issue: #23820 09 August 2022, 12:27:03 UTC
241fc83 CMake Nightly Date Stamp 09 August 2022, 04:01:12 UTC
ccba87b Tutorial: Move step 10 to step 4 Shifts steps 4-9 to 5-10. 08 August 2022, 21:15:48 UTC
7203963 FindThreads: Skip check for -pthread flag when targeting the MSVC ABI Since commit 3257c34073 (FindThreads: avoid failing in AIX when using -D_XOPEN_SOURCE=500, 2022-04-30, v3.24.0-rc1~197^2) we no longer check for `pthreads.h` before checking for the `-pthread` flag. Compilers targeting the MSVC ABI do not have such a flag, so avoid performing the check unnecessarily. Fixes: #23829 08 August 2022, 16:41:57 UTC
ed86192 Merge topic 'doc-markup-program-options' a6abdf6c8f Help: Consistent options declaration -- short first, then long f4563f05db Help: Value for `--graphviz=` option actually is mandatory 04843d743e Help: Replace a bunch of more ``--option`` to `:option:` role 09446266ee Help: Replace mentions of ``-D`` option with :option:`-D` role b57f27b087 Help: Replace mentions of ``-T`` and ``-A`` options with role d25b232dee Help: Replace mentions of ``-G`` option with :option:`-G` role 63940e1cab Help: Replace mentions of ``-C`` option with :option:`-C` role 183a49cbfe Help: Replace mentions of ``-S`` option with :option:`-S` role ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7544 08 August 2022, 13:39:41 UTC
33d2491 CMake Nightly Date Stamp 08 August 2022, 04:01:11 UTC
767052c CMake Nightly Date Stamp 07 August 2022, 04:01:05 UTC
40db0c3 CMake Nightly Date Stamp 06 August 2022, 04:01:10 UTC
c3da25f Merge topic 'string-JSON-error-typo' e0d3e6e147 string(JSON): Fix typo in error message Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7547 05 August 2022, 12:54:53 UTC
ac00b37 Merge topic 'swift_debug' 20fe9cf7e9 Swift: Disable optimization when compiling in Debug Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7545 05 August 2022, 12:53:58 UTC
9274bdf Merge topic 'find_package-one-more-path' 19366408fe cmFindPackageCommand: Protect overrides of `cmDirectoryListGenerator` e55c154c5b cmFindPackageCommand: Add one more search path Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7542 05 August 2022, 12:53:09 UTC
ba2a9fb CMake Nightly Date Stamp 05 August 2022, 04:01:13 UTC
e0d3e6e string(JSON): Fix typo in error message `s/then/than/` in a comparison. 04 August 2022, 19:50:59 UTC
a6abdf6 Help: Consistent options declaration -- short first, then long 04 August 2022, 15:34:45 UTC
f4563f0 Help: Value for `--graphviz=` option actually is mandatory Before it was `[file]` that AFAIK means optional. 04 August 2022, 15:34:45 UTC
04843d7 Help: Replace a bunch of more ``--option`` to `:option:` role 04 August 2022, 15:34:45 UTC
0944626 Help: Replace mentions of ``-D`` option with :option:`-D` role 04 August 2022, 15:34:45 UTC
back to top