- Jul 30, 2020
-
-
Brad King authored
-
21e497fe Clang: Fix fallback compile features when simulating old MSVC versions Acked-by:
Kitware Robot <kwrobot@kitware.com> Reviewed-by:
Raul Tambre <raul@tambre.ee> Merge-request: !5082
-
7051250a Unity Builds: Do not set SKIP_AUTOGEN to source files Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !5081
- Jul 29, 2020
-
-
Cristian Adam authored
Fixes: #21028
-
0faedae3 FindCURL: Fix list index check after search Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !5070
- Jul 28, 2020
-
-
Fix logic added by commit fc5afbe9 (FindCURL: support COMPONENTS to check features, 2018-11-28, v3.14.0-rc1~287^2~2). When searching for particular components and `curl-config` reports one of the components being searched for first in the list, `find_package` fails. This is due to the check that treats non-zero index in the list as success and zero index as failure, while documentation on `list(FIND)` states that failure to find an element results in return value of -1 (not 0). I'm hitting this when building cURL with support for HTTP and HTTPS protocols only, and then trying to `find_package(CURL COMPONENTS HTTP HTTPS)`. I'm using `if(NOT x EQUAL -1)` check form as it appears to be the most used throughout the modules. While fixing this issue I've looked through all the uses of `list(FIND)` in other modules but wasn't able to find improper use except here.
-
5fc5f4d2 add_test: Revert "Allow special characters in test name" Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !5067
-
e67d9c6e Compilers: Ignore -print-sysroot prefix when it is '/' Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !5066
-
- Jul 27, 2020
-
-
Revert commit f84af8e2 (add_test: Allow special characters in test name, 2020-05-16, v3.18.0-rc1~142^2). Unfortunately the fix breaks projects that were working around the limitation with manual escaping. The fix can be re-introduced with a policy in a future version. Also add a 3.18.1 release note explaining the change. Fixes: #21017, #20965 Issue: #19391
-
Brad King authored
Since commit 8cc384f6 (Compilers: Add paths from -print-sysroot to system prefix path, 2020-03-25, v3.18.0-rc1~337^2) we prepend the compiler's sysroot to `CMAKE_SYSTEM_PREFIX_PATH`. This does not make sense when the prefix is just `/`, such as on Ubuntu 16.04's system compiler. Fixes: #21019
-
72676671 gitlab-ci: avoid failing dependent steps Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !5069
-
79646628 bootstrap: Fix support for Intel compiler with modern GNU system compiler Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !5057
-
8dbefc3c ExternalProject: omit --no-checkout from git clone when using git 2.20.x. Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !5054
-
36fc3a1e Xcode: Suppress legacy build system deprecation warning Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !5052
-
4bf10241 FindXalanC: Fix version parsing for XalanC 1.12 Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !5056
-
c4109a1b VS: Restore toleration of target-wide -TP flag with MSVC Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !5051
-
Ben Boeckel authored
This avoids making busted jobs if a prerequisite fails.
-
- Jul 24, 2020
-
-
The optimization from commit 627fc5b4 (ExternalProject: Avoid unnecessary checkout on clone, 2019-07-29, v3.16.0-rc1~325^2) triggers a bug in the Git 2.20.x series that is not in older or newer versions. Drop the optimization for that specific range of Git versions. Fixes: #21009
-
Brad King authored
Merge-request: !5057
-
Brad King authored
On systems with older GNU system compilers, the Intel C++ compiler does not define `__cplusplus` to any version newer than C++11. This prevented `bootstrap` from detecting that a given C++ standard flag has enabled C++17 mode in the compiler. In commit 033a4b12 (bootstrap: Extend C++17 check for our cast functions, 2019-12-14, v3.17.0-rc1~291^2) we added a preprocessor condition to attempt to detect C++17 mode in the Intel compiler on such systems by looking for `__cpp_if_constexpr`. However, on systems with a modern GNU system compiler, that definition is available even in C++11 mode. Switch to using `__cpp_deduction_guides` to detect C++17 mode for the Intel C++ compiler. That seems to be defined exclusively in C++17 mode regardless of the version of the system compiler. Fixes: #21013
-
Brad King authored
The version header now puts parentheses around the components. Fixes: #21010
-
- Jul 23, 2020
-
-
2b60088d Help: Update file(GET_RUNTIME_DEPENDENCIES) prose to match option names Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !5053
-
Brad King authored
-
Brad King authored
Xcode 12 beta 3 now warns about using the legacy build system. Since generation of the build system is CMake's responsibility, the warning is not relevant to our users. Suppress it. Issue: #18088
-
Brad King authored
Since commit 3b547e2e (VS: Simplify logic adding source file C/C++ language flag to MSVC, 2020-05-15, v3.18.0-rc1~139^2~1) we only add a per-source language selection flag when the source file extension does not match the compiler's default. This approach breaks when a project adds a target-wide `-TP` flag. Although such projects likely did not work with non-VS generators, we did support them before in Visual Studio generators. Add a special case to tolerate such flags again. Fixes: #21005
-
af6cf586 cmake-gui: Fix crash when built with Qt 5.14 or later Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !5045
-
- Jul 22, 2020
-
-
Brad King authored
In commit d7679f64 (QCMakeCacheView: use non-deprecated List and Set constructions, 2020-06-10, v3.18.0-rc2~13^2) the conversion of the `this->properties()` value to QSet is incorrect for Qt 5.14+. The problem is that `this->properties()` returns by value, so the range `this->properties().begin(), this->properties().end()` provides iterators to two different instances. Use an intermediate temporary copy of the value to get a consistent iterator range. Fixes: #20981
-
83bc79e2 Auxiliary: Add options to control Vim and Emacs file installation Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !5035
-
18292203 Merge branch 'backport-3.17-graphviz-restore-per-target' f3a6b4a2 Tests: Cover Graphviz support for per-target dependency graph options 93549b92 Graphviz: Restore support for per-target dependency graph options Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !5039
-
- Jul 21, 2020
-
-
Brad King authored
Merge-request: !5039
-
Brad King authored
-
Issue: #20928
-
The behaviors controlled by options `GRAPHVIZ_GENERATE_PER_TARGET` and `GRAPHVIZ_GENERATE_DEPENDERS` were broken by commit 55365839 (Graphviz: added test suite, fixes, enhancements, 2019-10-08, v3.17.0-rc1~615^2). It had not been covered in the test suite previously, and those changes left out checks for these features from the `default_options` case. Implement the previously-existing behavior in the new graphviz generation engine added by the above-mentioned commit. Fixes: #20928
-
Brad King authored
Since commit 2642f432 (Aux: Install editor and bash files to more natural locations, 2020-03-30, v3.18.0-rc1~429^2) these files are installed by default into locations that are not CMake-specific but may be distro-specific. Add options for packagers to control these locations. Also rename the `CMAKE_BASH_COMP_DIR` option to follow our conventions. Fixes: #20993
-
5da2c711 GHS: Fix crash when GHS_NO_SOURCE_GROUP_FILE property is not defined Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !5033
-
64bc82bb bootstrap: Add options to control use of system nghttp2 Acked-by:
Kitware Robot <kwrobot@kitware.com> Acked-by:
Christoph Grüninger <foss@grueninger.de> Merge-request: !5031
-
eea0337c centos5: Fix FTBFS with strdup Acked-by:
Kitware Robot <kwrobot@kitware.com> Merge-request: !5026
-