Craig Scott
d88451568d
Merge topic 'various-typos'
...
3ab7bf82 Various typo fixes
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1626
2018-01-04 14:37:49 -05:00
Luz Paz
3ab7bf8285
Various typo fixes
...
Some are user-facing. Others are source comments.
2018-01-04 06:52:01 +11:00
Craig Scott
1e6d1dd358
FindDoxygen: Add DOXYGEN_VERBATIM_VARS for quote prevention
...
Each CMake variable listed in DOXYGEN_VERBATIM_VARS will not have any
automatic quoting applied to it when written to the Doxyfile.
2018-01-03 07:59:59 +11:00
Brad King
4309ed25ee
Merge topic 'FindPkgConfig_search_path_fix'
...
40b95ee8 FindPkgConfig: Fix IMPORTED_TARGET NO...PATH option handling
b0ff528a FindPkgConfig: Make IMPORTED_TARGET test verify NO...PATH properly
Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Rolf Eike Beer <eike@sf-mail.de>
Merge-request: !1602
2017-12-22 08:43:05 -05:00
Brad King
c9cbc32648
Merge topic 'cuda-mixed-cxx-standard'
...
4b7618d1 CUDA: Fix CUDA_STANDARD selection via cxx_std_11 with CXX_STANDARD
1d2d9c18 cmMakefile: Refactor determining a targets C++ standard level
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1590
2017-12-20 07:59:20 -05:00
Craig Scott
b0ff528adc
FindPkgConfig: Make IMPORTED_TARGET test verify NO...PATH properly
2017-12-16 22:38:56 +11:00
Brad King
44111e5cc0
Merge topic 'fix_failing_ResolveDeviceSymbols_test'
...
81642989 Cuda: ResolveDeviceSymbols now properly execute everywhere.
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1593
2017-12-15 10:35:17 -05:00
Robert Maynard
4b7618d170
CUDA: Fix CUDA_STANDARD selection via cxx_std_11 with CXX_STANDARD
...
When C++ features require a certain C++/CUDA level, verify or update the
standard level target property for each language independently.
While at it, add missing rejection of invalid `CUDA_STANDARD` property
values.
Co-Author: Brad King <brad.king@kitware.com>
Fixes : #17519
2017-12-15 10:29:20 -05:00
Brad King
4bc5c08476
Merge topic 'per-source-COMPILE_LANGUAGE-genex-support'
...
10f58b27 Genex: Per-source $<COMPILE_LANGUAGE:...> support
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1575
2017-12-14 08:21:52 -05:00
Robert Maynard
8164298935
Cuda: ResolveDeviceSymbols now properly execute everywhere.
...
The previous version had two bugs that caused the JIT runtime errors.
1. It was building the executable without separable compilation enabled
2. All kernel launches will fail if any kernel is missing a symbol, that
is why the call to file2_launch_kernel had to be removed
2017-12-13 17:34:48 -05:00
Marc Chevrier
10f58b27ac
Genex: Per-source $<COMPILE_LANGUAGE:...> support
...
Fixes : #17542
2017-12-13 16:35:22 +01:00
Sebastian Holtermann
540d08f485
Autogen: Tests: Move QtAutoUicInterface test to QtAutogen/UicInterface
2017-12-13 13:50:19 +01:00
Sebastian Holtermann
b1504f9f97
Autogen: Tests: Separate RerunRccDepends test
2017-12-13 13:50:18 +01:00
Sebastian Holtermann
e9fcd1545f
Autogen: Tests: Separate RerunMocPlugin test
2017-12-13 13:50:18 +01:00
Sebastian Holtermann
54b4ff2aee
Autogen: Tests: Separate RerunMocBasic test
2017-12-13 13:50:18 +01:00
Sebastian Holtermann
4988746e76
Autogen: Tests: Separate Complex test
2017-12-13 13:50:18 +01:00
Sebastian Holtermann
6ce6fd426e
Autogen: Tests: Separate StaticLibraryCycle test
2017-12-13 13:50:18 +01:00
Sebastian Holtermann
45b6776ab3
Autogen: Tests: Separate SameName test
2017-12-13 13:50:18 +01:00
Sebastian Holtermann
d7868687c8
Autogen: Tests: Separate MacOsFW test
2017-12-13 13:50:18 +01:00
Sebastian Holtermann
b8ef28ae1f
Autogen: Tests: Separate ObjectLibrary test
2017-12-13 13:50:18 +01:00
Sebastian Holtermann
0b6ad59ea6
Autogen: Tests: Separate UicInclude test
2017-12-13 13:50:18 +01:00
Sebastian Holtermann
a2c4e3489d
Autogen: Tests: Separate MocCMP0071 test
2017-12-13 13:50:17 +01:00
Sebastian Holtermann
cc66d35651
Autogen: Tests: Separate MocInclude test
2017-12-13 13:50:17 +01:00
Sebastian Holtermann
7971202b3c
Autogen: Tests: Separate MocDepends test
2017-12-13 13:48:28 +01:00
Sebastian Holtermann
fb7e52ca3d
Autogen: Tests: Separate MocMacroName test
2017-12-13 13:48:28 +01:00
Sebastian Holtermann
5cab8c307c
Autogen: Tests: Separate RccSkipSource test
2017-12-13 13:48:28 +01:00
Sebastian Holtermann
f11321efd1
Autogen: Tests: Separate UicSkipSource test
2017-12-13 13:48:28 +01:00
Sebastian Holtermann
0af9da29e4
Autogen: Tests: Separate MocSkipSource test
2017-12-13 13:48:28 +01:00
Sebastian Holtermann
f658bdaa7c
Autogen: Tests: Separate RccOffMocLibrary test
2017-12-13 13:48:28 +01:00
Sebastian Holtermann
f00e6c7c70
Autogen: Tests: Separate RccOnly and RccEmpty tests
2017-12-13 13:48:28 +01:00
Sebastian Holtermann
6273b83549
Autogen: Tests: Separate uicOnly test
2017-12-13 13:48:27 +01:00
Sebastian Holtermann
0b8597a86e
Autogen: Tests: Separate mocOnly and mocOnlyOpts tests
2017-12-13 13:48:27 +01:00
Sebastian Holtermann
227a7974f4
Autogen: Tests: Add basic scripts for separate tests
2017-12-13 13:48:27 +01:00
Brad King
f984296ba8
CTest: Remove unfinished batch test mode
...
This was partially implemented by commit v2.8.0~154 (Added some ctest
batch capabilities, 2009-09-10) but never finished.
2017-12-08 11:23:33 -05:00
Brad King
158fb9755c
Merge topic 'autogen-fix-library-deps'
...
1bc60334 Merge branch 'automoc-apple-framework' into autogen-fix-library-deps
a3f8371c Merge branch 'automoc-apple-framework' into autogen-fix-library-deps
bd49ae51 Autogen: Fix library dependency forwarding to _autogen target
e4ccc684 Autogen: Tests: Add test for MacOS frameworks
fcbd02fd Autogen: Fix for AUTOMOC on macOS frameworks in CMake 3.10
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1566
2017-12-08 09:35:02 -05:00
Brad King
1bc6033447
Merge branch 'automoc-apple-framework' into autogen-fix-library-deps
2017-12-07 09:11:34 -05:00
Sebastian Holtermann
e4ccc68429
Autogen: Tests: Add test for MacOS frameworks
2017-12-07 09:05:58 -05:00
Brad King
e016d6d255
Merge topic 'cpack-rpm-check-executable-flags'
...
a2031d3a CPack/RPM: check executable flags for debuginfo packages
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1565
2017-12-07 08:28:31 -05:00
Brad King
e1a09cfbd1
Merge topic 'externalproject_download_dir'
...
b8b87489 ExternalProject: Support substituting <DOWNLOAD_DIR>
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1537
2017-12-07 08:14:34 -05:00
Brad King
ea63c522ef
Merge topic 'gtest-discovery-timeout'
...
935848a8 GoogleTest: Add test for missing test executable
29731d89 GoogleTest: Add timeout to discovery
e99e3982 GoogleTest: Improve gtest_discover_tests messages
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1534
2017-12-07 08:06:27 -05:00
Craig Scott
b8b8748977
ExternalProject: Support substituting <DOWNLOAD_DIR>
2017-12-07 07:22:02 +11:00
Domen Vrankar
a2031d3a3a
CPack/RPM: check executable flags for debuginfo packages
...
Debuginfo packages can not be created from programs and
shared libraries that do not have execute permissions.
2017-12-06 21:04:20 +01:00
Matthew Woehlke
935848a8a7
GoogleTest: Add test for missing test executable
...
Add a test to verify expected behavior when a test executable on which
gtest_discover_tests is invoked was not built. (The test for the newly
added timeout conveniently sets up this situation, so this new test was
almost trivial to add.)
2017-12-06 07:37:48 -05:00
Matthew Woehlke
29731d8919
GoogleTest: Add timeout to discovery
...
Add a TIMEOUT option to gtest_discover_tests. This provides a
work-around in case a test goes out to lunch, rather than causing the
build to simply hang. (Although this is still a problem with the user's
project, hanging the build is not cool, especially in the case of
automatically running CI builds. It is much preferred that the build
should actively fail in this case, and it is trivially easy for us to
implement that.)
2017-12-06 07:37:48 -05:00
Marc Chevrier
9432f686e6
Add generator expression support to per-source COMPILE_DEFINITIONS
...
This allows users to specify different genex-based compile definitions for each file in a target.
Fixes : #17508
2017-12-05 14:47:39 +01:00
Brad King
0236e50802
Merge topic 'update-cpplint'
...
bfcc2034 Update cpplint support to return 0 and mark warnings for CDash.
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1544
2017-12-05 08:14:39 -05:00
Brad King
caa1c4967a
Merge topic 'csharp_project_without_sources'
...
8e654a37 VS: Enable generation of CSharp projects without initial .cs files
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1521
2017-12-04 10:48:53 -05:00
Bill Hoffman
bfcc20343c
Update cpplint support to return 0 and mark warnings for CDash.
...
This commit makes cpplint act like the other compiler mirroring tools. It
will always return 0 even if it reports warnings and will only return non
zero if there is a problem running the command. In addition, it will now
add some extra text to allow CTest to recognize the warnings and report
them correctly to CDash.
2017-12-01 16:23:45 -05:00
Brad King
22e67bc6bb
Merge topic 'simplify_target_link_libraries'
...
8112059e target_link_libraries: Simplify implementation and add comments.
b0e2f141 target_link_libraries: Slightly fix some error-messages.
85457b63 target_link_libraries: Return earlier on some error.
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1531
2017-12-01 08:24:08 -05:00
Brad King
e61c1cf64c
Merge topic 'libuv-raii'
...
3bcaa870 cmUVHandlePtr: Add uv_process_ptr
dd700e9b cmUVHandlePtr: Add uv_timer_ptr
32cfa7b3 cmUVHandlePtr: Move to CMakeLib to make it available everywhere
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1541
2017-12-01 08:22:49 -05:00