Commit Graph

55732 Commits

Author SHA1 Message Date
Brad King
ac892a64a9 Merge topic 'xcode-framework-system-includes'
7d99cff236 Xcode: Properly identify frameworks with system includes

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !6815
2022-01-06 10:12:26 -05:00
Kitware Robot
2f244b4cb8 CMake Nightly Date Stamp 2022-01-06 00:01:07 -05:00
Kitware Robot
353318cc53 CMake Nightly Date Stamp 2022-01-05 00:01:08 -05:00
Kitware Robot
0537be19fd CMake Nightly Date Stamp 2022-01-04 00:01:11 -05:00
Craig Scott
f940c833dc Merge topic 'cmMachO_h_missing_header'
a1ca50d9fc cmMachO: Add missing header for std::unique_ptr

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6835
2022-01-03 16:51:18 -05:00
Craig Scott
ca206d6e46 Merge topic 'doc-if-floating-point'
6b170578b8 Help: Non-zero floating point numbers are true in if() expressions

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6834
2022-01-03 16:46:32 -05:00
Craig Scott
6b170578b8 Help: Non-zero floating point numbers are true in if() expressions
Fixes: #22991
2022-01-04 08:45:23 +11:00
Kitware Robot
65b1b51983 CMake Nightly Date Stamp 2022-01-03 00:01:24 -05:00
Craig Scott
a1ca50d9fc cmMachO: Add missing header for std::unique_ptr
Builds were previously relying on <memory> being included
by <string>, but not all compilers do that and we shouldn't
be relying on that anyway.
2022-01-02 21:15:19 +11:00
Kitware Robot
f96729e80c CMake Nightly Date Stamp 2022-01-02 00:01:07 -05:00
Kitware Robot
5c09fe0283 CMake Nightly Date Stamp 2022-01-01 00:01:07 -05:00
Kitware Robot
b3ae5bfba7 CMake Nightly Date Stamp 2021-12-31 00:01:14 -05:00
Kitware Robot
0876d54eed CMake Nightly Date Stamp 2021-12-30 00:01:08 -05:00
Kitware Robot
90c83564f0 CMake Nightly Date Stamp 2021-12-29 00:01:08 -05:00
Kitware Robot
6f6b00d1f4 CMake Nightly Date Stamp 2021-12-28 00:01:06 -05:00
Kitware Robot
2acddd2660 CMake Nightly Date Stamp 2021-12-27 00:01:18 -05:00
Kitware Robot
a0efad76ab CMake Nightly Date Stamp 2021-12-26 00:01:07 -05:00
Kitware Robot
02ec22472f CMake Nightly Date Stamp 2021-12-25 00:01:06 -05:00
Kitware Robot
71ef68ef96 CMake Nightly Date Stamp 2021-12-24 00:01:07 -05:00
Kitware Robot
26ab790820 CMake Nightly Date Stamp 2021-12-23 00:01:11 -05:00
Brad King
1f8c5a4f64 Merge topic 'copyright-year'
1313e940c7 Copyright.txt: Update year range to end in 2022

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6827
2021-12-22 10:26:34 -05:00
Brad King
1313e940c7 Copyright.txt: Update year range to end in 2022 2021-12-22 09:35:43 -05:00
Brad King
410f6d21b2 Merge branch 'release-3.22' 2021-12-22 09:35:30 -05:00
Brad King
0cdc59a22e Merge topic 'ci-windows-no-java'
352e68e95c Merge branch 'backport-3.22-ci-windows-no-java' into ci-windows-no-java
e217153dc0 ci: Explicitly disable Java tests on VS builds
85a07b4b49 ci: Explicitly disable Java tests on VS builds

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6826
2021-12-22 09:35:29 -05:00
Brad King
b00388a7e7 Merge topic 'ci-windows-no-java' into release-3.22
85a07b4b49 ci: Explicitly disable Java tests on VS builds

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6826
2021-12-22 09:35:28 -05:00
Brad King
352e68e95c Merge branch 'backport-3.22-ci-windows-no-java' into ci-windows-no-java 2021-12-22 09:10:05 -05:00
Brad King
e217153dc0 ci: Explicitly disable Java tests on VS builds
Extend the change from commit 840fa28d3d (ci: Explicitly disable Java
tests on Windows, 2021-12-16) to cover VS builds too.
2021-12-22 09:09:33 -05:00
Brad King
85a07b4b49 ci: Explicitly disable Java tests on VS builds
Extend the change from commit 840fa28d3d (ci: Explicitly disable Java
tests on Windows, 2021-12-16) to cover VS builds too.
2021-12-22 09:09:08 -05:00
Brad King
138aabfa9d Merge topic 'vs-csharp-dotnet-sdk'
0eea32a376 VS: Add DOTNET_SDK property to generate SDK-style C# projects
a450cc9533 VS: Set ResolveNugetPackages to false for ALL_BUILD and ZERO_CHECK
fa76e5d194 cmVisualStudio10TargetGenerator: Factor out helper for classic MSBuild project

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6634
2021-12-22 08:56:22 -05:00
Brad King
7a07d089b9 Merge topic 'cpack-freebsd-pkg'
c3715e08e4 FreeBSD: tidy up
a76f19d5e8 FreeBSD: handle new package-file-suffix
d5ae2f9754 FreeBSD: fix up the package name
0ac1ac798e FreeBSD: migrate to newer pkg_create(3) API

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: Semphriss <dev.semphris@gmail.com>
Merge-request: !5854
2021-12-22 08:53:54 -05:00
Brad King
69eb5b2421 Merge topic 'doc-list-non-existent'
b573a732dc Tests: add tests to check claims in the documentation
b151db01f9 Help: mention non-existent case for list(PREPEND)
b3a249c2cb Help: clarify range for list(INSERT), mention nonexistent / empty case
b6fdcb3df0 Help: clarify description of list(INSERT)
e55f473ea9 Help: clarify that list(APPEND) on a non-existent list creates it

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6824
2021-12-22 08:53:02 -05:00
Brad King
217f363cac Merge topic 'link-only-targets'
37af6c3311 target_link_libraries: Optionally require only target names
5134f099a3 cmGeneratorTarget: Factor out message about reasons for a missing target
37a25072ea Tests: Rename RunCMake.{CMP0028 => LinkItemValidation}

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !6821
2021-12-22 08:52:13 -05:00
Gregor Jasny
7d99cff236 Xcode: Properly identify frameworks with system includes
Check the complete include path for being a system include, not
the derived framework search path. The code for Ninja and Makefile
generators does exactly the same.

