summaryrefslogtreecommitdiffstats
path: root/Help/release/dev
Commit message (Collapse)AuthorAgeFilesLines
* Begin post-3.21 developmentBrad King2021-06-171-0/+7
|
* Help: Drop development topic notes to prepare releaseBrad King2021-06-171-7/+0
| | | | | Release versions do not have the development topic section of the CMake Release Notes index page.
* Help: Consolidate 3.21 release notesBrad King2021-06-1458-343/+0
| | | | | Run the `Utilities/Release/consolidate-relnotes.bash` script to move notes from `Help/release/dev/*` into `Help/release/3.21.rst`.
* Merge topic 'objc-std-17-23'Brad King2021-06-141-0/+4
|\ | | | | | | | | | | | | | | e8dc95ae1e ObjectiveC: Add C17 and C23 support Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Raul Tambre <raul@tambre.ee> Merge-request: !6219
| * ObjectiveC: Add C17 and C23 supportGregor Jasny2021-06-111-0/+4
| | | | | | | | Issue: #22297
* | Add directory property to list imported targetsBrad King2021-06-101-0/+6
| | | | | | | | | | | | | | Model the change after commit cbca65826c (Add directory property to list buildsystem targets, 2016-09-19, v3.7.0-rc1~79^2~1). Fixes: #22291
* | Merge topic 'vs-custom-depfile'Brad King2021-06-102-5/+6
|\ \ | |/ |/| | | | | | | | | | | | | | | 526e2ef71c VS: Add support for add_custom_command DEPFILE 794ad78abb Help: Generalize release note filename for add_custom_command DEPFILE 7291f31254 cmTransformDepfile: Add support for MSBuild AdditionalInputs format a6de8ec51b cmTransformDepfile: Make directory for transformed depfile automatically Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6206
| * VS: Add support for add_custom_command DEPFILEBrad King2021-06-091-1/+2
| | | | | | | | | | | | | | | | Transform the depfile into MSBuild `AdditionalInputs` content. Add MSBuild Targets to update `AdditionalInputs` and the `.tlog` files for future builds without actually modifying the `.vcxproj` file. Fixes: #20286
| * Help: Generalize release note filename for add_custom_command DEPFILEBrad King2021-06-092-5/+5
| | | | | | | | | | Rename the note added by commit d67cc4882d (Xcode: Add support of DEPFILE for add_custom_command, 2021-04-15) to be more general.
* | Merge topic 'ctest_measurement_file'Brad King2021-06-092-0/+13
|\ \ | | | | | | | | | | | | | | | | | | cbcb92d1cb ctest: add support for attaching files to tests at run time Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6192
| * | ctest: add support for attaching files to tests at run timeZack Galbreath2021-06-082-0/+13
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | Allow tests to specify files to upload at runtime. Previously this was only possible to specify at configure time with the ATTACHED_FILES test properties. This commit also fixes a bug in how our test data tarballs were generated by CTest. Previously, if you tried to attach a file outside of the binary directory, CTest would generate a tar file with a relative path, and tar would not allow you to extract it. We resolve this problem by creating tar files with a flat directory structure instead. Fixes: #22284
* | Merge topic 'add_hip_language'Brad King2021-06-091-0/+5
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8514ee9b31 HIP: analyze output of `hipcc` to determine default GPU architecture 20d086f1a2 HIP: All HIP tests now run on CMake's current AMD hardware 2e86e50c2f HIP: Add HIP to all the Check* modules 947dbed0aa HIP: Automatically inject the `hip::device` runtime target b50bfc8913 HIP: Add language to CMake ff0d2858e1 HIP: Extract clang compiler details from hipcc bd844387df ROCMClang: Add the ROCm toolkit derived clang compiler to CMake 590553f322 Compilers: protect use of __has_include ... Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Zack Galbreath <zack.galbreath@kitware.com> Reviewed-by: Raul Tambre <raul@tambre.ee> Acked-by: Axel Huebl <axel.huebl@plasma.ninja> Merge-request: !6121
| * HIP: Add language to CMakeRobert Maynard2021-06-071-0/+5
| |
* | Merge topic 'install-with-runtime-dependencies'Brad King2021-06-081-0/+9
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8d898cb3e1 FileAPI: Add integration for runtime dependency installers 72f2448e82 Help: Add documentation for runtime dependency installation 0c3c6acaff Tests: Add tests for new options 4910132d8c install: Add RUNTIME_DEPENDENCY_SET mode bc8a4a06a4 install(IMPORTED_RUNTIME_ARTIFACTS): Add RUNTIME_DEPENDENCY_SET option 3e7d3c252a install(TARGETS): Add RUNTIME_DEPENDENCY_SET argument ed3633d88c install(TARGETS): Add RUNTIME_DEPENDENCIES option f2617cf8e6 Source: Add cmInstallRuntimeDependencySet ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6186
| * | Help: Add documentation for runtime dependency installationKyle Edwards2021-06-041-0/+9
| | |
* | | Merge topic 'compile-options-order'Brad King2021-06-081-0/+7
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | 8f68bcad8f Tests: Add cases verifying flag ordering rules ccc83ce162 Help: Document order of flags from CMAKE_<LANG>_FLAGS and COMPILE_OPTIONS df79fe055b Help: Remove incorrect "versionadded" for CMAKE_<LANG>_FLAGS_<CONFIG> c48d2d8480 VS: Place per-source preprocessor definitions after target-wide ones Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6187
| * | VS: Place per-source preprocessor definitions after target-wide onesBrad King2021-06-031-0/+7
| |/ | | | | | | | | | | | | | | | | | | When the VS 2010+ generators were first implemented in commit 7491f52992 (ENH: first pass at VS 10, can bootstrap CMake, but many tests still fail, 2009-06-25, v2.8.0~546), the per-source preprocessor definitions were placed before target-wide preprocessor definitions for consistency with the behavior of VS 9 2008 and below. However, those generators are not used much anymore. Instead prefer consistency with the order used by the Ninja and Makefile generators.
* | cmake: Allow CMAKE_TOOLCHAIN_FILE to be set by environment variableBrad King2021-06-031-0/+5
|/ | | | | When no `CMAKE_TOOLCHAIN_FILE` is explicitly specified while creating a new build tree, check for an environment variable of the same name.
* Merge topic 'find_item-NO_CACHE'Brad King2021-06-031-0/+6
|\ | | | | | | | | | | | | | | 87b71eec62 find_*: Add support for option NO_CACHE Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !6181
| * find_*: Add support for option NO_CACHEMarc Chevrier2021-06-021-0/+6
| | | | | | | | | | | | | | | | Request that find result is stored in a normal variable rather than a cache entry. Fixes: #20687 Issue: #20743
* | Merge topic 'command_target'Brad King2021-06-021-0/+5
|\ \ | | | | | | | | | | | | | | | | | | 1cb4f592a0 add_custom_command: Target-dependent generator expression support Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6176
| * | add_custom_command: Target-dependent generator expression supportRaul Tambre2021-05-311-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | OUTPUT variant with a TARGET given to allow resolving target-based generator expressions wouldn't work because OUTPUT is resolved before generator targets are created, i.e. FindGeneratorTargetToUse() returns nullptr. This is a known limitation, see #21364. Implements #21336.
* | | Merge topic 'get-runtime-dependencies-file-filter'Brad King2021-06-021-0/+5
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | a12639e658 file(GET_RUNTIME_DEPENDENCIES): Add POST_{IN,EX}CLUDE_FILES arguments Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6170
| * | file(GET_RUNTIME_DEPENDENCIES): Add POST_{IN,EX}CLUDE_FILES argumentsKyle Edwards2021-06-011-0/+5
| |/
* | Merge topic 'install-imported-runtime-artifacts'Brad King2021-06-011-0/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | f7ba3a0589 FileAPI: Populate information for IMPORTED_RUNTIME_ARTIFACTS df7040a271 install(): Add IMPORTED_RUNTIME_ARTIFACTS mode 60e752ced8 Refactor: Move common methods into cmInstallGenerator Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6162
| * | install(): Add IMPORTED_RUNTIME_ARTIFACTS modeKyle Edwards2021-05-311-0/+5
| |/
* | Merge topic 'link-objects-first'Brad King2021-06-011-0/+8
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3941555d93 target_link_libraries: Place $<TARGET_OBJECTS> before libraries f530b3a267 OpenWatcom: Add infrastructure to link to object files 8a4ca110e4 cmComputeLinkInformation: Improve type safety of item IsPath member 83ad066ed1 cmComputeTargetDepends: Factor out helper to add object library dependency 7f506b95a7 cmGeneratorTarget: Refactor link item lookup 96809a8541 cmGeneratorTarget: Give temporary link impl item an explicit name ddffbb8adb cmMakefile: Register explicit object sources more efficiently 18e42d3e63 cmGeneratorExpressionNode: Constify local variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6166
| * | target_link_libraries: Place $<TARGET_OBJECTS> before librariesBrad King2021-05-291-0/+8
| |/ | | | | | | | | | | | | | | | | Linkers always use object files explicitly specified on the command line regardless of where they appear. Move them to the front of the list of linked libraries in so that symbols required by the object files can be resolved by any library. Issue: #22149
* | Launchers: Support setting linker launchersBobby D Reynolds2021-05-281-0/+7
|/ | | | Fixes: #18316
* Merge topic 'cpack-install-opts'Craig Scott2021-05-261-0/+6
|\ | | | | | | | | | | | | 26e36111d3 CPack: Implement new variable CPACK_CUSTOM_INSTALL_VARIABLES Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6141
| * CPack: Implement new variable CPACK_CUSTOM_INSTALL_VARIABLESNils Gladitz2021-05-231-0/+6
| | | | | | | | | | | | The new variable allows projects to define custom key=value pairs of variables to be set in CPack cmake_install.cmake script invocations. This allows install(SCRIPT|CODE) to be parameterized at runtime.
* | Ninja: Always compile sources using absolute pathsBrad King2021-05-251-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Ninja generator traditionally referenced source files and include directories using paths relative to the build directory if they could be expressed without a `../` sequence that leaves the build and source directories. For example, when using a `build/` directory inside the source tree, sources would be compiled as `-c ../src.c` and include directories would be referenced as `-I ../include`. This approach matches the traditional Ninja convention of using relative paths whenever possible, but has undesirable side effects such as: * Compiler diagnostic messages may not use absolute paths, making it harder for IDEs/editors to find the referenced sources or headers. * Debug symbols may not use absolute paths, making it harder for debuggers to find the referenced sources or headers. * Different results depending on the path to the build tree relative to the source tree. * Inconsistent with the Makefile generators, which use absolute paths. Switch to always using absolute paths to reference source files and include directories on compiler command lines. While alternative solutions for diagnostic messages and debug symbols may exist with specific tooling, this is the simplest and most consistent approach. Note that a previous attempt to do this in commit 955c2a630a (Ninja: Use full path for all source files, 2016-08-05, v3.7.0-rc1~275^2) was reverted by commit 666ad1df2d (Revert "Ninja: Use full path for all source files", 2017-02-24, v3.8.0-rc2~9^2) due to problems hooking up depfile dependencies on generated files. This time, the changes in commit 2725ecff38 (Ninja: Handle depfiles with absolute paths to generated files, 2021-05-19) should avoid those problems. Fixes: #13894, #17450
* | Merge topic 'FindVulkan-add-Headers-glslangValidator-targets'Brad King2021-05-251-0/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | 668ba68a7a FindVulkan: add Vulkan::Headers and Vulkan::glslangValidator targets Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !6154
| * | FindVulkan: add Vulkan::Headers and Vulkan::glslangValidator targetsPCJohn2021-05-241-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `Vulkan::Headers` target complements existing Vulkan::Vulkan target. It is the same except it omits the Vulkan library which supports applications that loads the Vulkan library in at runtime. The `Vulkan::glslangValidator` target provides the glslangValidator executable which is the tool for converting between shader languages (GLSL, SPIR-V, etc.).
* | | Merge topic 'set-cache-keep-normal-variable'Brad King2021-05-251-0/+5
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | d96eb55282 set(CACHE): do not remove normal variable Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !6146
| * | set(CACHE): do not remove normal variableMarc Chevrier2021-05-201-0/+5
| | | | | | | | | | | | Fixes: #22038
* | | Merge topic 'message-color'Brad King2021-05-211-0/+4
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | 0a0a0f8a74 cmMessenger: Color messages to terminal by type bceb8e2ed2 cmMessenger: Pass title inside a metadata structure Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6105
| * | cmMessenger: Color messages to terminal by typeMarius Messerschmidt2021-05-201-0/+4
| |/ | | | | | | Fixes: #16183
* | install: Implement new install(CODE|SCRIPT) option ALL_COMPONENTSNils Gladitz2021-05-191-0/+7
|/ | | | | | | | | | | In a per-component installation the generated installation scripts are invoked once for each component. Per default custom installation script code added by install(CODE|SCRIPT) only runs for one specific component in this context. The new ALL_COMPONENTS option allows custom script code to be run once for each component being installed.
* Merge topic 'find_item-consistent-behavior-cache-variables'Brad King2021-05-131-0/+6
|\ | | | | | | | | | | | | | | | | 08db1341a6 find_*: ensure consistent behavior for cache variables f5fa6d53b0 class cmake: Store working directory at cmake launch b1729200c3 find_*: refactor cache variable handling Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6110
| * find_*: ensure consistent behavior for cache variablesMarc Chevrier2021-05-121-0/+6
| | | | | | | | Fixes: #22121
* | UseJava: Avoid non-word "compilability" in documentationBrad King2021-05-121-1/+1
|/ | | | | Also fix spelling in the release note from commit 3e03f359a7 (UseJava: Add RESOURCES with NAMESPACE to add_jar(), 2021-04-27).
* Merge topic 'UseJava-add_jar-resource-namespace'Brad King2021-05-111-0/+5
|\ | | | | | | | | | | | | | | 3e03f359a7 UseJava: Add RESOURCES with NAMESPACE to add_jar() Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Smit-tay <damnedyankee@gmail.com> Merge-request: !6071
| * UseJava: Add RESOURCES with NAMESPACE to add_jar()Smit tay2021-05-101-0/+5
| | | | | | | | | | | | | | | | | | | | | | add_jar() currently requires (undocumented) that resources be supplied as relative paths. The resources *may* then end up in a path which does not reflect the original path particularly when performing out-of-source builds. This change adds a RESOURCE (and NAMESPACE) parameter and a function to add the names resources into the named namespace within the jar- and thus address both of these problems. Fixes: #22101
* | cmake: add supported platforms to cmake -E capabilties reportscheffle2021-05-101-0/+6
| |
* | Merge topic 'nmake-utf8'Brad King2021-05-061-0/+5
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | f3f57cc4ed NMake: Use UTF-8 with BOM if supported by nmake 186c9bff53 NMake: Check nmake version for support of UTF-8 8a4f536be6 NMake: Detect nmake version Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6041
| * | NMake: Use UTF-8 with BOM if supported by nmakeAmine Najahi2021-05-051-0/+5
| | | | | | | | | | | | Fixes: #21792
* | | Merge topic 'generate-cmake-build-command-parallel'Brad King2021-05-051-0/+6
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | d2b856bc92 ctest_build: Add the PARALLEL_LEVEL argument fc2ac46043 build_command: Add the PARALLEL_LEVEL argument 4dd4e9dd6c cmGlobalGenerator: Add parallel parameter to GenerateCMakeBuildCommand Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Brad King <brad.king@kitware.com> Merge-request: !6069
| * | ctest_build: Add the PARALLEL_LEVEL argumentfriendlyanon2021-05-041-0/+2
| | | | | | | | | | | | Fixes: #19712
| * | build_command: Add the PARALLEL_LEVEL argumentfriendlyanon2021-05-041-0/+4
| | | | | | | | | | | | Issue: #19712