Commit Graph

41576 Commits

Author SHA1 Message Date
Brad King 83dab0c123 FindThreads: Drop IRIX-specific options and results
We do not need to support IRIX anymore, so drop relevant parts.  In
particular, the `CMAKE_THREAD_PREFER_PTHREAD` is frequently confused
with `THREADS_PREFER_PTHREAD_FLAG`.

Also remove references to the IRIX-specific options and results
from other modules and tests.
2018-12-07 13:33:01 -05:00
Brad King 99a224e3ee Merge topic 'vs-json-flag-table'
8107508b3e Remove old flag table headers
6d855fbf44 Replace header flag tables with json reading
9c60ae5f11 VS: Add flag table entry for -JMC
584ad067ba VS: Fix flag table entry for -Qspectre
8df25f9400 VS: connect /Y- compiler option with "Not Using Precompiled Headers"
f1223e34c6 VS: Add v140 flag table entries for `-Zc:inline[-]`
efc90eed77 VS: Fix regressed mapping for the cl `/Os` compiler flag
36b7fc7db6 VS 14: Add flag map for -std= to CppLanguageStandard tag in project files
...

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2611
2018-12-07 08:37:14 -05:00
Brad King ce1ac9b92d Merge topic 'gnu-octave'
170bcb6fdc FindOctave: Add module to find GNU octave

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2630
2018-12-07 08:35:37 -05:00
Brad King cb85bb3573 Merge topic 'pkg-clang-tidy'
a816fe298d cmCPackFreeBSDGenerator: fix clang-tidy issues

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2712
2018-12-07 08:34:46 -05:00
Brad King 2d402239c7 Merge topic 'submit-method'
9501a6145d CTest: Remove special case for Dart version <= 1
e184603378 CTest: Add release note about removed submission methods
8c25aa2feb CTest: Remove submission trigger
a688c6b928 CTest: Remove submit method 'ftp'
c339b64cf2 CTest: Remove submit method 'scp'
aebdad399e CTest: Remove submit method 'cp'
c2f6872c4e CTest: Remove submit method 'xmlrpc'

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2672
2018-12-07 08:33:46 -05:00
Brad King 049d324e42 Merge topic 'misc-typos'
8adf237e52 Misc. comment typos

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2703
2018-12-07 08:32:41 -05:00
Brad King 05f1d7a462 Merge topic 'FindCURL-components'
5085a984e1 Help: Add notes for topic 'FindCURL-components'
8e5db11fd9 FindCURL: add test for component
fc5afbe970 FindCURL: support COMPONENTS to check features

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2677
2018-12-07 08:31:37 -05:00
Brad King 1cb7ea6113 Merge topic 'cmtarget-remove-unused-classes'
ecf6fc8dc1 cmTarget: Remove unused classes cmTargetSet and cmTargetManifest

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2697
2018-12-07 08:30:25 -05:00
Brad King 3454edcd19 Merge topic 'FindHDF5-static-hl'
4e174e0960 FindHDF5: Fix search for static hdf5_hl on Windows

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2700
2018-12-07 08:29:27 -05:00
Brad King fdd09a0269 Merge topic 'qnx_compiler_detection'
243b7c40d4 QNX: Compiler and feature detection fixes

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: MvdHurk <maikelvandenhurk@hotmail.com>
Merge-request: !2699
2018-12-07 08:28:13 -05:00
Brad King e6af2f3d2e Merge topic 'UseEcos-append-flags'
620e4e5e21 UseEcos: Append C and CXX flags instead of overwriting them

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2684
2018-12-07 08:26:42 -05:00
Brad King 5651bb0878 Merge topic 'FindThreads-asan'
e9a1ddc594 FindThreads: Replace the pthread symbol checking in libc.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2629
2018-12-07 08:25:39 -05:00
Kitware Robot a956ab7f3b CMake Nightly Date Stamp 2018-12-07 00:01:05 -05:00
Michael Hirsch, Ph.D 170bcb6fdc FindOctave: Add module to find GNU octave 2018-12-06 14:16:44 -05:00
Regina Pfeifer a816fe298d cmCPackFreeBSDGenerator: fix clang-tidy issues
Install FreeBSD's libpkg on Linux and configure CMake with
CPACK_ENABLE_FREEBSD_PKG and CMake_RUN_IWYU set to ON.
Then, fix all warnings.
2018-12-06 19:45:24 +01:00
Brad King 5085a984e1 Help: Add notes for topic 'FindCURL-components' 2018-12-06 11:49:04 -05:00
Hiroshi Miura 8e5db11fd9 FindCURL: add test for component
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2018-12-06 11:49:04 -05:00
Hiroshi Miura fc5afbe970 FindCURL: support COMPONENTS to check features
- Use pkg-config or curl-config to retrieve version,
  supported features and protocols.
