Commit Graph
47352 Commits
Author SHA1 Message Date
Kitware Robot 3f8be0ad66 CMake Nightly Date Stamp 2020-01-05 00:01:07 -05:00
Patrick Storz 9d2816544e CPack/NSIS: Also preload the "UserInfo.dll" plugin
This is currently used to provide
UserInfo::GetName and UserInfo::GetAccountType functions.
2020-01-04 18:20:27 +01:00
Patrick Storz 13567bd186 CPack/NSIS: Avoid "setup loading" screen by fixing template order
NSIS packages files (including those required by the installer itslef)
in the order in which they're mentioned in the .nsi file.

If solid compression is used, the installer might need to extract
large parts of the archive to be able to even start the setup program
("Please wait while setup is loading...").

Avoid this by moving component installation towards the end of the
template file.
2020-01-04 18:18:18 +01:00
Sebastian Holtermann 9eab3cad6a Tests: Add AUTOGEN policy CMP0100 test
Add a test for policy CMP0100 that configures whether or not
AUTOMOC and AUTOUIC should process .hh header files.
2020-01-04 11:33:05 +01:00
Sebastian Holtermann 8c2be3ae94 Tests: Restore Autogen/SameName .hh header test
In commit 7fa7f55230, the Autogen/SameName test
was changed to not test .hh header file processing in AUTOGEN anymore,
because we had to revert that feature.  Since we now support .hh header file
processing in AUTOMOC again, we can restore the Autogen/SameName test for
that.
2020-01-04 11:33:04 +01:00
Sebastian Holtermann abad139c99 Autogen: Process .hh headers based on new policy CMP0100 settings
Reintroduces .hh header processing in AUTOMOC and AUTOUIC based on the new
policy CMP0100 setting.

Fixes: #13904 CMAKE_AUTOMOC misses headers with ".hh" extension
2020-01-04 11:33:04 +01:00
Sebastian Holtermann 4db1463e05 Autogen: Try adding header suffix to moc output file name on name conflicts
In AUTOGEN, this changes the moc output file name computation on output name
conflicts to first try to add the header suffix to the moc output base name.
When that still conflicts, we try adding a range of sequential numbers.
If we still can't find an unique output name, we raise an error.
2020-01-04 11:32:14 +01:00
Kitware Robot 85287ff10d CMake Nightly Date Stamp 2020-01-04 00:01:15 -05:00
Robert Maynard e500eb80cd CUDAToolkit: add_cuda_link_dependency correctly sets dependencies 2020-01-03 16:42:16 -05:00
Kyle Edwards e7675acacb Merge topic 'add_target_deprecation'
c621839bd9 Add set_property option: DEPRECATION

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Daniele E. Domenichelli <ddomenichelli@drdanz.it>
Merge-request: !4128
2020-01-03 11:30:48 -05:00
Kyle Edwards 3c548cfaf6 Merge topic 'trace-test-support-python26-and-older'
00f25dacc0 trace: Directly parse commandline arguments without argparse

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4169
2020-01-03 11:28:29 -05:00
Kyle Edwards 2c95cb3c2e Merge topic 'msvc_support_nvcc--compiler-options'
568298a336 CUDA: MSVC + NVCC support --compiler-options compiler flag

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4177
2020-01-03 11:27:52 -05:00
Raul Tambre 7560c68f2c CUDA: Fix compiler option version checks for nvcc 10.2.19 2020-01-03 14:15:03 +02:00
Marc Chevrier e7f3db6463 Merge topic 'cmstate-std-string'
232d5bc333 cmState: more members will use std::string

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4164
2020-01-03 04:51:25 -05:00
Kitware Robot 19c2763a21 CMake Nightly Date Stamp 2020-01-03 00:01:15 -05:00
Joseph Snyder c621839bd9 Add set_property option: DEPRECATION
Add a new property flag for a target which contains a message regarding
deprecation status.

Add a warning at "Generate" time if a linked target is marked as
deprecated.

