summaryrefslogtreecommitdiffstats
path: root/Help/release/dev
Commit message (Collapse)AuthorAgeFilesLines
* Help: Drop development topic notes to prepare releaseBrad King2023-02-011-7/+0
| | | | | Release versions do not have the development topic section of the CMake Release Notes index page.
* Help: Consolidate 3.26 release notesBrad King2023-02-0125-160/+0
| | | | | Run the `Utilities/Release/consolidate-relnotes.bash` script to move notes from `Help/release/dev/*` into `Help/release/3.26.rst`.
* Help: Document experimental feature gate affecting CXX_SCAN_FOR_MODULESBrad King2023-02-011-5/+0
| | | | | | Also drop the release note for `CXX_SCAN_FOR_MODULES`, as the rest of the C++ modules support has not yet been mentioned in release notes (since it is still experimental).
* FindCUDAToolkit: Add support for CUDA::nvrtc_staticRobert Maynard2023-01-201-0/+5
|
* CYGWIN: Drop pre-2.8.4 compatibility mode CMAKE_LEGACY_CYGWIN_WIN32Brad King2023-01-191-0/+5
| | | | | | | | | | Prior to CMake 2.8.4 (released in 2011), we defined `WIN32` on CYGWIN. That was removed, but an undocumented `CMAKE_LEGACY_CYGWIN_WIN32` compatibility mode was left to help projects transition. Only projects that do not require at least 2.8.4 as their minimum CMake version need the compatibility mode. We've also long warned about projects that do not require at least 2.8.12, so it is now reasonable to remove the legacy compatibility mode.
* message: Add CONFIGURE_LOG mode to record a message in the configure logBrad King2023-01-181-0/+3
| | | | | | | Provide a replacement for `file(APPEND .../CMake{Output,Error}.log)` that records messages in the configure log. Issue: #23200
* Merge topic 'configure-log'Brad King2023-01-171-0/+8
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 48292c8624 try_compile: Record stack of in-progess checks in configure log d4bf7d80c6 try_compile: Add a NO_LOG option to skip recording in the configure log 9d9e8450a8 try_compile: Add optional LOG_DESCRIPTION to record in configure log 65ed5c2ca8 try_compile: Report underlying error when COPY_FILE fails 0418efb7ad Tests: Add explicit ConfigureLog case to RunCMake.try_compile 189557bd74 cmake: Make entire in-progress check stack available internally 96ce3581ab Help: Clarify backtrace order in cmake-configure-log(7) Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8072
| * try_compile: Add a NO_LOG option to skip recording in the configure logBrad King2023-01-161-0/+4
| |
| * try_compile: Add optional LOG_DESCRIPTION to record in configure logBrad King2023-01-161-0/+4
| | | | | | | | Issue: #23200
* | Merge topic 'ctest-no-tests-action-env-var'Brad King2023-01-171-0/+7
|\ \ | |/ |/| | | | | | | | | | | 0661de58d8 ctest(1): Add CTEST_NO_TESTS_ACTION env var Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8044
| * ctest(1): Add CTEST_NO_TESTS_ACTION env varfriendlyanon2023-01-131-0/+7
| | | | | | | | | | This environment variable provides a default value for the --no-tests=<action> command line argument.
* | Merge topic 'fea/add-copy_directory_if_different'Brad King2023-01-131-0/+4
|\ \ | | | | | | | | | | | | | | | | | | | | | c1170b5602 cmake: Add -E copy_directory_if_different Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8059
| * | cmake: Add -E copy_directory_if_differentRobert Maynard2023-01-121-0/+4
| |/ | | | | | | Fixes #21584
* | Merge topic 'bug/cuda-toolkit-support-arm64-sbsa'Brad King2023-01-121-0/+4
|\ \ | | | | | | | | | | | | | | | | | | | | | 743d4181b4 FindCUDAToolkit: Support cross-compilation to sbsa-linux e60fa80fbe FindCUDAToolkit: Handle CUDA::nvToolsExt not existing Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8057
| * | FindCUDAToolkit: Support cross-compilation to sbsa-linuxRobert Maynard2023-01-111-0/+4
| |/ | | | | | | Fixes #24192
* | Set CMAKE_<LANG>_COMPILER_FRONTEND_VARIANT on single-variant compilersRussell Greene2023-01-111-0/+6
|/ | | | | | | The `GNU` and `MSVC` compilers obviously use their own front-end command-line style. Also set this for `AppleClang`. Fixes: #24232
* FileAPI: Add "configureLog" object kindBrad King2022-12-171-0/+3
| | | | | | | Provide clients with a way to get a known set of configure log event versions. Issue: #23200
* ConfigureLog: Add infrastructure for structured configure event loggingMatthew Woehlke2022-12-161-0/+5
| | | | | | | | | | Add infrastructure for a "configure log". Use YAML for a balance of machine- and human-readability to records details of configure-time events in a structured format. Teach the RunCMake test framework to support matching the configure log. Issue: #23200
* COMPILE_DEFINITIONS property: ensure leading -D is removed in all casesMarc Chevrier2022-12-131-0/+6
| | | | Fixes: #24186
* VS: Add a variable to report the Visual Studio version build numberBrad King2022-12-071-0/+6
| | | | | | | | | | VS 2017 and above come with a Visual Studio Installer tool that tracks four-component Visual Studio version numbers. We already detect the VS version number because it is needed to make some generation decisions. Provide the number to projects in a `CMAKE_VS_VERSION_BUILD_NUMBER` variable so they can use it similarly. Fixes: #24230
* clang-tidy: add <LANG>_CLANG_TIDY_EXPORT_FIXES_DIR propertyKyle Edwards2022-12-061-0/+8
| | | | Fixes: #21362
* FindPython: add support for Stable ABIMarc Chevrier2022-11-291-0/+6
| | | | Fixes: #24141
* Merge topic 'custom-command-comment-genex'Brad King2022-11-221-0/+6
|\ | | | | | | | | | | | | | | | | 26d813092b add_custom_{command,target}: add genex support for COMMENT 60a5a39022 cmCustomCommandGenerator: refactor GetComment to return std::string Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7887
| * add_custom_{command,target}: add genex support for COMMENTPeter Würth2022-11-191-0/+6
| | | | | | | | | | | | | | | | | | | | Evaluate and expand generator expressions in the `COMMENT` argument of the `add_custom_command()` and `add_custom_target()` commands. This allows to include generator expressions, e.g. a targets location $<TARGET_...> or the current configuration $<CONFIG>, in the build-time messages. Fixes #22507
* | Merge topic 'xcode-ios-extensionkit'Brad King2022-11-211-0/+11
|\ \ | | | | | | | | | | | | | | | | | | b99c386122 Xcode: Allow bundling extensionkit extensions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7900
| * | Xcode: Allow bundling extensionkit extensionsRussell Greene2022-11-181-0/+11
| |/ | | | | | | Fixes: #24150
* | Merge topic 'lang-std-flag-order'Brad King2022-11-211-0/+7
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | a1c20b08b4 cmLocalGenerator: Inline AddCompilerRequirementFlag in only call site 914571a042 Place language standard flags just after CMAKE_<LANG>_FLAGS ad16ae5c70 VS: Recognize -std: flag in CMAKE_C_FLAGS in target with C++ sources Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7931
| * | Place language standard flags just after CMAKE_<LANG>_FLAGSBrad King2022-11-181-0/+7
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we added the language standard flag near the end of all options, even after those added by `add_compile_options` and friends. However, on some compilers such as MSVC, the `-std` flag may reset defaults for flags that precede it on the command line. Move the language standard flag to before all other flags that CMake adds for other abstractions, and before those added by `add_compile_options`. `CMAKE_<LANG>_FLAGS` should still precede the language flags though, because they are meant to be treated as language-wide modifications to the compiler defaults, similar to `$CC $CFLAGS`. Fixes: #23860 Fixes: #24170
* | Merge topic 'cxx-scanning-properties'Brad King2022-11-211-0/+5
|\ \ | |/ |/| | | | | | | | | | | a02d792c6e cxxmodules: add properties to control scanning 008c09d6db cmNinjaTargetGenerator: factor out determining the fileset of a source Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7935
| * cxxmodules: add properties to control scanningBen Boeckel2022-11-181-0/+5
| | | | | | | | | | | | The `CXX_SCAN_FOR_MODULES` property may be used to control scanning for targets and for source files rather than assuming "C++20 always needs to be scanned".
* | Genex: Add $<BUILD_LOCAL_INTERFACE:...> genexKyle Edwards2022-11-171-0/+5
|/ | | | Fixes: #23209
* Merge topic 'cmake-E-copy-t-mode'Brad King2022-11-151-0/+4
|\ | | | | | | | | | | | | 8d9069e5b6 cmake -E copy: Add support for -t argument Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7913
| * cmake -E copy: Add support for -t argumentKyle Edwards2022-11-151-0/+4
| | | | | | | | Fixes: #23543
* | project: Warn at top-level if `cmake_minimum_required` wasn't calledfriendlyanon2022-11-111-0/+6
|/ | | | | | | The top-level project() call will now issue an AUTHOR_WARNING if it wasn't called after cmake_minimum_required(). Fixes: #24071
* ASM_MARMASM: Add support for Microsoft ARM assembler languageIlia K2022-11-091-0/+4
| | | | | | https://learn.microsoft.com/en-us/cpp/assembler/arm/arm-assembler-reference Fixes: #23999
* Merge topic 'file-set-file-api'Brad King2022-11-091-0/+9
|\ | | | | | | | | | | | | | | b3e9fb67bb file-api: support exporting file set information Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7867
| * file-api: support exporting file set informationBen Boeckel2022-11-081-0/+9
| | | | | | | | | | | | | | This includes listing the filesets themselves as well as which file set (if any) each source file is associated with. Fixes: #24128
* | Merge topic 'use_folders_on_by_default'Brad King2022-11-081-0/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | d3acd22380 USE_FOLDERS: Treat as on by default Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Amir Masoud Abdol <amirmasoudabdol@icloud.com> Merge-request: !7830
| * | USE_FOLDERS: Treat as on by defaultJuan Ramos2022-11-081-0/+5
| | | | | | | | | | | | | | | | | | | | | Add a policy to treat the `USE_FOLDERS` global property as ON by default if it is not set. Fixes: #21695
* | | ExternalProject: Add `INSTALL_BYPRODUCTS` optionAlois Klink2022-11-051-0/+6
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Add an `INSTALL_BYPRODUCTS` option to `ExternalProject_Add` that can be used to declare that files are `BYPRODUCTS` of the ExternalProject install step. This is often required by the Ninja generator to explicitly declare dependencies. Previously, many users used `BUILD_BYPRODUCTS`, even if their files were created by the install step, not the build step. This commit essentially just copies the code for `BUILD_BYPRODUCTS`. Fixes: #24120 Fixes: #23056
* | EXPORT_COMPILE_COMMANDS: add `output` fieldBen Boeckel2022-10-281-0/+7
|/ | | | | | | | Also write for all configurations from multi-config generators. This field was added in the Clang 5 documentation and not present in the Clang 4 documentation (sometime between Dec 2016 and Mar 2017 according to `web.archive.org`).
* string(TIMESTAMP): Add %z and %Z for adding time zone stringVasiliy Koyrev2022-10-271-0/+5
| | | | Fixes: #24056
* Merge topic 'trace-try_compile'Brad King2022-10-171-0/+5
|\ | | | | | | | | | | | | | | 5ba51621af try_compile: Propagate --trace through try_compile Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7757
| * try_compile: Propagate --trace through try_compileMatthew Woehlke2022-10-111-0/+5
| | | | | | | | | | Add ability to specify another cmake instance from which to get the trace output target. Use this during try_compile.
* | UseSWIG: Add support of perl5 languageMarc Chevrier2022-10-141-0/+4
|/
* Begin post-3.25 developmentBrad King2022-10-111-0/+7
|
* Help: Drop development topic notes to prepare releaseBrad King2022-10-111-7/+0
| | | | | Release versions do not have the development topic section of the CMake Release Notes index page.
* Help: Consolidate 3.25 release notesBrad King2022-10-0740-273/+0
| | | | | Run the `Utilities/Release/consolidate-relnotes.bash` script to move notes from `Help/release/dev/*` into `Help/release/3.25.rst`.
* Merge topic 'clang-tidy-prefer-p-option'Brad King2022-10-071-0/+5
|\ | | | | | | | | | | | | 3f4e0839c4 clang-tidy: Don't append compiler commands if using -p Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7753
| * clang-tidy: Don't append compiler commands if using -pCraig Scott2022-10-071-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | When the -p option is given to clang-tidy, it doesn't need the compile command line to be appended. It can get everything it needs from the compile_commands.json file in the directory specified with the -p option. When the compiler being used is not the system default compiler, clang-tidy has been observed to pick up the wrong headers when the compiler command line is given, but not if only the -p option is used. Therefore, don't append the compiler command line if -p is present in the <LANG>_CLANG_TIDY target property. Fixes: #24017