- Support optional COMPONENTS to check supported features

Signed-off-by: Hiroshi Miura <miurahr@linux.com>
2018-12-06 11:49:04 -05:00
Artur Ryt ecf6fc8dc1 cmTarget: Remove unused classes cmTargetSet and cmTargetManifest 2018-12-06 11:40:13 -05:00
Mouginot B 4e174e0960 FindHDF5: Fix search for static hdf5_hl on Windows
The change in commit v3.10.0-rc1~411^2~1 (FindHDF5: Add support for
HDF5_USE_STATIC_LIBRARIES on Windows, 2017-07-03) accidentally left
out a `lib` prefix on the static library name of `hdf5_hl`.  It was
done correctly already for the main `hdf5` library.
2018-12-06 10:43:29 -05:00
antmak 620e4e5e21 UseEcos: Append C and CXX flags instead of overwriting them 2018-12-06 09:49:28 -05:00
Brad King 81bea69bd1 Merge topic 'productbuild-encode-pkg-url-ref'
7954ba9bc1 productbuild: escape pkg-ref urls
652210e901 cmSystemTools: Add EncodeURL helper

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2681
2018-12-06 09:06:13 -05:00
Brad King d69877fe86 Merge topic 'autogen-qtversion-detection'
5191b74524 Autogen: Qt version detection cleanup

Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Sebastian Holtermann <sebholt@xwmw.org>
Merge-request: !2694
2018-12-06 09:05:22 -05:00
Brad King d0e371f516 Merge topic 'try-compile'
f266182aec Check* functions family: add support for LINK_OPTIONS
29f9db5c63 try_compile/try_run: Add support for LINK_OPTIONS option.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2661
2018-12-06 09:03:58 -05:00
Brad King 0464298956 Merge topic 'arch-independent-version-file-creation'
eb973f935f CMakePackageConfigHelpers: Add ARCH_INDEPENDENT option

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Silvio Traversaro <pegua1@gmail.com>
Merge-request: !2666
2018-12-06 09:00:58 -05:00
Brad King a722316bcb Merge topic 'autogen_uic_empty_fix'
5f0f84c7e0 Autogen: Don't add a WIN32 moc definition if we have a moc_predefs.h file
0814d74548 Autogen: Add QtAutogen.UicNoGui test
2ef640819f Autogen: Tests: Differentiate between Qt core and Qt gui tests

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2668
2018-12-06 08:57:59 -05:00
Brad King c0aab7a84a Merge topic 'cmcmd_touch_err'
100366a267 cmake: add error message when '-E touch' fails

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2671
2018-12-06 08:56:52 -05:00
Brad King fad7cfd464 Merge topic 'cpack-deb-tar-format'
38e75bb3c6 CPack/Deb: Remove paxr as a supported tar format for a .deb
0fc6faf2dd Help: Replace use of :code:`` with plain reST syntax

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2651
2018-12-06 08:56:03 -05:00
Brad King cd4ac7235c Merge topic 'support_ewdk_install'
071c0e3ce4 cmVSSetupHelper: Support Enterprise WDK build enviornment

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2658
2018-12-06 08:51:23 -05:00
Brad King eaac307aad Merge branch 'release-3.13' 2018-12-06 08:48:00 -05:00
Brad King 0780a8f57a Merge topic 'cuda-external'
7b74213461 CUDA: Fix crash on linking to a CUDA target without CUDA enabled

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2704
2018-12-06 08:39:22 -05:00
Brad King 3542a553bf Merge topic 'update-kwsys'
014a098479 Merge branch 'upstream-KWSys' into update-kwsys
cbc772b89d KWSys 2018-11-28 (5ea12a52)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Isaiah <isaiah.norton@gmail.com>
Merge-request: !2678
2018-12-06 08:38:23 -05:00
Kitware Robot d8c6427fa1 CMake Nightly Date Stamp 2018-12-06 00:01:03 -05:00
Brad King 45c95a3327 Merge branch 'cuda-external' into release-3.13
Merge-request: !2704
2018-12-05 14:48:20 -05:00
Brad King 7b74213461 CUDA: Fix crash on linking to a CUDA target without CUDA enabled
Do not try to device link or add CUDA runtime libraries if the language
is not enabled.

