Commit Graph

30328 Commits

Author SHA1 Message Date
Craig Scott
28501fca94 PCH PDB: Fix misuse of IS_NEWER_THAN in timestamp check
When using a file system which only has second resolution timestamps,
there is a reasonably high likelihood of timestamps being the same.
The IS_NEWER_THAN test returns true when timestamps are the same,
so don't retry copying the PCH PDB file when they match exactly.
2021-02-22 11:02:38 -05:00
Brad King
c6feaa502e Merge topic 'vs-pch-one-lang'
9945b3b565 VS: Restore support for PCH in CXX but not C within once target
d9fd32b3b3 cmVisualStudio10TargetGenerator: Refactor per-source PCH logic

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5836
2021-02-22 10:40:29 -05:00
Brad King
db4a4b9e7a Merge topic 'cpackifw-scanbuild-fix'
90c2f138ee CPackIFWInstaller: Avoid potential null pointer dereference

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5832
2021-02-22 10:39:30 -05:00
Kitware Robot
9e1fe1f358 CMake Nightly Date Stamp 2021-02-22 00:02:13 -05:00
Kitware Robot
7aad4df2ff CMake Nightly Date Stamp 2021-02-21 00:01:08 -05:00
Kitware Robot
894e5548a8 CMake Nightly Date Stamp 2021-02-20 00:01:14 -05:00
Brad King
9945b3b565 VS: Restore support for PCH in CXX but not C within once target
Fix logic from commit 9df1f33c9a (VisualStudio: move PCH rules to
projects when possible., 2020-10-15, v3.20.0-rc1~638^2) to explicitly
disable PCH on sources that should not use the target-wide PCH rules.

Fixes: #21827
2021-02-19 11:25:29 -05:00
Brad King
d9fd32b3b3 cmVisualStudio10TargetGenerator: Refactor per-source PCH logic
De-duplicate the link language lookup.
2021-02-19 11:25:03 -05:00
Brad King
b3e39a133f Merge topic 'list-index-arg-parsing'
79eaa908dc cmListCommand: add a policy for failing on invalid indicies
1f1fdff7fa cmListCommand: prefer strtol to atoi
9934a97642 cmListCommand: refactor out index argument parsing

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Michael Hirsch, Ph.D. <michael@scivision.dev>
Merge-request: !5817
2021-02-19 09:40:28 -05:00
Brad King
fe727ee2f9 Merge topic 'llvm-nm-cleanup'
06e5077688 bindexplib: remove stray debugging output when using llvm-nm

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Ben Boeckel <ben.boeckel@kitware.com>
Merge-request: !5828
2021-02-19 09:33:32 -05:00
Craig Scott
90c2f138ee CPackIFWInstaller: Avoid potential null pointer dereference
In d16830324f (CPackIFW: Improve warning and docs for show page list
option, 2021-02-14), code was added to report the current QtIFW version.
That code didn't check that there was a Generator object before using it,
resulting in a scanbuild warning about a potential null pointer dereference.
Add a check and output a more general warning message if we don't have
the current QtIFW version available to report.
2021-02-19 17:11:53 +11:00
Kitware Robot
772c32831f CMake Nightly Date Stamp 2021-02-19 00:01:14 -05:00
Brad King
06e5077688 bindexplib: remove stray debugging output when using llvm-nm
Remove a debugging message left by commit c856d4556b (bindexplib:
supporting llvm bitcode formats using llvm-nm, 2019-08-13,
v3.16.0-rc1~161^2~1).
2021-02-18 09:37:21 -05:00
Ben Boeckel
79eaa908dc cmListCommand: add a policy for failing on invalid indicies 2021-02-18 08:30:55 -05:00
Ben Boeckel
1f1fdff7fa cmListCommand: prefer strtol to atoi
This allows for detecting errors.
2021-02-18 08:30:55 -05:00
Kitware Robot
b8762f3189 CMake Nightly Date Stamp 2021-02-18 00:01:15 -05:00
Brad King
88313686b7 Merge topic 'autouic-missed-ui-dependency'
4f577d9f3a AUTOUIC: Fix missed ui files in Ninja deps

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5806
2021-02-17 07:05:47 -05:00
Kitware Robot
0abf89bf22 CMake Nightly Date Stamp 2021-02-17 00:01:14 -05:00
Brad King
50fc9d5b45 CMake 3.20.0-rc1 2021-02-16 12:11:10 -05:00
Ben Boeckel
9934a97642 cmListCommand: refactor out index argument parsing
This is in preparation for detecting errors in index argument syntax.
2021-02-16 10:43:43 -05:00
Brad King
c86ac240ff Merge topic 'preset-fixes'
121d602923 presets: Inherit 'quiet' property for test presets
7fd6bb6895 presets: Remove unintended rerunFailed option from test presets

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5808
2021-02-16 10:42:28 -05:00
Kitware Robot
6e2e906365 CMake Nightly Date Stamp 2021-02-16 00:01:19 -05:00
Alexey Edelev
4f577d9f3a AUTOUIC: Fix missed ui files in Ninja deps
This fixes the issue when two .ui files have the same name,
but different locations. In this case, Ninja deps file only
contains .ui file that was found first. So <src>/xxx/yyy.ui
and <src>/yyy.ui were processed as a same file by AUTOUIC.
2021-02-15 20:01:54 +01:00
Sam Freed
121d602923 presets: Inherit 'quiet' property for test presets
This was missed in the original implementation.
2021-02-15 10:52:32 -05:00
Sam Freed
7fd6bb6895 presets: Remove unintended rerunFailed option from test presets
This was accidentally included after discussion in #21391 had decided to
leave it out.  It was never included in a release.