Expand ExportImport test to ensure that new property is being set and
passed correctly.  Ensure that the message is shown during the
"Generate" step run of the ExportImport test.
2020-01-02 17:11:31 -05:00
Johnny Jazeix ebfffc609e CPack/NSIS: Add option for setting MUI_HEADERIMAGE_BITMAP
Fixes: #20120
2020-01-02 22:27:31 +01:00
Robert Maynard 568298a336 CUDA: MSVC + NVCC support --compiler-options compiler flag
Fixes #20164
2020-01-02 14:35:24 -05:00
Kyle Edwards 98272cd155 Merge topic 'double-i'
397d162b9a Tests: do not use the same variable name in nested loops

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4172
2020-01-02 10:03:37 -05:00
Vitaly Stakhovsky 232d5bc333 cmState: more members will use std::string 2020-01-02 07:56:34 -05:00
Marc Chevrier 47a907413b Merge topic 'modernize-memory-management'
5444a8095d cmGlobalGenerator: modernize memrory managemenbt

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4166
2020-01-02 05:23:32 -05:00
Marc Chevrier e16fb762b5 Merge topic 'FindLibXMl2-add-target-xmllint'
a179cbf205 FindLibXml2: provide imported target LibXml2::xmllint

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4167
2020-01-02 05:09:39 -05:00
Kitware Robot 9c3a0c3e1d CMake Nightly Date Stamp 2020-01-02 00:01:09 -05:00
Robert Maynard 6c92df382f find_package: Improve debug logging output
The find_package debug log messages are now easier to read when enabled by the
`--debug-find` command-line option or `CMAKE_FIND_DEBUG_MODE` variable.
2020-01-01 15:00:42 -05:00
Daniel Mensinger 00f25dacc0 trace: Directly parse commandline arguments without argparse 2020-01-01 11:18:26 +01:00
Kitware Robot 23e782ce05 CMake Nightly Date Stamp 2020-01-01 00:01:10 -05:00
Ashley Whetter 90973c4abd FindOpenSSL: Fix ordering of dependency link flags
Fixes: #20082
2019-12-31 15:01:35 -08:00
Rolf Eike Beer 397d162b9a Tests: do not use the same variable name in nested loops
Spotted by LGTM.com.
2019-12-31 13:30:18 +01:00
Sylvain Joubert a179cbf205 FindLibXml2: provide imported target LibXml2::xmllint 2019-12-31 12:45:26 +01:00
Kitware Robot a07134e339 CMake Nightly Date Stamp 2019-12-31 00:01:09 -05:00
Marc Chevrier 5444a8095d cmGlobalGenerator: modernize memrory managemenbt 2019-12-30 16:55:39 +01:00
Alessandro Menti 8b10e493ac check_LANG_compiler_flag: add the "deprecated switch" message for GCC
Add the "deprecated switch" message for GCC to
CMakeCheckCompilerFlagCommonPatterns.cmake.
2019-12-30 11:14:12 +01:00
Kitware Robot b52962bd61 CMake Nightly Date Stamp 2019-12-30 00:01:09 -05:00
Kitware Robot 15526d4b10 CMake Nightly Date Stamp 2019-12-29 00:01:12 -05:00
Craig Scott 829603955f Merge branch 'release-3.16' 2019-12-28 19:03:00 -05:00
Craig Scott da9cbeb3e9 Merge topic 'ctest-resource-allocation-spec-message'
b393b32b4b CTest: Improve error handling when reading resource spec file

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4162
2019-12-28 19:03:00 -05:00
Craig Scott 6841059c12 Merge topic 'ctest-resource-allocation-spec-message' into release-3.16
b393b32b4b CTest: Improve error handling when reading resource spec file

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4162
2019-12-28 19:02:59 -05:00
Kitware Robot 35cc607249 CMake Nightly Date Stamp 2019-12-28 00:01:16 -05:00
Kyle Edwards b393b32b4b CTest: Improve error handling when reading resource spec file
Fixes: #20079
2019-12-27 10:53:52 -05:00
Kyle Edwards bb811568cc Merge topic 'traceJSON'
e113ab1168 trace: Add test for the JSON-v1 trace
482497e0de trace: Add JSON output format

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4102
2019-12-27 10:53:13 -05:00
Kyle Edwards e8776d6e3a Merge topic 'cmcoretrycompile_cleanup_symlinks'
a024d614ca cmCoreTryCompile::CleanupFiles now removes symlinks instead of their contents.

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4158
2019-12-27 10:52:36 -05:00
Kitware Robot c63bf5a3e5 CMake Nightly Date Stamp 2019-12-27 00:01:15 -05:00
Johnny Jazeix a024d614ca cmCoreTryCompile::CleanupFiles now removes symlinks instead of their contents.
Fixes: #17522
2019-12-26 17:39:36 +01:00
Kyle Edwards 979faa4696 Merge topic 'implib'
576c2e7a2d Swift: move windows handling into platform file (NFC)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4156
2019-12-26 11:00:25 -05:00
Kyle Edwards 5f404e6770 Merge topic 'release_notes_for_find_debug_mode'
4497a8672b Help: Add release notes for debugging find commands

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4160
2019-12-26 10:59:32 -05:00
Kitware Robot b96aa75136 CMake Nightly Date Stamp 2019-12-26 00:01:09 -05:00
Kitware Robot 26a3305528 CMake Nightly Date Stamp 2019-12-25 00:01:07 -05:00
Kitware Robot 95d32a4006 CMake Nightly Date Stamp 2019-12-24 00:01:14 -05:00
Robert Maynard 4497a8672b Help: Add release notes for debugging find commands 2019-12-23 11:10:48 -05:00
Daniel Mensinger e113ab1168 trace: Add test for the JSON-v1 trace 2019-12-23 14:05:42 +01:00