Fixes: #18673
Issue: #18614
2018-12-05 14:45:19 -05:00
luz.paz 8adf237e52 Misc. comment typos
Found via `codespell`
2018-12-05 11:57:58 -05:00
Kitware Robot f92e953103 CMake Nightly Date Stamp 2018-12-05 00:01:04 -05:00
Kitware Robot b8db797ae3 CMake Nightly Date Stamp 2018-12-04 00:01:05 -05:00
Cristian Adam 243b7c40d4 QNX: Compiler and feature detection fixes
Tested compiler detection with the QNX 7.0 list of compiler targets:
 * gcc_ntoaarch64le
 * gcc_ntoaarch64le_cxx
 * gcc_ntoarmv7le
 * gcc_ntoarmv7le_cxx
 * gcc_ntox86_cxx
 * gcc_ntoaarch64le_gpp
 * gcc_ntox86_64_gpp
 * gcc_ntoarmv7le_gpp
 * gcc_ntox86_64_cxx
 * gcc_ntox86
 * gcc_ntox86_gpp
 * gcc_ntox86_64

This commit fixes some of the problems described in:
https://cristianadam.eu/20181202/a-better-qnx-cmake-toolchain-file/
2018-12-03 23:18:43 +01:00
Tobias Hunger 5191b74524 Autogen: Qt version detection cleanup
Split the Qt version detection code up a bit so that it is a bit
easier to follow.
2018-12-03 10:10:44 +01:00
JerryShih e9a1ddc594 FindThreads: Replace the pthread symbol checking in libc.
With asan build, we will have the pthread_create() symbol in libc. However,
libasan doesn't have full pthread implementation. We can't assume that we
have the pthread implementation in libc using pthread_create() symbol.
Replace the pthread_create() with pthread_kill() as a quick fix.
2018-12-03 16:05:59 +08:00
Kitware Robot 985a57a1c1 CMake Nightly Date Stamp 2018-12-03 00:01:03 -05:00
Kitware Robot 53fb6a1f50 CMake Nightly Date Stamp 2018-12-02 00:01:04 -05:00
Marc Chevrier f266182aec Check* functions family: add support for LINK_OPTIONS
Fixes: #18521
2018-12-01 17:56:23 +01:00
Marc Chevrier 29f9db5c63 try_compile/try_run: Add support for LINK_OPTIONS option. 2018-12-01 17:56:23 +01:00
Justin Bassett eb973f935f CMakePackageConfigHelpers: Add ARCH_INDEPENDENT option
Allow skipping the architecture check in the package version file generated from calling
write_basic_package_version_file. Document said architecture check.

Fixes: #16184
2018-11-30 22:52:40 -08:00
Kitware Robot 78c2edb129 CMake Nightly Date Stamp 2018-12-01 00:01:04 -05:00
Kitware Robot 654fdd8374 CMake Nightly Date Stamp 2018-11-30 00:01:04 -05:00
Kitware Robot 7bc72efb3c CMake Nightly Date Stamp 2018-11-29 00:01:04 -05:00
Regina Pfeifer 9501a6145d CTest: Remove special case for Dart version <= 1 2018-11-29 00:29:13 +01:00