Fixes: #23011
2021-12-22 11:38:52 +01:00
Kitware Robot
68b0c62a72 CMake Nightly Date Stamp 2021-12-22 00:01:14 -05:00
Sumit Bhardwaj
0eea32a376 VS: Add DOTNET_SDK property to generate SDK-style C# projects
Changes in cmVisualStudio10TargetGenerator::Generate to write .Net
SDK-style project for VS generators VS 19 and above. Also adds
documentation and tests.

Issue: #20227
2021-12-21 09:35:49 -08:00
Adriaan de Groot
b573a732dc Tests: add tests to check claims in the documentation
- list commands APPEND, PREPEND, INSERT treat non-existent
  lists as empty and use that value, creating a new list
  variable in the process.
2021-12-21 10:55:50 -05:00
Adriaan de Groot
b151db01f9 Help: mention non-existent case for list(PREPEND) 2021-12-21 10:55:43 -05:00
Adriaan de Groot
b3a249c2cb Help: clarify range for list(INSERT), mention nonexistent / empty case 2021-12-21 10:55:35 -05:00
Adriaan de Groot
b6fdcb3df0 Help: clarify description of list(INSERT)
Since the argument is called 'index', use that in the description.
2021-12-21 10:55:32 -05:00
Adriaan de Groot
e55f473ea9 Help: clarify that list(APPEND) on a non-existent list creates it
This is hinted-at in the introduction, which mentions creating
a new variable value in the current scope, but let's make it
explicit.

Fixes: #22910
2021-12-21 10:55:22 -05:00
Brad King
9d80742db4 Merge topic 'FindGLUT-include-dirs'
6fda93faf8 FindGLUT: Provide modern-named GLUT_INCLUDE_DIRS result variable
641b3f4101 FindGLUT: Modernize documentation layout
924b2999a1 FindGLUT: Move mark_as_advanced calls closer to find calls

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6820
2021-12-21 09:29:20 -05:00
Brad King
8f44a6db8e Merge branch 'release-3.22' 2021-12-21 09:28:03 -05:00
Brad King
132f45a099 Merge topic 'FindBoost-1.78'
d45667d459 FindBoost: Do not warn about now-supported version 1.78

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6819
2021-12-21 09:28:02 -05:00
Brad King
a2752fd914 Merge topic 'FindBoost-1.78' into release-3.22
d45667d459 FindBoost: Do not warn about now-supported version 1.78

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !6819
2021-12-21 09:28:01 -05:00
Adriaan de Groot
c3715e08e4 FreeBSD: tidy up
- mismatched comments and code,
- remove superfluous log of the "Real package" (which can
  still change! log the changed filename if it does),
- the "fix up the package name" code was replacing the
  pkg 1.17 suffix by the pkg 1.17 suffix, so it wasn't
  really being useful. Whether **any** of the backwards-
  compatibility packaging code is useful is another thing.
2021-12-21 14:29:59 +01:00
Adriaan de Groot
a76f19d5e8 FreeBSD: handle new package-file-suffix 2021-12-21 13:59:27 +01:00
Adriaan de Groot
d5ae2f9754 FreeBSD: fix up the package name
When using libpkg, the output filename is determined by libpkg
itself, based on information in the manifest: package name and
version, basically. This doesn't necessarily match the name that
CMake has determined via CPACK_TEMPORARY_PACKAGE_FILE_NAME or
CPACK_PACKAGE_FILE_NAME. So reset the CMake-determined list
to match what libpkg will do.
2021-12-21 13:59:27 +01:00
Adriaan de Groot
0ac1ac798e FreeBSD: migrate to newer pkg_create(3) API
The pkg_create_from_manifest() function was never really intended as
stable API, and bapt@ has asked me to stop using it so the public
API can be stabilized.

Port to pkg_create() with its attendant settings struct.
Since we already have a complete manifest file, we can hand
that (including the embedded plist) to pkg_create().

While here, reintroduce pkg_init(), which lived in downstream patches
for a while and then went away again.
2021-12-21 13:59:27 +01:00
Kitware Robot
6afe949658 CMake Nightly Date Stamp 2021-12-21 00:01:13 -05:00
Brad King
37af6c3311 target_link_libraries: Optionally require only target names
Optionally verify that items in `LINK_LIBRARIES` and
`INTERFACE_LINK_LIBRARIES` that can be target names are actually target
names.  Add a `LINK_LIBRARIES_ONLY_TARGETS` target property and
corresponding `CMAKE_LINK_LIBRARIES_ONLY_TARGETS` variable to enable
this new check.

Fixes: #22858
2021-12-20 12:14:07 -05:00