Issue: #21391
2021-02-15 10:52:32 -05:00
Brad King
7f2203ab4a Merge topic 'release-3.20-cleanups' into release-3.20
7c147b21c7 Help: Add Ninja Multi-Config and make generator types into links
5039ca1126 Help: Convert output directory variable mentions to cross-references
1a7e51b9d5 Help: Cleanup wording and links in 3.20 release notes
d16830324f CPackIFW: Improve warning and docs for show page list option
7ed7db88a4 CPackIFW: Fix cppcheck warnings

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5810
2021-02-15 10:32:20 -05:00
Brad King
a962249f7c Merge topic 'release-3.20-cleanups'
7c147b21c7 Help: Add Ninja Multi-Config and make generator types into links
5039ca1126 Help: Convert output directory variable mentions to cross-references
1a7e51b9d5 Help: Cleanup wording and links in 3.20 release notes
d16830324f CPackIFW: Improve warning and docs for show page list option
7ed7db88a4 CPackIFW: Fix cppcheck warnings

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5810
2021-02-15 10:32:20 -05:00
Kitware Robot
72de729bb3 CMake Nightly Date Stamp 2021-02-15 00:01:18 -05:00
Kitware Robot
e8f178a001 CMake Nightly Date Stamp 2021-02-14 00:01:08 -05:00
Craig Scott
d16830324f CPackIFW: Improve warning and docs for show page list option 2021-02-14 15:33:45 +11:00
Craig Scott
7ed7db88a4 CPackIFW: Fix cppcheck warnings
The cppcheck warnings about uninitialised variables are likely harmless,
since they are initialised in ParseResource() anyway. Fix the warnings
anyway to reduce linting noise. The warning about a single argument
non-explicit constructor is worth fixing in general.
2021-02-14 15:24:25 +11:00
Kitware Robot
99e9167caa CMake Nightly Date Stamp 2021-02-13 00:01:15 -05:00
Kitware Robot
04f5ffa1fd CMake Nightly Date Stamp 2021-02-12 00:01:17 -05:00
Brad King
82dba948de Merge topic 'update-kwsys'
436ad8e4b6 Merge branch 'upstream-KWSys' into update-kwsys
0c57a39c41 KWSys 2021-02-10 (dda7a943)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5797
2021-02-11 08:57:45 -05:00
Brad King
801bd0ecfd Merge topic 'post-rel-dev'
e517c1beb6 Configure CMake itself with policies through CMake 3.19
141dbf2c19 export: Increase maximum policy version in exported files to 3.19
58ea0d1255 Add deprecation warnings for policies CMP0081 and below

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5798
2021-02-11 08:57:01 -05:00
Kitware Robot
5e33b17017 CMake Nightly Date Stamp 2021-02-11 00:01:16 -05:00
Brad King
141dbf2c19 export: Increase maximum policy version in exported files to 3.19
The files generatd by `install(EXPORT)` and `export()` commands
are known to work with policies as of CMake 3.19, so enable them
in sufficiently new CMake versions.
2021-02-10 09:26:04 -05:00
Brad King
58ea0d1255 Add deprecation warnings for policies CMP0081 and below
The OLD behaviors of all policies are deprecated, but only by
documentation.  Add an explicit deprecation diagnostic for policies
introduced in CMake 3.13 and below to encourage projects to port
away from setting policies to OLD.
2021-02-10 09:25:32 -05:00
Brad King
436ad8e4b6 Merge branch 'upstream-KWSys' into update-kwsys
# By KWSys Upstream
* upstream-KWSys:
  KWSys 2021-02-10 (dda7a943)
