Commit Graph

41435 Commits

Author SHA1 Message Date
Brad King
43deb8e004 Merge topic 'vs2015-no-sdk'
f54d28a838 VS: Avoid crash with VS 2015 when all SDKs are higher than 10.0.14393.0

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2656
2018-11-27 08:45:00 -05:00
Brad King
4aad340ec4 Merge topic 'FindBoost-no-cxx'
0369362132 FindBoost: Restore finding without CXX language enabled

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2663
2018-11-27 08:44:11 -05:00
Kitware Robot
cee843475d CMake Nightly Date Stamp 2018-11-27 00:01:04 -05:00
Harry Mallon
f54d28a838 VS: Avoid crash with VS 2015 when all SDKs are higher than 10.0.14393.0
Move the filter added by commit v3.13.0-rc1~72^2~2 (VS: Do not select a
Windows SDK too high for current VS version, 2017-08-07, committed
2018-09-17) to before our check that the remaining list is empty.
Otherwise we crash when dereferencing the first entry of an empty
vector.

Also add a comment explaining where 10.0.14393.0 came from.

Fixes: #18633
2018-11-26 13:42:50 -05:00
Brad King
0369362132 FindBoost: Restore finding without CXX language enabled
Since commit v3.13.0~7^2 (FindBoost: Improve compiler prefix
detection for GCC 5+ and clang 4+, 2018-11-07) we run the internal
`_Boost_COMPILER_DUMPVERSION` macro on all UNIX platforms.  Teach
the macro to tolerate missing `CMAKE_CXX_COMPILER_VERSION`, which
occurs when the CXX language is not enabled.

Fixes: #18624
2018-11-26 13:13:58 -05:00
Brad King
5bc33226b2 Merge topic 'windows-taskbar-progress'
9175a378f5 QtDialog: Add windows taskbar progress

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2628
2018-11-26 08:00:36 -05:00
Brad King
ada1041754 Merge topic 'clang-tidy-bugprone'
ce2570b207 clang-tidy: Enable checks from bugprone set

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2642
2018-11-26 08:00:01 -05:00
Brad King
af2960e0fd Merge topic 'cxx-checks-tolerate-sprintf-warning'
2ca89b5a69 C++ feature checks: Filter out libstdc++ sprintf warnings

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2643
2018-11-26 07:50:51 -05:00
Kitware Robot
6786345210 CMake Nightly Date Stamp 2018-11-26 00:01:04 -05:00
Kitware Robot
37317ece8a CMake Nightly Date Stamp 2018-11-25 00:01:03 -05:00
Kitware Robot
a44191abc4 CMake Nightly Date Stamp 2018-11-24 00:01:03 -05:00
Kitware Robot
0d6c98d895 CMake Nightly Date Stamp 2018-11-23 00:01:03 -05:00
Kitware Robot
f32c0a2400 CMake Nightly Date Stamp 2018-11-22 00:01:04 -05:00
Regina Pfeifer
ce2570b207 clang-tidy: Enable checks from bugprone set 2018-11-21 07:47:40 -05:00
Brad King
4e0c75b78f Merge topic 'clang-tidy'
5731ec30f0 clang-tidy: fix warnings from version 7

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2636
2018-11-21 07:42:32 -05:00
Brad King
2b427c2fad Merge topic 'FindGIF-modernize'
74cc42e937 Help: Add notes for topic 'FindGIF-modernize'
6962a41e6b FindGIF: Add test
5bc64fe6c2 FindGIF: Modernize

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2632
2018-11-21 07:41:27 -05:00
Brad King
74cc42e937 Help: Add notes for topic 'FindGIF-modernize' 2018-11-21 07:39:58 -05:00
Brad King
8b83d1fdff Merge topic 'find-boost-test-version'
19d92d5e6e FindBoost: provide the version in x.y.z format
186f69cf26 FindBoost: test version variables

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2638
2018-11-21 07:37:11 -05:00
Brad King
3d48c5404c Merge branch 'release-3.13' 2018-11-21 07:35:52 -05:00
Brad King
a586b60129 Merge topic 'fortran-submodule-case'
ead16adfc8 Fortran: Fix module dependency scanning with upper-case SUBMODULE

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2644
2018-11-21 07:34:53 -05:00
Kitware Robot
3804122ab2 CMake Nightly Date Stamp 2018-11-21 00:01:04 -05:00
Craig Scott
ec43aca703 Merge topic 'doc-module-doc-syntax'
8369e3e782 Help/dev: Modernize module example in the CMake Documentation Guide
664d6178d8 Help: Modernize example find module docs in cmake-developer(7)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2621
2018-11-20 16:48:45 -05:00
Maximilian Heinzler
6962a41e6b FindGIF: Add test
This tests whether GIFLIB can be found and the linker works. For newer
versions (>=5) it also tests if the version was parsed correctly.
2018-11-20 21:07:03 +01:00
Maximilian Heinzler
5bc64fe6c2 FindGIF: Modernize
This brings the module up to the current find module standards by adding
the GIF_INCLUDE_DIRS variable and the target GIF::GIF. It also updates
the documentation style to that of similar modules.
2018-11-20 21:07:03 +01:00
Brad King
8068850fcc Merge branch 'fortran-submodule-case' into release-3.13
Merge-request: !2644
2018-11-20 14:19:20 -05:00
Brad King
ead16adfc8 Fortran: Fix module dependency scanning with upper-case SUBMODULE
The lexical token expression added by commit v3.7.0-rc1~73^2~1 (Fortran:
Add support for submodule syntax in dependency scanning, 2016-09-05)
has a typo and does not match upper-case `B` in `SUBMODULE`.  Fix it.

