Commit Graph

59258 Commits

Author SHA1 Message Date
Brad King
286a40cb5b Help: Update Sphinx versionadded directives for 3.25 release
Run the script:

    Utilities/Sphinx/update_versions.py --since v3.24.0 --overwrite

Manually de-duplicate the directive in FindOpenSP.
2022-10-07 11:29:00 -04:00
Brad King
f93f97d6c2 Help: Organize and revise 3.25 release notes
Add section headers similar to the 3.24 release notes and move each
individual bullet into an appropriate section.  Revise a few bullets.

Drop the `UseSWIG` bullet, as it is a simple bug fix.  Drop the
`LINK_LIBRARY` bullet, as it just polishes an existing feature,
and has a corresponding `versionadded` mark anyway.
2022-10-07 11:26:41 -04:00
Brad King
c174ef23f4 Help: Consolidate 3.25 release notes
Run the `Utilities/Release/consolidate-relnotes.bash` script to move
notes from `Help/release/dev/*` into `Help/release/3.25.rst`.
2022-10-07 11:23:58 -04:00
Brad King
a07be2ffd1 Merge topic 'clang-tidy-prefer-p-option'
3f4e0839c4 clang-tidy: Don't append compiler commands if using -p

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7753
2022-10-07 11:20:03 -04:00
Brad King
5f9994a6c1 Merge topic 'improve-symlink-error-reporting'
569fb1893e file(INSTALL): Report "Installing:" for a symlink to a directory
1461ae4933 file(INSTALL): Clarify symlink vs dir conflict errors
85f01a1ec2 file(INSTALL): Improve formatting of symlink creation error
aba48bd6ac cmSystemTools: Provide quiet link creation methods

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !7706
2022-10-07 10:47:23 -04:00
Craig Scott
3f4e0839c4 clang-tidy: Don't append compiler commands if using -p
When the -p option is given to clang-tidy, it doesn't need the compile
command line to be appended. It can get everything it needs from the
compile_commands.json file in the directory specified with the -p option.
When the compiler being used is not the system default compiler,
clang-tidy has been observed to pick up the wrong headers when the
compiler command line is given, but not if only the -p option is used.
Therefore, don't append the compiler command line if -p is present in
the <LANG>_CLANG_TIDY target property.

Fixes: #24017
2022-10-07 10:33:32 -04:00
Brad King
6d65e8a5ab Merge topic 'automoc-skip-pch'
681714ce20 AUTOMOC: Skip PCH when all sources files skip the PCH file too

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !7759
2022-10-07 10:17:26 -04:00
Brad King
a546a19385 Merge topic 'tutorial_step5_update'
92edbce342 Tutorial: Update step 5 style

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !7728
2022-10-07 09:40:16 -04:00
Brad King
7988e60ae2 Merge topic 'test-try_compile'
90aa0bb305 Tests: Move TryCompile check module cases to RunCMake.Check*
64ac01451d Tests: Clarify RunCMake.Check* case names

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !7754
2022-10-07 09:39:15 -04:00
Kitware Robot
c09152ad4b CMake Nightly Date Stamp 2022-10-07 00:01:16 -04:00
Cristian Adam
681714ce20 AUTOMOC: Skip PCH when all sources files skip the PCH file too
Fixes: #23464
2022-10-06 22:12:22 +02:00
John Parent
569fb1893e file(INSTALL): Report "Installing:" for a symlink to a directory 2022-10-06 15:10:23 -04:00
John Parent
1461ae4933 file(INSTALL): Clarify symlink vs dir conflict errors
Clarify error reporting in scenario creating a symlink where a directory
previously exists.
2022-10-06 15:10:05 -04:00
Brad King
85f01a1ec2 file(INSTALL): Improve formatting of symlink creation error
Avoid printing two error messages.  Format paths without wrapping.
2022-10-06 15:08:06 -04:00
Brad King
aba48bd6ac cmSystemTools: Provide quiet link creation methods
Offer variants that let the caller handle error messages.
2022-10-06 14:38:53 -04:00
Markus Ferrell
92edbce342 Tutorial: Update step 5 style 2022-10-06 12:08:43 -04:00
Brad King
90aa0bb305 Tests: Move TryCompile check module cases to RunCMake.Check*
The latter already have similar checks for similar modules.
2022-10-06 10:29:42 -04:00
Brad King
64ac01451d Tests: Clarify RunCMake.Check* case names
Cases for `CheckSource{Compiles,Runs}` and `Check{Compiler,Linker}Flag`
cover the modules with the language as a parameter, not the
language-specific modules.
2022-10-06 10:29:42 -04:00
Brad King
2133cf2c8e Merge topic 'try_compile-more-debug-logging'
7e6b2a92a0 try_compile: Report build dir with --debug-trycompile
cbf3252975 Tests: Remove stray debugging flag from RunCMake.CheckCompilerFlag case

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7746
2022-10-06 08:45:25 -04:00
Brad King
48dbdf1b0f Merge topic 'test-CheckSourceTree'
8d453ee751 Tests: Improve CheckSourceTree test
c23ebfa333 ci: Tell Git to ignore files known to be downloaded by jobs

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7747
2022-10-06 08:44:43 -04:00
Brad King
8b5fab00cd Merge branch 'release-3.24' 2022-10-06 08:41:50 -04:00
Brad King
c239c71681 Merge topic 'ifw-4.4'
e848ce21c9 CPack/IFW: Add support for QtIFW 4.4

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7750
2022-10-06 08:41:50 -04:00
Brad King
b18a86051e Merge topic 'ifw-4.4' into release-3.24
e848ce21c9 CPack/IFW: Add support for QtIFW 4.4

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7750
2022-10-06 08:41:49 -04:00
Brad King
1e364201e6 Merge topic 'self-target_sources'
440822fa5c Source: Fix regression causing CMakeLib sources to be compiled repeatedly

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !7748
2022-10-06 08:27:20 -04:00
Matthew Woehlke
7e6b2a92a0 try_compile: Report build dir with --debug-trycompile
When `--debug-trycompile` is enabled, issue a log (with trace) for every
`try_compile` noting what directory is being used for the compilation.
This will make it easier to find the corresponding artifacts.

