https://github.com/Kitware/CMake

sort by:
Revision Author Date Message Commit Date
cfa3a23 Merge topic 'gtest_discover_tests_cross_compile_support' 3b4838b57f GoogleTest: Add tests for MultiConfig discovery in PRE_TEST mode 1ba4cb565e GoogleTest: Parameterize tests to check PRE_TEST/POST_BUILD discovery mode 75e82a13db GoogleTest: Add new DISCOVERY_MODE option to gtest_discover_tests 889a7146ff GoogleTestAddTests: Refactor into callable method Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4078 30 March 2020, 17:26:49 UTC
e20146b Merge topic 'FindBoost-lib-prefix-clarify' 040f503d83 FindBoost: Clarify logic selecting Boost_LIB_PREFIX Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4537 30 March 2020, 17:24:38 UTC
026083f Merge branch 'release-3.17' 30 March 2020, 17:23:19 UTC
0055170 Merge topic 'docs-xcode-gen-scheme-workdir' 6905451e11 Help: Add missing XCODE_SCHEME_WORKING_DIRECTORY 6ff07dac76 Help: Minor typos and formatting for XCODE_SCHEME_WORKING_DIRECTORY Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4543 30 March 2020, 17:23:19 UTC
04d8ed6 Merge topic 'docs-xcode-gen-scheme-workdir' into release-3.17 6905451e11 Help: Add missing XCODE_SCHEME_WORKING_DIRECTORY 6ff07dac76 Help: Minor typos and formatting for XCODE_SCHEME_WORKING_DIRECTORY Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4543 30 March 2020, 17:23:18 UTC
04c7f8f Merge branch 'release-3.17' 30 March 2020, 17:22:02 UTC
0188df9 Merge topic 'llvm_rc_pp' 4bef0e6450 llvm-rc: Enable preprocessing if CMAKE_RC_COMPILER_INIT is an absolute path Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4535 30 March 2020, 17:22:02 UTC
42cefc6 Merge topic 'llvm_rc_pp' into release-3.17 4bef0e6450 llvm-rc: Enable preprocessing if CMAKE_RC_COMPILER_INIT is an absolute path Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4535 30 March 2020, 17:22:02 UTC
3c48f4b Merge topic 'FindPython-use-sysconfig-package' dd0664415a FindPython: use 'sysconfig' as alternate to 'distutils.sysconfig' Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4540 30 March 2020, 13:42:35 UTC
887eb6b CMake Nightly Date Stamp 30 March 2020, 04:01:13 UTC
6905451 Help: Add missing XCODE_SCHEME_WORKING_DIRECTORY 29 March 2020, 11:13:56 UTC
6ff07da Help: Minor typos and formatting for XCODE_SCHEME_WORKING_DIRECTORY 29 March 2020, 11:13:56 UTC
371727c CMake Nightly Date Stamp 29 March 2020, 04:01:22 UTC
dd06644 FindPython: use 'sysconfig' as alternate to 'distutils.sysconfig' To support any python installation, if package 'distutils.sysconfig' is not available, try to use package 'sysconfig'. Fixes: #20502 28 March 2020, 09:51:47 UTC
67e2fef Merge branch 'release-3.17' 28 March 2020, 07:05:11 UTC
655b52a Merge topic 'ninja-multi-doc-variable-update' c8fd26eb57 Help: Move Ninja Multi-Config variable details into their respective pages Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4532 28 March 2020, 07:05:10 UTC
e5eb410 Merge topic 'ninja-multi-doc-variable-update' into release-3.17 c8fd26eb57 Help: Move Ninja Multi-Config variable details into their respective pages Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4532 28 March 2020, 07:05:10 UTC
cc86c92 CMake Nightly Date Stamp 28 March 2020, 04:01:13 UTC
3b4838b GoogleTest: Add tests for MultiConfig discovery in PRE_TEST mode PRE_TEST makes it possible to properly distinguish between test cases that exist only in certain configurations. In the new test scenario, debug tests are disabled in release builds, and release tests are disabled in debug builds when a multi config generator is used. Note, this is a bit of a hack and *only* works for PRE_TEST mode. POST_BUILD makes no attempt to get this right. It preserves the status quo and you obtain the tests that were last discovered. See further discussion in !4078 Ideally, the POST_BUILD behavior could be fixed by using generator expressions in OUTPUT and BYPRODUCT expressions. Then you could do something like: set(ctest_include_file "${ctest_file_base}_include-$<CONFIG>.cmake") set(ctest_tests_file "${ctest_file_base}_tests-$<CONFIG>.cmake") Once #12877 lands, maybe this can be revisited. Co-authored-by: Ryan Thornton <ThorntonRyan@JohnDeere.com> Co-authored-by: Kevin Puetz <PuetzKevinA@JohnDeere.com> 27 March 2020, 14:40:40 UTC
1ba4cb5 GoogleTest: Parameterize tests to check PRE_TEST/POST_BUILD discovery mode Now, the unit tests are ran twice -- once with POST_BUILD (i.e. default mode) and again with PRE_TEST (i.e. new discovery mode). Both modes of setting gtest discovery mode are also tested: 1. Using the global override (i.e. CMAKE_GTEST_DISCOVER_TESTS_DISCOVERY_MODE) 2. Explicitly passing DISCOVERY_MODE in calls to gtest_discover_tests (in GoogleTestDiscoveryTimeout.cmake) The goal is to show that the new PRE_TEST discovery mode does not break existing behavior (i.e. should not break POST_BUILD mode) and should also pass the same tests in the same way. A few non trivial implementation details worth noting: 1. Refactoring discovery_timeout_test into own project Originally, I tried doing: ``` run_GoogleTest(POST_BUILD) run_GoogleTest(PRE_TEST) ``` Without changing the internal structure of run_GoogleTest. But since discovery_timeout_test is part of the same project as the other tests, and CTest include files always get evaluated and that's where test discovery occurs, this means every other test now notices the timeout problem when running in PRE_TEST mode. As a result, keeping the existing test structure meant that each existing test (and any new test) would need to have its own PRE_TEST / POST_BUILD variant for stderr and stdout in order to handle the case where discovery_timeout_test timed out. This exponential increase in test output files introduced unnecessary complexity and made it more cumbersome to work on test cases. Why should an unrelated test case care about discovery_timeout_test? So, to fix that issue, the tests were broken apart into two main groups: 1. run_GoogleTest_discovery_timeout (the test dealing with discovery_timeout_test) 2. run_GoogleTest (everything else) This isolates the PRE_TEST / POST_BUILD timeout variants to a single test case. And the other test cases remain unchanged -- further driving home the point that DISCOVERY_MODE shouldn't change existing behavior. 2. Different number of PRE_TEST / POST_BUILD file variants On the PRE_TEST path, different build systems / compilers (i.e. MSBuild and ninja/gcc) produces different build output when building discovery_timeout_test, but we don't actually care what it is, just as long as it builds successfully. This the fundamental difference in behavior between POST_BUILD (which would have failed) and PRE_TEST (which doesn't) and is the reason why we don't need a GoogleTest-discovery-build-result.txt or GoogleTest-discovery-build-stdout.txt 3. Fix flaky discovery timeout test The test expects to see: > Output: > timeout > case. But sometimes, the test would only produce: > Output: > timout In certain environments, specifically when built with OpenWatcom 1.4, and while the build server was under heavy load (i.e. running many tests in parallel), std::endl behaves inconsistently and doesn't completely flush std::cout when the program is terminated due to timeout. This results in inconsistent test failures because the actual output doesn't fully match what's expected. At first we tried adding an additional: std::cout << std::flush That didn't work. But using C-style printf() and fflush() appears to do the trick: > This time I managed to get on the machine while it was still busy doing other nightly builds > and could reproduce the problem reliably. With that I was finally able to find a fix. > It turns out my earlier hypothesis that C++ stream flushing was not working on the old compiler was correct, > but even .flush() is not enough. > I changed it to use C-style printf() and fflush() and now the test passes on that build. > -- Brad King <brad.king@kitware.com> Co-authored-by: Ryan Thornton <ThorntonRyan@JohnDeere.com> Co-authored-by: Kevin Puetz <PuetzKevinA@JohnDeere.com> 27 March 2020, 14:39:47 UTC
040f503 FindBoost: Clarify logic selecting Boost_LIB_PREFIX Also add a comment explaining its purpose. 27 March 2020, 13:32:47 UTC
4bef0e6 llvm-rc: Enable preprocessing if CMAKE_RC_COMPILER_INIT is an absolute path `CMAKE_RC_COMPILER_INIT` and `CMAKE_RC_COMPILER` can be set by user, for example `llvm-rc-10` and `D:\LLVM\bin\llvm-rc.exe`. 27 March 2020, 12:54:58 UTC
f670435 Merge topic 'pch-warn-invalid' 2ce08e5489 PCH: add an option to disable `-Winvalid-pch` Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4499 27 March 2020, 12:03:30 UTC
cc1d5a4 Merge topic 'doc-cmake-package-targets' e6344586ee install: Document caveat when EXPORT name matches package name Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4527 27 March 2020, 11:58:39 UTC
d6119e2 Merge topic 'cleanup-endls-1' 3fdd8db3aa Refactor: Avoid `std::endl` where it's not necessary (part 1) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4513 27 March 2020, 11:51:27 UTC
a661157 Merge topic 'cmprop-getglobalprop' c84cf42897 cmState::GetGlobalProperty: return cmProp Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4521 27 March 2020, 11:50:28 UTC
7e3d81b Merge topic 'cmprop-state' a7f2ff16a4 cmState::GetCacheEntryProperty: return cmProp Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4522 27 March 2020, 11:49:30 UTC
ae96b77 Merge topic 'export-error-on-multuple-calls' 0cd20e8f62 export(): raise an error on multiple calls with same FILE Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4510 27 March 2020, 11:48:30 UTC
767a875 Merge branch 'release-3.17' 27 March 2020, 11:46:15 UTC
0613f1b Merge topic 'ctest-timeout-report' 3503a79639 Merge branch 'backport-ctest-timeout-report' into ctest-timeout-report 7fda917fa4 CTest: Fix reported duration on timeout when grindchild keeps pipes open Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4530 27 March 2020, 11:46:15 UTC
b835c5d Merge topic 'ctest-timeout-report' into release-3.17 7fda917fa4 CTest: Fix reported duration on timeout when grindchild keeps pipes open Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4530 27 March 2020, 11:46:14 UTC
e50c02c Merge branch 'release-3.17' 27 March 2020, 11:45:15 UTC
112cb24 Merge topic 'vs-clangcl' f3d7a15010 VS: Fix ClangCL toolset compiler path detection Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4523 27 March 2020, 11:45:15 UTC
efb2a9f Merge topic 'vs-clangcl' into release-3.17 f3d7a15010 VS: Fix ClangCL toolset compiler path detection Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4523 27 March 2020, 11:45:15 UTC
311848f Merge topic 'FindPython-variable-spelling-error' into release-3.17 63580668a8 FindPython: fix variable spelling error Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4529 27 March 2020, 11:44:12 UTC
9a585fc Merge branch 'release-3.17' 27 March 2020, 11:44:12 UTC
83f5ba0 Merge topic 'FindPython-variable-spelling-error' 63580668a8 FindPython: fix variable spelling error Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4529 27 March 2020, 11:44:12 UTC
7a4cc3b Merge branch 'release-3.17' 27 March 2020, 11:43:03 UTC
9df5871 Merge topic 'CheckIPOSupported-cleanup-cache' 4b8297721f CheckIPOSupported: Avoid polluting cache with common name 'result' Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kyle Edwards <kyle.edwards@kitware.com> Merge-request: !4528 27 March 2020, 11:43:03 UTC
f6c3820 Merge topic 'CheckIPOSupported-cleanup-cache' into release-3.17 4b8297721f CheckIPOSupported: Avoid polluting cache with common name 'result' Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kyle Edwards <kyle.edwards@kitware.com> Merge-request: !4528 27 March 2020, 11:43:02 UTC
7489ac6 Merge branch 'release-3.17' 27 March 2020, 11:41:58 UTC
184dd23 Merge topic 'nmc-cl-showincludes' 6c7e6b1e49 Ninja Multi-Config: Fix MSVC showincludes prefix detection Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kyle Edwards <kyle.edwards@kitware.com> Merge-request: !4526 27 March 2020, 11:41:58 UTC
1915a09 Merge topic 'nmc-cl-showincludes' into release-3.17 6c7e6b1e49 Ninja Multi-Config: Fix MSVC showincludes prefix detection Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Kyle Edwards <kyle.edwards@kitware.com> Merge-request: !4526 27 March 2020, 11:41:57 UTC
3ee4d19 Merge branch 'release-3.17' 27 March 2020, 11:39:30 UTC
a88b27b Merge topic 'llvm-rc-stderr' dc93cbb0d8 llvm-rc: Print stderr output when calling tools through cmake_llvm_rc Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4525 27 March 2020, 11:39:30 UTC
2fe8ea5 Merge topic 'llvm-rc-stderr' into release-3.17 dc93cbb0d8 llvm-rc: Print stderr output when calling tools through cmake_llvm_rc Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4525 27 March 2020, 11:39:29 UTC
5a79394 Merge branch 'release-3.17' 27 March 2020, 11:38:23 UTC
032df7a Merge topic 'llvm-rc-depfile' into release-3.17 2c724c3aea llvm-rc: Write depfile to location specified by the generator 4cc876540e llvm-rc: Select preprocessor from active languages Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4524 27 March 2020, 11:38:22 UTC
ab96bbf Merge topic 'llvm-rc-depfile' 2c724c3aea llvm-rc: Write depfile to location specified by the generator 4cc876540e llvm-rc: Select preprocessor from active languages Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4524 27 March 2020, 11:38:22 UTC
a0b1463 Merge branch 'release-3.16' 27 March 2020, 11:36:35 UTC
0af3a9b Merge topic 'make-nested-silent' into release-3.17 d6d9da5178 Makefiles: Fix silencing of nested calls for GNU make 4.3 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4515 27 March 2020, 11:35:12 UTC
731b390 Merge branch 'release-3.17' 27 March 2020, 11:35:12 UTC
610759f Merge topic 'make-nested-silent' d6d9da5178 Makefiles: Fix silencing of nested calls for GNU make 4.3 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4515 27 March 2020, 11:35:12 UTC
b83696c CMake Nightly Date Stamp 27 March 2020, 04:01:09 UTC
c8fd26e Help: Move Ninja Multi-Config variable details into their respective pages 26 March 2020, 19:33:48 UTC
3503a79 Merge branch 'backport-ctest-timeout-report' into ctest-timeout-report 26 March 2020, 18:42:17 UTC
7fda917 CTest: Fix reported duration on timeout when grindchild keeps pipes open Since commit d1976cd1f2 (CTest: Fix timeout when grandchild keeps pipes open, 2020-01-13, v3.17.0-rc1~169^2) we no longer hang, but the test duration we report after the timeout is the amount of time the immediate child ran before exiting. Fix the logic to instead report the actual amount of time we spent monitoring the test before the timeout. Fixes: #20509 26 March 2020, 18:35:54 UTC
6358066 FindPython: fix variable spelling error 26 March 2020, 17:08:25 UTC
4b82977 CheckIPOSupported: Avoid polluting cache with common name 'result' Fixes: #20508 26 March 2020, 16:57:07 UTC
e634458 install: Document caveat when EXPORT name matches package name Fixes: #20427 26 March 2020, 13:34:23 UTC
2ce08e5 PCH: add an option to disable `-Winvalid-pch` Fixes: #20295 26 March 2020, 13:24:46 UTC
4b26692 Merge topic 'cleanup-endls-3' 8e3a65d963 Refactor: Avoid `std::endl` where it's not necessary (part 3) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4517 26 March 2020, 13:19:31 UTC
6a0c172 Merge topic 'cleanup-endls-2' 1e4b5c7d09 Refactor: Avoid `std::endl` where it's not necessary (part 2) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4514 26 March 2020, 13:18:25 UTC
577fc3e Merge topic 'string-prefix' ec7928ef26 use _s to construct static string_views at several places 94de927cab VS10Generator: avoid many string allocations 8ca2504a4d use string_views to avoid memory allocations 761f1adcae check for a valid URL scheme before starting to do any splitting ef778d77e0 replace std::string::substr() with operations that do not allocate memory 77616f4681 pass cm::string_view to cmVisualStudioSlnParser::ParseTag() ada6a3226f use cm::string_view for language extension lookups 48adc29721 replace "std::string::find(x) == 0" with cmHasPrefix() ... Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4501 26 March 2020, 13:15:41 UTC
607e790 Merge topic 'update-kwsys' 5f8d1668a2 Merge branch 'upstream-KWSys' into update-kwsys 9d3b9ec4ab KWSys 2020-03-25 (4380f1ae) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4509 26 March 2020, 13:14:41 UTC
6257d43 Merge topic 'compile-commands-collapse-whitespace' e565053bce Ninja: Remove unnecessary newlines in compile commands 5d4bab500e Avoid consecutive whitespace in rules d8622fbd0f Modules: Collapse consecutive whitespace in strings Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4512 26 March 2020, 13:13:45 UTC
4e74a59 Merge topic 'cleanup-CollapseFullPath-calls' 25f48761fa Simplify absolute path conversions using CollapseFullPath full signature 12b39aef75 Remove redundant calls to CollapseFullPath Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4518 26 March 2020, 13:11:47 UTC
545875b Merge topic 'mingw-windres-cross-compile' af4adf6aa9 MinGW: Fix default windres selection when cross-compiling 0251ddadab MinGW: Drop unnecessary windres selection code with Unix Makefiles Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4520 26 March 2020, 13:06:13 UTC
6c7e6b1 Ninja Multi-Config: Fix MSVC showincludes prefix detection Activate the detection logic for this generator too. Fixes: #20506 26 March 2020, 12:47:36 UTC
0cd20e8 export(): raise an error on multiple calls with same FILE Fixes: 20472 26 March 2020, 12:20:45 UTC
f3d7a15 VS: Fix ClangCL toolset compiler path detection Prior to commit 3c125c6de0 (VS: Support Visual Studio Clang Toolkit identification, 2019-12-03, v3.17.0-rc1~341^2) using `-T ClangCL` would work but `CMAKE_{C,CXX}_COMPILER` would be detected as `cl.exe` even though `clang-cl.exe` is the actual compiler. That commit attempted to fix the detection by using `$(ClangClExecutable)` as we do for LLVM-distributed toolsets, but that is not actually defined. Instead, look for `$(CLToolExe)` in the `PATH`. Fixes: #20504 26 March 2020, 12:18:25 UTC
dc93cbb llvm-rc: Print stderr output when calling tools through cmake_llvm_rc The stored error pipe is output if the program fails. Fixes: #20494 26 March 2020, 11:59:55 UTC
6fdf05d Merge branch 'make-nested-silent' into release-3.16 Merge-request: !4515 26 March 2020, 11:37:06 UTC
d6d9da5 Makefiles: Fix silencing of nested calls for GNU make 4.3 Since GNU make 4.3, `.SILENT:` no longer causes nested `$(MAKE)` calls to get `-s` implicitly. Add the `-s` flag explicitly on such calls to suppress messages about Entering/Leaving directories. Fixes: #20487 26 March 2020, 11:34:24 UTC
2c724c3 llvm-rc: Write depfile to location specified by the generator Move the depfile flags to `CMAKE_DEPFILE_FLAGS_RC` so that they are only usedwith generators that use depfiles. Also switch to using the `<DEPFILE>` placeholder for the location of the depfile so that it goes where the generator expects. Fixes: #20493 26 March 2020, 11:26:21 UTC
4cc8765 llvm-rc: Select preprocessor from active languages The llvm-rc preprocessor is selected according to the CMAKE_C_COMPILER_ID / CMAKE_CXX_COMPILER_ID which are only defined when the C or CXX language is active. 26 March 2020, 11:25:33 UTC
66e0b31 CMake Nightly Date Stamp 26 March 2020, 04:01:10 UTC
3fdd8db Refactor: Avoid `std::endl` where it's not necessary (part 1) The `std::endl` manupulator, except inserting `\n` character, also performs `os.flush()`, which may leads to undesired effects (like disk I/O in the middle of forming data strings). For the `std::stringstream` it also has no meaning. 26 March 2020, 03:36:57 UTC
a7f2ff1 cmState::GetCacheEntryProperty: return cmProp 25 March 2020, 18:46:52 UTC
ea54f8d Merge topic 'cmake-compilation-no-compiler-extensions' f034b0f663 CMake compilation: do not use compiler extensions Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4477 25 March 2020, 14:34:40 UTC
952fbd9 Merge topic 'cmprop-state' ef408dd232 cmState::GetTargetTypeName: return type is *cmProp Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4505 25 March 2020, 13:25:26 UTC
c84cf42 cmState::GetGlobalProperty: return cmProp 25 March 2020, 13:10:46 UTC
d13d5c1 Merge topic 'cmprop-cache' 0bf0e35e59 cmCacheManager::GetProperty: return cmProp Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4503 25 March 2020, 12:39:26 UTC
79415fa Merge topic 'FindRuby-rvm' 905d5667e8 FindRuby: Add support for RVM installations e6699b9b59 FindRuby: Validate Ruby_EXECUTABLE before accepting it Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4386 25 March 2020, 12:16:38 UTC
3202980 Merge branch 'release-3.17' 25 March 2020, 12:13:07 UTC
f2b4576 Merge topic 'FindPython-polish' bf1ecfef7f FindPython: misc. fixes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4519 25 March 2020, 12:13:07 UTC
d14626a Merge topic 'FindPython-polish' into release-3.17 bf1ecfef7f FindPython: misc. fixes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4519 25 March 2020, 12:13:06 UTC
5f8d166 Merge branch 'upstream-KWSys' into update-kwsys # By KWSys Upstream * upstream-KWSys: KWSys 2020-03-25 (4380f1ae) 25 March 2020, 11:47:51 UTC
9d3b9ec KWSys 2020-03-25 (4380f1ae) Code extracted from: https://gitlab.kitware.com/utils/kwsys.git at commit 4380f1ae99f3206938251393e94055a3e4120b2c (master). Upstream Shortlog ----------------- Rolf Eike Beer (6): 25b61c12 Directory: make it move constructible and assignable 8b1a29e1 optimize SystemToolsParseRegistryKey() 420c3b04 call std::string::clear() instead of assigning "" bc9a4256 avoid inefficient usage of std::string::substr() e3c051e2 SystemTools: create directories with the right permissions on Un*x 0085096e avoid std::string::find() to check for prefix 25 March 2020, 11:47:51 UTC
af4adf6 MinGW: Fix default windres selection when cross-compiling When cross-compiling to MinGW, select the `windres` tool named with the toolchain's prefix. Fixes: #20500 25 March 2020, 11:21:01 UTC
0251dda MinGW: Drop unnecessary windres selection code with Unix Makefiles Since commit 957c2aac7f (RC: Simplify selection of resource compiler based on C/C++ toolchain, 2015-05-07, v3.3.0-rc1~93^2~5) we select windres as the RC compiler on MinGW via `CMAKE_RC_COMPILER_INIT`. Drop the special case from commit be9afbf453 (Find mingw's windres also when Unix Makefiles are used, 2012-08-27, v2.8.10~152^2). 25 March 2020, 11:21:01 UTC
69e495d CMake Nightly Date Stamp 25 March 2020, 04:01:07 UTC
ec7928e use _s to construct static string_views at several places This should avoid the runtime strlen() call. 24 March 2020, 18:40:44 UTC
bf1ecfe FindPython: misc. fixes Help: Fix errors regardings HINTS. Code: Optimize Python signature cache variable to avoid unecessary searchs. 24 March 2020, 17:26:16 UTC
94de927 VS10Generator: avoid many string allocations 24 March 2020, 16:50:42 UTC
8ca2504 use string_views to avoid memory allocations 24 March 2020, 16:50:37 UTC
25f4876 Simplify absolute path conversions using CollapseFullPath full signature 24 March 2020, 14:10:06 UTC
12b39ae Remove redundant calls to CollapseFullPath Remove calls where it is known the input is already a collapsed full path. 24 March 2020, 14:10:06 UTC
8e3a65d Refactor: Avoid `std::endl` where it's not necessary (part 3) The `std::endl` manipulator, except inserting `\n` character, also performs `os.flush()`, which may lead to undesired effects (like disk I/O in the middle of forming data strings). For the `std::stringstream` it also has no meaning. * replace multiple `operator<<` calls on a string literal w/ the only call and the only (bigger) string literal; * replace one character string literal used in `operator<<` w/ a char literal. 24 March 2020, 13:33:33 UTC
1e4b5c7 Refactor: Avoid `std::endl` where it's not necessary (part 2) The `std::endl` manipulator, except inserting `\n` character, also performs `os.flush()`, which may lead to undesired effects (like disk I/O in the middle of forming data strings). For the `std::stringstream` it also has no meaning. * replace multiple `operator<<` calls on a string literal w/ the only call and the only (bigger) string literal; * replace one character string literal used in `operator<<` w/ a char literal. 24 March 2020, 13:32:05 UTC
back to top