https://github.com/Kitware/CMake

sort by:
Revision Author Date Message Commit Date
181894f prevent linefeed containment through CMakeVersion.cmake 16 March 2020, 17:46:16 UTC
6f4b1ba Merge topic 'define-property' 73d52a862b cmPropertyDefinition: Construct directly in defined state Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4470 16 March 2020, 15:40:59 UTC
c6def21 Merge topic 'gtest-parallel-xml' 32bc6aa9b6 GoogleTest: Add release note for XML_OUTPUT_DIR 0001339a6f GoogleTest: Add test case for XML_OUTPUT_DIR e9ab39eb1d GoogleTest: Add XML_OUTPUT_DIR parameter Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4433 16 March 2020, 15:40:21 UTC
e08af3e Merge topic 'remove_trailing_whitespace' 67a592583d Source: Remove trailing whitespace from export generation code Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4474 16 March 2020, 15:32:14 UTC
eea528f Merge topic 'gnu-as' 9728839b9e ASM: Fix executable link lines with GNU 'as' tool as CMAKE_ASM_COMPILER 5932f0be4f ASM: Fix depfile flags for GNU 'as' tool 0d0aa98c84 ASM: Record vendor-specific output matched to identify assembler ee3ec27465 CMakeDetermineCompilerId: Set locale to C for vendor output match Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4460 16 March 2020, 15:31:25 UTC
9ad554a Merge topic 'FindRuby-typo' ffa08d256f FindRuby: Fix compatibility with upper-case cache variables 50c97e1da0 FindRuby: Fix name of Ruby_LIBRARY variable Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4476 16 March 2020, 14:07:56 UTC
eb7e8d1 CMake Nightly Date Stamp 16 March 2020, 04:01:07 UTC
a6d95f5 CMake Nightly Date Stamp 15 March 2020, 04:01:27 UTC
7132540 Merge topic 'help-source-developer-guide' a4ca1792f6 Help: Update CMake source developer guide for C++ standard library usage Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Daniel Pfeifer <daniel@pfeifer-mail.de> Merge-request: !4467 14 March 2020, 11:19:03 UTC
9f3e885 CMake Nightly Date Stamp 14 March 2020, 04:01:09 UTC
a4ca179 Help: Update CMake source developer guide for C++ standard library usage We now offer many C++14, C++17, C++20, and custom extensions to the C++ standard library that are available even when compiling as C++11. 14 March 2020, 01:40:13 UTC
ffa08d2 FindRuby: Fix compatibility with upper-case cache variables In commit e672db628b (FindRuby: Rename variables to match case of module name, 2020-03-11) compatibility was provided for result variables but not for the cache entries that scripts might set. 13 March 2020, 18:13:17 UTC
50c97e1 FindRuby: Fix name of Ruby_LIBRARY variable Fix a typo in the variable name caused by commit e672db628b (FindRuby: Rename variables to match case of module name, 2020-03-11). 13 March 2020, 17:59:17 UTC
3766633 Merge topic 'FindRuby-variable-case' e672db628b FindRuby: Rename variables to match case of module name Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Frank Dana <ferdnyc@gmail.com> Merge-request: !4463 13 March 2020, 15:01:56 UTC
200bc3b Merge topic 'swift-implicit-module-include-dir' 2026915f8f Swift: Propagate Swift_MODULE_DIRECTORY as include directory Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4320 13 March 2020, 15:00:39 UTC
1b5554e Merge topic 'profiling' 9aa4640792 cmake: add command line options to output script profiling data Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Acked-by: Pavel Solodovnikov <hellyeahdominate@gmail.com> Acked-by: Leonid Pospelov <pospelovlm@yandex.ru> Acked-by: Cristian Adam <cristian.adam@gmail.com> Merge-request: !2760 13 March 2020, 14:59:03 UTC
32bc6aa GoogleTest: Add release note for XML_OUTPUT_DIR 13 March 2020, 14:47:34 UTC
0001339 GoogleTest: Add test case for XML_OUTPUT_DIR 13 March 2020, 14:47:33 UTC
e9ab39e GoogleTest: Add XML_OUTPUT_DIR parameter When executing googltests in parallel using 'ctest -j n' and using '--gtest_output=xml' there is a race condition upon file creation. See googletest issue https://github.com/google/googletest/issues/2506. As all testcases (potentially) can be run in parallel each testcase has to create it's own XML JUnit file. EXTRA_ARGS is not suitable because it is identical per testsuite. So instead a new (opitional) parameter has been introduced to specify the storage location for each test of the testsuite. 13 March 2020, 14:47:33 UTC
c3ab1c2 Merge topic 'GoogleTest-gtest_discover_tests-failure' 2ba8ac07ed GoogleTest: Fix CTest not failing if gtest_discover_tests fails 2c9680eec5 GoogleTest: Add missing test case for gtest_discover_tests failure Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Steffen Seckler <steffen.seckler@tum.de> Acked-by: Matthew Woehlke <matthew.woehlke@kitware.com> Merge-request: !4466 13 March 2020, 14:46:20 UTC
ba21659 Merge topic 'cuda_language' f75bea1071 CUDA: Abstract language flag to compiler modules Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4464 13 March 2020, 14:43:57 UTC
67a5925 Source: Remove trailing whitespace from export generation code 13 March 2020, 14:31:38 UTC
73d52a8 cmPropertyDefinition: Construct directly in defined state Move `cmPropertyDefinitionMap::DefineProperty` functionality directly into the constructor to avoid an intermediate state. 13 March 2020, 14:24:51 UTC
9728839 ASM: Fix executable link lines with GNU 'as' tool as CMAKE_ASM_COMPILER The GNU `as` tool does not know how to drive linking like the C compiler does. When using `as` as the compiler, use the linker directly. 13 March 2020, 13:55:36 UTC
5932f0b ASM: Fix depfile flags for GNU 'as' tool The GNU `as --help` shows `--MD <file>` as an option to generate depfiles as needed by Ninja. There is no `-MT <target>` flag but fortunately the generated files automatically account for the `-o <obj>` flag. Issue: #20426 13 March 2020, 13:55:36 UTC
78fd95f CMake Nightly Date Stamp 13 March 2020, 04:01:11 UTC
2181807 Merge branch 'release-3.17' 12 March 2020, 16:58:47 UTC
7da0545 Merge topic 'generated-byproducts-docs' 3eb2b62d21 Help: Expand discussion of GENERATED / BYPRODUCTS 1853c7f571 Help: Add missing word in AUTOGEN_TARGET_DEPENDS.rst Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4472 12 March 2020, 16:58:47 UTC
02fa6fd Merge topic 'generated-byproducts-docs' into release-3.17 3eb2b62d21 Help: Expand discussion of GENERATED / BYPRODUCTS 1853c7f571 Help: Add missing word in AUTOGEN_TARGET_DEPENDS.rst Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4472 12 March 2020, 16:58:46 UTC
3eb2b62 Help: Expand discussion of GENERATED / BYPRODUCTS - Mention the Makefile Generators' `make clean` removal in the BYPRODUCTS section of add_custom_command and add_custom_target - Expand the GENERATED property docs' description of which files will be marked with the property, and of what it implies (including `make clean` removal) 12 March 2020, 15:55:10 UTC
1853c7f Help: Add missing word in AUTOGEN_TARGET_DEPENDS.rst 12 March 2020, 15:55:10 UTC
2026915 Swift: Propagate Swift_MODULE_DIRECTORY as include directory Teach include directory computation for Swift to implicitly propagate the `Swift_MODULE_DIRECTORY` of all linked targets as include directories. This is required to ensure that the swiftmodule of a linked target is accessible to the compiler of the current target. Fixes: #19272 12 March 2020, 15:50:43 UTC
cb8227e Merge branch 'release-3.17' 12 March 2020, 15:06:33 UTC
0d0aa98 ASM: Record vendor-specific output matched to identify assembler For example, with GNU `as`, we match `GNU assembler`, but with GNU `gcc` as the assembler, we do not match anything. Distinguishing these cases may be useful for constructing assembler command lines. 12 March 2020, 14:07:30 UTC
ee3ec27 CMakeDetermineCompilerId: Set locale to C for vendor output match Apply the change from commit d751d2d2ed (CMakeDetermineCompilerABI: set locale to C for try_compile(), 2019-01-14, v3.14.0-rc1~108^2~1) to the `CMAKE_DETERMINE_COMPILER_ID_VENDOR` implementation too. 12 March 2020, 14:07:29 UTC
1ec72e0 CMake 3.17.0-rc3 12 March 2020, 13:45:24 UTC
9116daf Merge branch 'release-3.17' 12 March 2020, 13:33:19 UTC
2ca34f0 Merge topic 'apple-clang-flags-c++17' a67f2d00d8 Apple Clang: add flags for C++17 standard Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4468 12 March 2020, 13:33:19 UTC
c852c0d Merge topic 'apple-clang-flags-c++17' into release-3.17 a67f2d00d8 Apple Clang: add flags for C++17 standard Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4468 12 March 2020, 13:33:18 UTC
0cf40ee Merge branch 'release-3.16' 12 March 2020, 13:32:24 UTC
d584d01 Merge topic 'swift-link-line-spaces' into release-3.17 af39d1b993 Swift: Fix quoting of library search paths with spaces Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4469 12 March 2020, 13:32:01 UTC
e3e906d Merge branch 'release-3.17' 12 March 2020, 13:32:01 UTC
1e3af78 Merge topic 'swift-link-line-spaces' af39d1b993 Swift: Fix quoting of library search paths with spaces Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4469 12 March 2020, 13:32:01 UTC
5a896bb Merge branch 'swift-link-line-spaces' into release-3.16 Merge-request: !4469 12 March 2020, 12:49:20 UTC
af39d1b Swift: Fix quoting of library search paths with spaces The library search paths added by commit 2746c61e6d (Swift: Add library search paths for dependencies, 2019-06-09, v3.16.0-rc1~561^2) need to be quoted properly on command lines to handle spaces and such. This was already done by `cmLinkLineComputer::ComputeLinkPath` for non-Swift-specific link directories. 12 March 2020, 12:46:11 UTC
f86d800 Merge topic 'add-cache-definition' 36a5b3d1d1 cmMakefile::AddCacheDefinition: Add overload that accepts std::string value Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4457 12 March 2020, 12:26:07 UTC
74954a6 Merge topic 'modernize-memory-management' f964739ead cmCTestRunTest: modernize memory management Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4454 12 March 2020, 12:25:20 UTC
0683f2e Merge topic 'CMakeFindFrameworks-CMAKE_FRAMEWORK_PATH' c841d43d70 CMakeFindFrameworks: Search CMAKE_FRAMEWORK_PATH Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4461 12 March 2020, 12:24:22 UTC
1e0b062 Merge branch 'release-3.17' 12 March 2020, 12:19:43 UTC
3cf22df Merge topic 'ctest-curl-debugfunction' into release-3.17 7a1cce210b CTest: Fix our internal CURL_DEBUGFUNCTION to conform to CURL docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4459 12 March 2020, 12:19:43 UTC
7ed1d5c Merge topic 'ctest-curl-debugfunction' 7a1cce210b CTest: Fix our internal CURL_DEBUGFUNCTION to conform to CURL docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4459 12 March 2020, 12:19:43 UTC
88e921f Merge branch 'release-3.17' 12 March 2020, 12:18:55 UTC
3a49ea6 Merge topic 'FindPython-ENV-CMAKE_FRAMEWORK_PATH' 1044776472 FindPython: Convert env CMAKE_FRAMEWORK_PATH to CMake path Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Marc Chevrier <marc.chevrier@gmail.com> Merge-request: !4462 12 March 2020, 12:18:54 UTC
c278b4e Merge topic 'FindPython-ENV-CMAKE_FRAMEWORK_PATH' into release-3.17 1044776472 FindPython: Convert env CMAKE_FRAMEWORK_PATH to CMake path Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Marc Chevrier <marc.chevrier@gmail.com> Merge-request: !4462 12 March 2020, 12:18:54 UTC
159da18 Merge branch 'release-3.17' 12 March 2020, 12:18:04 UTC
fffbafc Merge topic 'swift-rpath' f481b3a947 Swift: repair RPATH handling for macOS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4456 12 March 2020, 12:18:04 UTC
c5f850d Merge topic 'swift-rpath' into release-3.17 f481b3a947 Swift: repair RPATH handling for macOS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4456 12 March 2020, 12:18:03 UTC
a67f2d0 Apple Clang: add flags for C++17 standard 12 March 2020, 12:09:12 UTC
9fd5ca4 Merge branch 'release-3.17' 12 March 2020, 10:52:12 UTC
3d388e5 Merge topic 'rename-macho-version-properties' into release-3.17 14732d3f30 macOS: Rename OSX_*_VERSION properties to MACHO_*_VERSION Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4452 12 March 2020, 10:52:11 UTC
54863e2 Merge topic 'rename-macho-version-properties' 14732d3f30 macOS: Rename OSX_*_VERSION properties to MACHO_*_VERSION Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4452 12 March 2020, 10:52:11 UTC
14732d3 macOS: Rename OSX_*_VERSION properties to MACHO_*_VERSION The properties added by commit 4a62e3d97c (macOS: Add OSX_COMPATIBILITY_VERSION and OSX_CURRENT_VERSION properties, 2020-01-24, v3.17.0-rc1~80^2~1) are general-purpose for all platforms using Mach-O formats and not just on OS X. Rename them accordingly. The properties are new to the CMake 3.17 release so we can rename them without compatibility concerns. Fixes: #20442 12 March 2020, 10:15:40 UTC
662d17e CMake Nightly Date Stamp 12 March 2020, 04:01:09 UTC
2ba8ac0 GoogleTest: Fix CTest not failing if gtest_discover_tests fails Fixes regression introduced dac201442d (GoogleTest: Optimize gtest_discover_tests, 2020-02-18). The generated CTest include files has the form: if(EXISTS "foo_tests.cmake") include("foo_tests.cmake") else() add_test(foo_NOT_BUILT foo_test_NOT_BUILT) endif() Starting in dac201442d, an empty discovery_timeout_test[1]_tests.cmake was written as soon as GoogleTestAddTests was processed. This meant, that even if test discovery would fail (due to a crash or timeout in the executable), we would always produce an empty CTest file. So instead of reporting: Unable to find executable: foo_NOT_BUILT Errors while running CTest We instead get: No tests were found!!! To fix the problem, we WRITE the file on the first call to flush_script, thus creating the file once we know we have valid output and the call to gtest_discover_tests hasn't failed. After creating the file, we then set the mode to APPEND and append to the file for every subsequent call. 11 March 2020, 20:11:00 UTC
2c9680e GoogleTest: Add missing test case for gtest_discover_tests failure Discovery timeout test needs split out into two components: - build - test Building the project should result in a failure due to the timeout when executing gtest discovery as a post build step. Likewise, if you ran CTest after this build failure, we should *also* detect that the discovery_timeout_test has not been built because no discovery_timeout_test[1]_tests.cmake has been created due to the test discovery failure (caused by the timeout). 11 March 2020, 20:10:23 UTC
f75bea1 CUDA: Abstract language flag to compiler modules Separate this detail out into compiler-specific modules. Required for Clang support, as it uses slightly different language flags. 11 March 2020, 19:30:09 UTC
e672db6 FindRuby: Rename variables to match case of module name Use recommended case for variable names, i.e. matching name of the module as passed to `find_package`. For backwards compatibility, the upper case versions of both input and output variables are used and defined when appropriate. Skip this for the _FOUND variable because FPHSA already does it. This follows the approach from commit a7b09e7f43 (FindProtobuf: Rename variables to match case of module name, 2016-03-01, v3.6.0-rc1~273^2). Issue: #20370 11 March 2020, 17:56:10 UTC
7a1cce2 CTest: Fix our internal CURL_DEBUGFUNCTION to conform to CURL docs The curl debug callback function must return ``0``. Fixes: #20449 11 March 2020, 17:36:58 UTC
1044776 FindPython: Convert env CMAKE_FRAMEWORK_PATH to CMake path 11 March 2020, 17:35:33 UTC
c841d43 CMakeFindFrameworks: Search CMAKE_FRAMEWORK_PATH 11 March 2020, 16:54:26 UTC
f964739 cmCTestRunTest: modernize memory management 11 March 2020, 16:46:11 UTC
36a5b3d cmMakefile::AddCacheDefinition: Add overload that accepts std::string value 11 March 2020, 13:40:43 UTC
c7c6e10 Merge topic 'loops-improve' cbbca9ee2a Convert more loops to range-based for-loops 9296cd0551 GHS: Name range-based for-loop variable types explicitly db17de2438 GHS: Use cm::erase in place of loop Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4446 11 March 2020, 13:27:24 UTC
3807278 Merge topic 'std-string-cleanup' a6cd48ac41 Source: use std::string overloads Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4453 11 March 2020, 13:26:31 UTC
dd45b7b Merge topic 'FindCUDAToolkit-reduce-verbosity' into release-3.17 a7cf574417 CUDAToolkit: Mark find queries as advanced variables Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4455 11 March 2020, 12:56:40 UTC
e357177 Merge branch 'release-3.17' 11 March 2020, 12:56:40 UTC
c22c17e Merge topic 'FindCUDAToolkit-reduce-verbosity' a7cf574417 CUDAToolkit: Mark find queries as advanced variables Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4455 11 March 2020, 12:56:40 UTC
f481b3a Swift: repair RPATH handling for macOS The configuration previously handled Linux properly but did not function on macOS as `ld64` does not support `:` delimited paths. Account for that by setting it to the empty string which will use multiple invocations of the `-Xlinker -rpath -Xlinker ...` pattern to compute the correct RPATH. 11 March 2020, 12:45:47 UTC
86580c2 CMake Nightly Date Stamp 11 March 2020, 04:01:10 UTC
cbbca9e Convert more loops to range-based for-loops 10 March 2020, 18:25:56 UTC
9296cd0 GHS: Name range-based for-loop variable types explicitly In general we avoid using `auto` except in cases of hard-to-name types like iterators. 10 March 2020, 18:25:53 UTC
db17de2 GHS: Use cm::erase in place of loop 10 March 2020, 18:25:36 UTC
a7cf574 CUDAToolkit: Mark find queries as advanced variables Fixes #20435 10 March 2020, 17:27:16 UTC
a6cd48a Source: use std::string overloads 10 March 2020, 14:55:09 UTC
c06e035 Merge topic 'cuda_toolkit_dirs' 0703e5fb6f CUDA: Perform CUDA toolkit include directory detection only on nvcc Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4443 10 March 2020, 14:30:49 UTC
637948c Merge branch 'release-3.17' 10 March 2020, 14:30:08 UTC
0290ba8 Merge topic 'release-notes-minor-cleanups' d5e6fedd7b Help: Cleanup minor typos and grammar in 3.17 release notes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4449 10 March 2020, 14:30:07 UTC
7b7170a Merge topic 'release-notes-minor-cleanups' into release-3.17 d5e6fedd7b Help: Cleanup minor typos and grammar in 3.17 release notes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4449 10 March 2020, 14:30:07 UTC
5428fa0 Merge branch 'release-3.17' 10 March 2020, 14:29:15 UTC
c35af25 Merge topic 'doc-3.17-relnotes' 6b925d0536 Help: Fix 3.17 release notes for Xcode scheme settings e0409b8bca Help: Fix toctree order of Xcode scheme variable and property Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4447 10 March 2020, 14:29:15 UTC
51c8ac8 Merge topic 'doc-3.17-relnotes' into release-3.17 6b925d0536 Help: Fix 3.17 release notes for Xcode scheme settings e0409b8bca Help: Fix toctree order of Xcode scheme variable and property Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4447 10 March 2020, 14:29:14 UTC
2427bbf Merge topic 'swift-ninja-multiconfig' into release-3.17 65b3848de0 Swift: support Ninja Multi-Config Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4440 10 March 2020, 14:16:17 UTC
e49a21c Merge branch 'release-3.17' 10 March 2020, 14:16:17 UTC
228232d Merge topic 'swift-ninja-multiconfig' 87819db28d Merge branch 'backport-swift-ninja-multiconfig' into swift-ninja-multiconfig 65b3848de0 Swift: support Ninja Multi-Config Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4440 10 March 2020, 14:16:17 UTC
6b925d0 Help: Fix 3.17 release notes for Xcode scheme settings In commit 730a53ef1d (Help: Organize and revise 3.17 release notes, 2020-02-04, v3.17.0-rc1~21^2) we accidentally combined the release notes for `CMAKE_XCODE_SCHEME_ENVIRONMENT` and `XCODE_SCHEME_WORKING_DIRECTORY`. Split them up again. Also mention `CMAKE_XCODE_SCHEME_WORKING_DIRECTORY`. Fixes: #20439 10 March 2020, 12:51:53 UTC
e0409b8 Help: Fix toctree order of Xcode scheme variable and property In commit 92c4c852db (Xcode: Add custom working directory property, 2019-11-18, v3.17.0-rc1~400^2) the toctree links to the new properties were not added in sorted order. Move them. Issue: #20439 10 March 2020, 12:51:53 UTC
2689095 Merge topic 'file-CONFIGURE' a6fee09484 file: Add CONFIGURE subcommand Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4436 10 March 2020, 12:27:21 UTC
16ad4e5 Merge topic 'modernize-memory-management' 44867a8c01 Modernize memory management Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4444 10 March 2020, 12:26:27 UTC
30e67e7 Merge topic 'std-string-genex' b0dc52704b cmGeneratorExpression: remove const char* overloads Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4445 10 March 2020, 12:25:18 UTC
d5e6fed Help: Cleanup minor typos and grammar in 3.17 release notes 10 March 2020, 12:24:59 UTC
back to top