Closes: #24022
2022-10-06 08:13:03 -04:00
Kitware Robot
eaeb9b6040 CMake Nightly Date Stamp 2022-10-06 00:01:12 -04:00
Brad King
c4bbeb8248 Merge topic 'doc-cmake-modes'
b768a5e23b Help: Disambiguate cmake(1) program modes in Sphinx option references

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7749
2022-10-05 16:15:22 -04:00
Erlend E. Aasland
e848ce21c9 CPack/IFW: Add support for QtIFW 4.4
Fixes: #24027
2022-10-05 15:48:08 -04:00
Brad King
b768a5e23b Help: Disambiguate cmake(1) program modes in Sphinx option references
Define the entry point to each mode as an option for the `cmake`
program, but reference the options for that mode as part of stand-in
`cmake-<mode>` programs.
2022-10-05 15:27:40 -04:00
Brad King
440822fa5c Source: Fix regression causing CMakeLib sources to be compiled repeatedly
In commit 4ff8604604 (Build: Do not use variables for sources lists,
2022-08-21) the sources of `CMakeLib` were accidentally made PUBLIC.
This causes them to be compiled again in all consuming targets.
Make the sources PRIVATE instead.
2022-10-05 12:51:44 -04:00
Brad King
8d453ee751 Tests: Improve CheckSourceTree test
Re-implement the test using simpler approach.  Enable it only when doing
an out-of-source build with a `.git` source.  Run it last, serially.
Re-use the `git` tool found for version computation.  Print the output
from `git status` without modification.  Rely on `.gitignore` instead
of filtering out paths ourselves.
2022-10-05 12:38:12 -04:00
Brad King
c23ebfa333 ci: Tell Git to ignore files known to be downloaded by jobs 2022-10-05 12:22:49 -04:00
Brad King
cbf3252975 Tests: Remove stray debugging flag from RunCMake.CheckCompilerFlag case 2022-10-05 09:53:17 -04:00
Brad King
6ace9562e7 Merge topic 'fedora-iwyu'
c239e7c259 ci: add include-what-you-use to Fedora base image

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7744
2022-10-05 09:22:09 -04:00
Kitware Robot
f2a4d7b2c3 CMake Nightly Date Stamp 2022-10-05 00:01:12 -04:00
Brad King
d59a3ce449 Merge branch 'release-3.24' 2022-10-04 14:23:28 -04:00
Brad King
1394e8e7c1 Merge branch 'release-3.23' 2022-10-04 14:23:17 -04:00
Brad King
8cadea4f47 Merge branch 'release-3.23' into release-3.24 2022-10-04 14:23:00 -04:00
Kyle Edwards
c239e7c259 ci: add include-what-you-use to Fedora base image 2022-10-04 13:30:52 -04:00
Brad King
34a6da34b8 CMake 3.23.4 v3.23.4 2022-10-04 13:26:33 -04:00
Brad King
5fec2ea078 Merge topic 'ci-intel-compiler'
f391c1c269 gitlab-ci: add jobs testing Intel 2022.2.0 compilers on Linux
29e45a94b0 Tests: Teach RunCMake to ignore Intel Classic compiler deprecation warnings

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7742
2022-10-04 10:32:26 -04:00
Brad King
15ad39575e Merge topic 'FindGDAL-debug-msvc'
fdc95c6d19 FindGDAL: Add library name for MSVC Debug GDAL

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7737
2022-10-04 10:31:02 -04:00
Brad King
70234f91b3 Merge topic 'xcode-ios-objects'
25630863ea Tests: Add case covering XCODE_EMIT_EFFECTIVE_PLATFORM_NAME=OFF for iOS

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7740
2022-10-04 10:29:54 -04:00
Brad King
5e53164acf Merge topic 'improve-try_compile-debug-documentation'
3801785cc3 Help: Improve try_compile debug documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: alcroito <alexandru.croitor@qt.io>
Merge-request: !7735
2022-10-04 10:28:32 -04:00
Brad King
6755539fca Merge topic 'fix-try_compile-doc-typo'
ef05a56387 Help: Fix typo in try_compile documentation

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !7736
2022-10-04 10:27:40 -04:00
Brad King
7bea75f1fa Merge topic 'try_compile-rename-source_from_arg'
0f28653ba9 try_compile: Rename SOURCE_FROM_ARG -> SOURCE_FROM_CONTENT

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !7733
2022-10-04 10:26:34 -04:00
Kitware Robot
a3252ac53e CMake Nightly Date Stamp 2022-10-04 00:01:15 -04:00
Brad King
f391c1c269 gitlab-ci: add jobs testing Intel 2022.2.0 compilers on Linux
Note that the classic compiler version is 2021.7.0, but we still
have it in the 2022.2.0 base image.
2022-10-03 17:51:17 -04:00
Brad King
29e45a94b0 Tests: Teach RunCMake to ignore Intel Classic compiler deprecation warnings 2022-10-03 17:51:11 -04:00
Brad King
25630863ea Tests: Add case covering XCODE_EMIT_EFFECTIVE_PLATFORM_NAME=OFF for iOS
This use case was fixed by commit a7fb4bc475 (Xcode: Set build product
locations using CONFIGURATION_BUILD_DIR, 2022-09-28).  Add a test to
verify the fix.

Fixes: #23970
2022-10-03 12:41:59 -04:00