Commit Graph

63032 Commits

Author SHA1 Message Date
Cristian Le 252c66c697 FindPkgConfig: Tolerate PKG_CONFIG_SYSTEM_INCLUDE_PATH in environment
Tell `pkg-config --cflags` not to filter out `-I` flags for entries of
`PKG_CONFIG_SYSTEM_INCLUDE_PATH` (and `CPATH` for `pkgconf`).

Fixes: #25228
2023-09-06 12:17:39 -04:00
Cristian Le 4507883135 Tests: Rename RunCMake.FindPkgConfig LIBRARY_PATH case to SYSTEM_PATH
Prepare to cover CFLAGS too.
2023-09-06 12:12:53 -04:00
Brad King 98e1bea3fa Merge topic 'find-module-frameworks'
6b01a27f90 macOS: Simplify imported framework locations in find modules

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8757
2023-09-05 11:11:12 -04:00
Kitware Robot 6ebf71af10 CMake Nightly Date Stamp 2023-09-05 00:01:15 -04:00
Kyle Edwards 4e02834eee Merge topic 'fileapi-test-fix'
e1fe5bb475 Tests: Fix FileAPI interface_exe test

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !8765
2023-09-04 09:46:34 -04:00
Kitware Robot 89038367ab CMake Nightly Date Stamp 2023-09-04 00:01:44 -04:00
Kitware Robot 363570638a CMake Nightly Date Stamp 2023-09-03 00:01:14 -04:00
Kitware Robot 31f58c5d80 CMake Nightly Date Stamp 2023-09-02 00:01:14 -04:00
Kyle Edwards e1fe5bb475 Tests: Fix FileAPI interface_exe test 2023-09-01 14:02:44 -04:00
Craig Scott bf933b8173 Merge topic 'scope-doc-tweaks'
bbf3ed5422 Help: Explain block() policy-scope rules more clearly
2f319c6484 Help: Remove "this command" ambiguity in set() docs
9eecdc7ab7 Help: Use signature directive for cmake_policy()

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8761
2023-09-01 09:00:16 -04:00
FeRD (Frank Dana) bbf3ed5422 Help: Explain block() policy-scope rules more clearly 2023-09-01 21:28:56 +10:00
FeRD (Frank Dana) 2f319c6484 Help: Remove "this command" ambiguity in set() docs 2023-09-01 21:28:56 +10:00
FeRD (Frank Dana) 9eecdc7ab7 Help: Use signature directive for cmake_policy() 2023-09-01 21:28:40 +10:00
Kitware Robot eb5174a90c CMake Nightly Date Stamp 2023-09-01 00:01:12 -04:00
Kitware Robot 4b28f39591 CMake Nightly Date Stamp 2023-08-31 00:01:19 -04:00
Kitware Robot 4cd207b6f3 CMake Nightly Date Stamp 2023-08-30 00:01:12 -04:00
Kyle Edwards b938e7de9c Merge topic 'cmuvstreamread-raii'
27be5ccd45 cmUVStreamRead: Return RAII handle to avoid memory leak

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8749
2023-08-29 10:50:58 -04:00
Kitware Robot 9844219878 CMake Nightly Date Stamp 2023-08-29 00:01:15 -04:00
Marc Chevrier a52fc160a7 Merge topic 'imported-framework-dir-is-system'
878ae03832 macOS: IMPORTED framework: Honor SYSTEM target property in all cases

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !8758
2023-08-28 11:10:31 -04:00
Kitware Robot 889f902737 CMake Nightly Date Stamp 2023-08-28 00:02:26 -04:00
Marc Chevrier 878ae03832 macOS: IMPORTED framework: Honor SYSTEM target property in all cases
When IMPORTED_LOCATION holds a framework folder, SYSTEM property must be respected.
2023-08-27 10:59:36 +02:00
Kitware Robot ef2a6c35c2 CMake Nightly Date Stamp 2023-08-27 00:01:10 -04:00
Kitware Robot d774145786 CMake Nightly Date Stamp 2023-08-26 00:01:12 -04:00
Brad King 863891adb2 Merge topic 'modules-better-messages'
571b5e1f2c cxxmodules: improve error messages for C++ module setup
8b4d32c18b cmStandardLevelResolver: add query for the effective standard level
17ddc4ac76 cmStandardLevelResolver: compare with static string literals
6f1dae2b01 cmStandardLevelResolver: use `cmStrCat` where possible
0d45d40e13 cmStandardLevelResolver: use character literals where possible

Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !8755
2023-08-25 11:27:27 -04:00
Brad King 6b01a27f90 macOS: Simplify imported framework locations in find modules
Take advantage of commit d605f728f7 (macOS: Allow IMPORTED_LOCATION to
be a framework folder, 2023-06-16) to remove special-case framework
logic from find modules.

This changes link lines from `/path/to/Foo.framework/Foo[.tbd]` to
`-framework Foo`.  With the latter, the linker will automatically choose
the `.tbd` if it exists.