Fixes: #18595
2018-11-20 14:16:26 -05:00
Brad King
2ca89b5a69 C++ feature checks: Filter out libstdc++ sprintf warnings
On OpenBSD linking to `libstdc++` with GCC 6.4 always warns:

    warning: sprintf() is often misused, please use snprintf()

These do not affect the availability of C++ features we're checking,
so filter them out.

Fixes: #18602
2018-11-20 12:50:45 -05:00
Brad King
ea52ec9420 Merge branch 'release-3.13' 2018-11-20 11:45:54 -05:00
Julien Jomier
9175a378f5 QtDialog: Add windows taskbar progress 2018-11-20 17:16:08 +01:00
Ben Boeckel
19d92d5e6e FindBoost: provide the version in x.y.z format 2018-11-20 10:45:24 -05:00
Ben Boeckel
186f69cf26 FindBoost: test version variables 2018-11-20 10:45:24 -05:00
Regina Pfeifer
5731ec30f0 clang-tidy: fix warnings from version 7
Fix some warnings that are new since clang-tidy version 4, and update
`.clang-tidy` to suppress the rest.
2018-11-20 10:36:08 -05:00
Brad King
05a2ca7f87 CMake 3.13.0 v3.13.0 2018-11-20 09:31:28 -05:00
Brad King
a09274c6ec Merge branch 'release-3.13' 2018-11-20 09:30:24 -05:00
Brad King
aed259ac41 Merge topic 'genex-in_list-empty-args'
b5f8113ca7 Genex: Add policy to handle empty list items in $<IN_LIST:...>

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2569
2018-11-20 09:29:44 -05:00
Brad King
e653f46677 Merge topic 'blas-pkgcfg'
a3c31effed FindBLAS: Restore BLAS_FOUND when found using pkgconfig

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2631
2018-11-20 09:26:31 -05:00
Brad King
fc366d2594 Merge topic 'FindPython-lib-arch'
c24f29c664 FindPython: Ensure config tool matches library architecture

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Eric Noulard <eric.noulard@gmail.com>
Merge-request: !2624
2018-11-20 09:25:48 -05:00
Brad King
4b94f3420c Merge topic 'irsl-ucrt-version'
01c7d9ce86 IRSL: Detect versioned Windows Universal CRT directories

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2637
2018-11-20 09:25:03 -05:00
Brad King
8369e3e782 Help/dev: Modernize module example in the CMake Documentation Guide 2018-11-20 21:03:01 +11:00
Brad King
664d6178d8 Help: Modernize example find module docs in cmake-developer(7) 2018-11-20 21:03:01 +11:00
Kitware Robot
d851a8b457 CMake Nightly Date Stamp 2018-11-20 00:01:05 -05:00
Kyle Edwards
b5f8113ca7 Genex: Add policy to handle empty list items in $<IN_LIST:...>
The old behavior of $<IN_LIST:...> is inconsistent with that of
if(IN_LIST), in that it does not find an empty search item even if
the list contains empty items. This change adds a new policy to
correctly handle empty items and make the behavior more consistent
with if(IN_LIST).

Fixes: #18556
2018-11-19 17:02:06 -05:00
Brad King
a5241cc3a7 Merge branch 'blas-pkgcfg' into release-3.13
Merge-request: !2631
2018-11-19 15:47:59 -05:00
Martin von Gagern
a3c31effed FindBLAS: Restore BLAS_FOUND when found using pkgconfig
Refactoring in commit v3.12.0-rc1~92^2 (FindPkgConfig: export the list
of found libraries also as variable, 2018-05-11) dropped use of FPHSA
to set `BLAS_FOUND`.  Set it explicitly instead.
2018-11-19 15:47:20 -05:00
Brad King
3e1c361afa Merge branch 'FindPython-lib-arch' into release-3.13
Merge-request: !2624
2018-11-19 15:37:05 -05:00
Marc Chevrier
c24f29c664 FindPython: Ensure config tool matches library architecture 2018-11-19 15:36:26 -05:00
Brad King
d3fa2e7400 Merge branch 'irsl-ucrt-version' into release-3.13
Merge-request: !2637
2018-11-19 13:32:13 -05:00
Brad King
01c7d9ce86 IRSL: Detect versioned Windows Universal CRT directories
Windows SDK version 10.0.17763.0 now places the uCRT libraries in a
versioned directory.

Fixes: #18603
2018-11-19 13:31:40 -05:00
Brad King
1dc85a6652 Merge branch 'release-3.13' 2018-11-19 10:47:42 -05:00
Brad King
9e1ee3a7c9 Merge topic 'backport-configure_file-canonical-deps'
57701227d6 configure_file: canonicalize input and output path in dependencies

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2635
2018-11-19 10:47:04 -05:00