Commit Graph

25431 Commits

Author SHA1 Message Date
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 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 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 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
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
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
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 29f9db5c63 try_compile/try_run: Add support for LINK_OPTIONS option. 2018-12-01 17:56:23 +01: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
Brad King 7954ba9bc1 productbuild: escape pkg-ref urls
Inspired-by: James Goruk <james.goruk@gmail.com>
Fixes: #18645
2018-11-28 14:27:32 -05:00
Brad King 652210e901 cmSystemTools: Add EncodeURL helper
Factor a URL encoding implementation out of CTest.
Add an option to not escape slashes.

Suggested-by: Daniel Pfeifer <daniel@pfeifer-mail.de>
2018-11-28 14:27:22 -05:00
Guillem Jover 38e75bb3c6 CPack/Deb: Remove paxr as a supported tar format for a .deb
The only format supported from the ones available within cpack is
gnutar, which supports large numbers encoded in base-256, and long
filenames and linknames. PAX is not and has never been a supported
format by dpkg.

Fixes: #18620
2018-11-28 09:31:28 -05:00
Brad King 772edffbf0 Merge topic 'readability-static-accessed-through-instance'
3e60580784 clang-tidy: Fix readability-static-accessed-through-instance

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2647
2018-11-28 09:07:45 -05:00
Brad King 58ebbf14c2 Merge topic 'clang-tidy-macos'
cb6229b8b8 clang-tidy: fix warnings in macOS-only code

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2670
2018-11-28 09:07:07 -05:00
Brad King b134e89430 Merge topic 'explicit-operator-bool'
a2648dda97 Mark operator bool explicit

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2649
2018-11-28 09:06:00 -05:00
Brad King 5daf7d92f8 Merge topic 'file-size'
12b471e828 file: add SIZE option

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2639
2018-11-28 09:05:16 -05:00
Brad King 014a098479 Merge branch 'upstream-KWSys' into update-kwsys
* upstream-KWSys:
  KWSys 2018-11-28 (5ea12a52)
2018-11-28 08:56:00 -05:00
Sebastian Holtermann 5f0f84c7e0 Autogen: Don't add a WIN32 moc definition if we have a moc_predefs.h file
On Windows systems we used to add a "-DWIN32" definition to the ``moc``
defines.  This is not necessary anymore when we have a
``moc_predefs.h`` file that provides all compiler predefines.

Closes #18623
2018-11-28 13:07:27 +01:00
Brad King 6294296906 CMake 3.13.1 2018-11-28 06:49:16 -05:00
Brad King 6bfcd4db3b Merge topic 'autogen_uic_empty_fix_3_13'
b1b5004c1a Autogen: Fix empty uic executable string

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2667
2018-11-28 06:42:58 -05:00
Kitware Robot 049ca05da9 CMake Nightly Date Stamp 2018-11-28 00:01:05 -05:00
Isaiah Norton 100366a267 cmake: add error message when '-E touch' fails
Issue: #16526
2018-11-27 16:20:43 -05:00
Brad King cb6229b8b8 clang-tidy: fix warnings in macOS-only code 2018-11-27 13:20:34 -05:00
Brad King bae71966fb Merge topic 'ctest-updates'
d9195ab081 Tests: Teach run_ctest to handle removal of CTestConfig.cmake
1ca53f5ef1 Remove unnecessary CTEST_PROJECT_NAME variables
15ac4aae0e Remove warning when no CTestConfig.cmake file exists
3125c47d27 ctest_build: Do not require unnecessary [CTEST_]PROJECT_NAME value
36bbd07a76 CDashUpload: Use the query part of the submit url as field
e1dfe8cee6 CTest: Don't require 'submit.php?' in submit location

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2640
2018-11-27 08:48:49 -05:00
Brad King 0f0c8a2c7d Merge branch 'autogen_uic_empty_fix_3_13' into release-3.13
Merge-request: !2667
2018-11-27 08:45:58 -05:00
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
Sebastian Holtermann b1b5004c1a Autogen: Fix empty uic executable string
In CMake 3.13.0 when a target has ``AUTOUIC`` enabled but doesn't
link against Qt5Widgets, the uic executable string is empty and
an error string "The uic executable \"\" does not exist" is generated.
In CMake 3.12 ``AUTOUIC`` was silently disabled instead.
This patch fixes the regression and restores the behavior of CMake 3.12.

Fixes: #18630
2018-11-27 08:21:40 -05:00
Wouter Klouwen 12b471e828 file: add SIZE option
This commit adds the SIZE option to file(). It returns the file size of
the given path if it exists and produces an error if not.
2018-11-27 08:50:36 +00:00
Jon Doron 071c0e3ce4 cmVSSetupHelper: Support Enterprise WDK build enviornment
Enterprise WDK is a command line build enviornment that does not require
any installation prior to use.

More information and download can be found here:
https://docs.microsoft.com/en-us/windows-hardware/drivers/develop/using-the-enterprise-wdk

Signed-off-by: Jon Doron <arilou@gmail.com>
2018-11-27 07:13:26 +02:00
Kitware Robot cee843475d CMake Nightly Date Stamp 2018-11-27 00:01:04 -05:00
Brad King 2cf836fa5e Merge branch 'vs2015-no-sdk' into release-3.13
Merge-request: !2656
2018-11-26 13:48:22 -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 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