2021-02-10 08:45:46 -05:00
Brad King
693f4c70ff Begin post-3.20 development 2021-02-10 08:29:46 -05:00
Brad King
f388ce5321 Begin 3.20 release versioning 2021-02-10 08:27:12 -05:00
Brad King
ff55f33c68 Merge topic 'ctest-dashboard-with-modified-files'
33fa015b4a CTest: Restore running dashboard client Test step with modified files

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5791
2021-02-10 07:45:30 -05:00
Kitware Robot
090dbb0386 CMake Nightly Date Stamp 2021-02-10 00:01:16 -05:00
Brad King
33fa015b4a CTest: Restore running dashboard client Test step with modified files
Since commit 6a6f1d1edd (CTest: exit nonzero after
message(SEND_ERROR|FATAL_ERROR), 2020-04-03, v3.19.0-rc1~260^2), `ctest`
no longer runs tests if there are errors before the full set of tests is
defined.  Such errors were previously treated more like warnings.

The change exposed some cases where we were issuing an error message but
proceeding to run tests anyway.  The above commit downgraded one such
case (missing `DartConfiguration.tcl`) to a warning explicitly in order
to restore its former warning-like semantics.

Downgrade the Update step's diagnostic about modified or conflicting
files to a warning for the same reason.

Fixes: #21783
2021-02-09 11:05:08 -05:00
Brad King
cab99f7dba Merge topic 'xcode12-ios_install_combined'
0110aa018d IOS_INSTALL_COMBINED: Support Xcode 12 (command line only)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5785
2021-02-09 08:23:30 -05:00
Brad King
263fd22fd8 Merge topic 'xcode12-ios_install_combined' into release-3.19
0110aa018d IOS_INSTALL_COMBINED: Support Xcode 12 (command line only)

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5785
2021-02-09 08:23:29 -05:00
Brad King
40f4147224 Merge topic 'object-lib-multiarch'
4d46b1401f add_library(): Allow imported object libraries with multi-arch
1a915e8953 Tests: TargetObjects does not need any languages enabled

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5771
2021-02-09 08:22:06 -05:00
Brad King
18fa819e26 Merge topic '21479-branding-name-cpack-nsis'
0aabeb0c30 CPack/NSIS: Add option for setting branding text

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !5784
2021-02-09 08:20:17 -05:00
Kitware Robot
f7dd651ca7 CMake Nightly Date Stamp 2021-02-09 00:01:14 -05:00
Brad King
7b10c6e299 Merge topic 'parser-gcc-warning'
aac80ec1ee LexerParser: Suppress gcc -Wfree-nonheap-object warnings in generated code

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Christoph Grüninger <foss@grueninger.de>
Merge-request: !5775
2021-02-08 11:58:28 -05:00