Issue: #24946
2023-08-25 11:05:18 -04:00
Kyle Edwards 27be5ccd45 cmUVStreamRead: Return RAII handle to avoid memory leak 2023-08-25 10:44:06 -04:00
Brad King 5ae0030e90 Merge branch 'release-3.27' 2023-08-25 09:41:28 -04:00
Brad King 02765cc9c4 Merge topic 'cxx-atomic'
fa3c4b6dbf Source: Link libatomic when needed on any Linux architecture

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8756
2023-08-25 09:41:27 -04:00
Brad King 8708b41532 Merge topic 'cxx-atomic' into release-3.27
fa3c4b6dbf Source: Link libatomic when needed on any Linux architecture

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8756
2023-08-25 09:41:26 -04:00
Kitware Robot 09651ff53e CMake Nightly Date Stamp 2023-08-25 00:01:12 -04:00
Brad King fa3c4b6dbf Source: Link libatomic when needed on any Linux architecture
Extend commit 78bbd58545 (Source: Link libatomic when needed on Linux
32-bit ARM, 2023-07-27, v3.27.2~10^2) to check for libatomic on more
architectures.

Fixes: #25204
2023-08-24 13:05:45 -04:00
Kitware Robot caace038e5 CMake Nightly Date Stamp 2023-08-24 00:01:17 -04:00
Ben Boeckel 571b5e1f2c cxxmodules: improve error messages for C++ module setup
Make it clear that:

- the quoted string is a target name; and
- C++ sources that export modules is the important detail.
2023-08-23 16:47:29 -04:00
Ben Boeckel 8b4d32c18b cmStandardLevelResolver: add query for the effective standard level
This allows for improved error messages.
2023-08-23 16:14:02 -04:00
Ben Boeckel 17ddc4ac76 cmStandardLevelResolver: compare with static string literals 2023-08-23 16:13:49 -04:00
Ben Boeckel 6f1dae2b01 cmStandardLevelResolver: use cmStrCat where possible 2023-08-23 16:13:49 -04:00
Ben Boeckel 0d45d40e13 cmStandardLevelResolver: use character literals where possible 2023-08-23 16:13:49 -04:00
Brad King 72beefa91b Merge branch 'release-3.27' 2023-08-23 09:53:31 -04:00
Brad King c3977582b7 CMake 3.27.4 v3.27.4 2023-08-23 09:25:28 -04:00
Brad King 649aa7aaff Merge topic 'update-kwsys'
a856486167 Merge branch 'upstream-KWSys' into update-kwsys
c7b30fa8b3 KWSys 2023-08-22 (7f82ad45)
b4a68240db Tests: Run CTestTest2 in explicit configuration

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8752
2023-08-23 08:54:40 -04:00
Brad King 732f0094a5 Merge branch 'release-3.27' 2023-08-23 08:53:57 -04:00
Brad King 92ff0f811e Merge topic 'FindZLIB-1.3'
9034394950 FindZLIB: Fix extraction of two-component version number 1.3

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8753
2023-08-23 08:53:57 -04:00
Brad King e076d9a6f4 Merge topic 'FindZLIB-1.3' into release-3.27
9034394950 FindZLIB: Fix extraction of two-component version number 1.3

Acked-by: Kitware Robot <kwrobot@kitware.com>
Acked-by: buildbot <buildbot@kitware.com>
Merge-request: !8753
2023-08-23 08:53:55 -04:00
Kitware Robot 6a5a8bed2f CMake Nightly Date Stamp 2023-08-23 00:01:11 -04:00
Brad King 9034394950 FindZLIB: Fix extraction of two-component version number 1.3
Fixes: #25200
2023-08-22 15:08:35 -04:00
Brad King a856486167 Merge branch 'upstream-KWSys' into update-kwsys
# By KWSys Upstream
* upstream-KWSys:
  KWSys 2023-08-22 (7f82ad45)
2023-08-22 13:45:55 -04:00
KWSys Upstream c7b30fa8b3 KWSys 2023-08-22 (7f82ad45)
Code extracted from:

    https://gitlab.kitware.com/utils/kwsys.git

at commit 7f82ad457aad02839c5974225fec7092e155d700 (master).

Upstream Shortlog
-----------------

scivision (5):
      12825be6 lint: use foreach(... IN {ITEMS,LISTS} ...)
      f10cb6ad lint: use modern add_test(NAME ... COMMAND ...)
      ebb95153 lint: set_property(TEST
      f26b1b39 SystemInformation: use std::cerr like rest of KWSys
      3c403fa9 SystemInformation: Replace C-style cast with reinterpret_cast
2023-08-22 13:45:55 -04:00
Brad King b4a68240db Tests: Run CTestTest2 in explicit configuration
This is needed to support `add_test(NAME)` tests in KWSys.
2023-08-22 13:45:42 -04:00
Brad King 46d0ec3728 Merge topic 'ci-linkcheck'
54e376df2e Help: Update link to Qt 5 CMake docs

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8751
2023-08-22 09:17:49 -04:00
Kyle Edwards 93e09f020c Merge topic 'libuv-bootstrap-sigchld'
d562e503aa libuv: Use SIGCHLD in bootstrap mode

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8748
2023-08-22 08:09:15 -04:00