Brad King
f521d20cb4
Merge topic 'ctest-command-line'
...
c0c4d48ba2 cmCTest: Use cmCommandLineArgument command-line parsing infrastructure
67dc003467 cmCTest: Add missing const
9b09c3733a cmCTestBuildAndTestHandler: Simplify constructor
30ece11e66 cmCommandLineArgument: Do not treat negative numbers as flags
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !9901
2024-10-15 10:42:30 -04:00
Brad King
027dc94922
Merge topic 'vs-fortran-ipo'
...
a36df0220f VS: Honor INTERPROCEDURAL_OPTIMIZATION for Fortran targets
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9899
2024-10-15 10:31:01 -04:00
Kitware Robot
9c25632ba0
CMake Nightly Date Stamp
2024-10-15 00:01:20 -04:00
Brad King
c0c4d48ba2
cmCTest: Use cmCommandLineArgument command-line parsing infrastructure
2024-10-14 12:12:51 -04:00
Brad King
67dc003467
cmCTest: Add missing const
2024-10-14 10:52:59 -04:00
Brad King
9b09c3733a
cmCTestBuildAndTestHandler: Simplify constructor
2024-10-14 10:52:59 -04:00
Brad King
30ece11e66
cmCommandLineArgument: Do not treat negative numbers as flags
2024-10-14 10:52:59 -04:00
Pavel Liavonau
a36df0220f
VS: Honor INTERPROCEDURAL_OPTIMIZATION for Fortran targets
...
Also map `-Qipo` to its `.vfproj` attribute.
Fixes : #26361
2024-10-14 10:17:12 -04:00
Brad King
8c622959e9
Merge topic 'ctest-core'
...
774fcbe49c CTest: Base command line mode on top of scripting commands
5115c01e1f CTestCommandLine tests: Make sure to test successful run
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !9881
2024-10-14 10:02:05 -04:00
Kitware Robot
82dafe874e
CMake Nightly Date Stamp
2024-10-14 00:02:54 -04:00
Kitware Robot
3e8a6e08f0
CMake Nightly Date Stamp
2024-10-13 00:01:53 -04:00
Brad King
f20a9dd84c
Merge topic 'ctest-log'
...
6fcb64d6b4 cmCTest: Reduce string copies during logging
97b95f24fd cmCTest: Simplify log flushing
134df24ff1 cmCTest: Remove undocumented option to log internal line numbers
24daa48a7d cmCTest: Strengthen log type enumeration
c73215d922 cmCTest: Remove RunTest log argument not used by any caller
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !9898
2024-10-12 10:33:16 -04:00
Brad King
ac76ce71f0
Merge topic 'ctest-empty-binary'
...
bcb396996c cmCTestEmptyBinaryDirectoryCommand: turn into a free function
9a5525cae7 cmCTestSleepCommand: implement as free function
f7ed0bd2f3 cmCTestCommand: remove CTestScriptHandler member
1440b05bf1 cmMakefile: invoke callback after command execution
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !9869
2024-10-12 10:32:16 -04:00
Brad King
2f470f873c
Merge topic 'tidy-readability-redundant'
...
58c5f77837 clang-tidy: fix `readability-redundant-*` warnings
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9893
2024-10-12 10:31:15 -04:00
Brad King
9b2fcb7779
Merge topic 'LINKER-prefix-support-for-libraries'
...
aba1c9d172 target_link_libraries: Add support for the LINKER: prefix
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9882
2024-10-12 10:30:12 -04:00
Brad King
04217e88ad
Merge topic 'xcode-target-sorting'
...
e3be24da68 Xcode: case-insensitive target ordering
80d0770250 Xcode: Fix target ordering operator to meet std::sort requirements
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9897
2024-10-12 10:29:10 -04:00
Daniel Pfeifer
774fcbe49c
CTest: Base command line mode on top of scripting commands
...
Make sure that all CMake variables that are translated into
CTest options in `cmCTest*Command` implementations are translated
from CTest options into CMake variables before the functions are
called. This back-and-forth translation should be temporary.
It is a necessary prerequisite for refactoring `cmCTest*Handler`
implementations to operate on CMake variables directly rather
than CTest options.
2024-10-12 06:42:02 -04:00
Kitware Robot
25c09519d2
CMake Nightly Date Stamp
2024-10-12 00:01:30 -04:00
Marc Chevrier
aba1c9d172
target_link_libraries: Add support for the LINKER: prefix
...
It is now possible to use the `LINKER:` prefix in `LINK_LIBRARIES`
and `INTERFACE_LINK_LIBRARIES` target properties.
Fixes : #26318
2024-10-11 17:54:02 +02:00
Brad King
6fcb64d6b4
cmCTest: Reduce string copies during logging
2024-10-11 10:42:14 -04:00
Brad King
97b95f24fd
cmCTest: Simplify log flushing
2024-10-11 10:42:14 -04:00
Brad King
134df24ff1
cmCTest: Remove undocumented option to log internal line numbers
2024-10-11 10:42:14 -04:00
Brad King
24daa48a7d
cmCTest: Strengthen log type enumeration
2024-10-11 10:42:14 -04:00
Brad King
c73215d922
cmCTest: Remove RunTest log argument not used by any caller
2024-10-11 10:41:44 -04:00
Daniel Pfeifer
bcb396996c
cmCTestEmptyBinaryDirectoryCommand: turn into a free function
2024-10-11 15:38:25 +02:00
Daniel Pfeifer
9a5525cae7
cmCTestSleepCommand: implement as free function
2024-10-11 15:38:25 +02:00
Daniel Pfeifer
f7ed0bd2f3
cmCTestCommand: remove CTestScriptHandler member
2024-10-11 15:38:25 +02:00
Daniel Pfeifer
1440b05bf1
cmMakefile: invoke callback after command execution
...
`cmMakefile` has a hook that invokes a callback before each command
execution. The only user of that hook is `cmCTestScriptHandler`,
which uses it to update the elapsed time since it was started.
The `ctest_sleep` command again updates the elapsed time explicitly.
This explicit update can be saved by invoking the callback after
the command execution instead.
2024-10-11 15:38:25 +02:00
Daniel Pfeifer
58c5f77837
clang-tidy: fix readability-redundant-* warnings
2024-10-11 15:37:21 +02:00
Gusts Kaksis
e3be24da68
Xcode: case-insensitive target ordering
2024-10-11 16:28:52 +03:00
Brad King
8bb0281896
Merge topic 'ctest-remove-declarative-script-mode'
...
267b42bccc CTest: Remove declarative scripting mode
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: scivision <michael@scivision.dev >
Merge-request: !9868
2024-10-11 09:21:48 -04:00
Brad King
86757382f2
Merge topic 'aix-archive-shared-libraries'
...
dc8e4f8f0c AIX: Enable versioned shared objects with CMAKE_AIX_SHARED_LIBRARY_ARCHIVE
7fb05af311 cmGeneratorTarget: Simplify AIX shared library archive name computation
e12e5e0566 cmGeneratorTarget: Simplify ComputeVersionedName signature
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !9894
2024-10-11 09:19:48 -04:00
Brad King
9a3af8e916
Merge topic 'msg-gen'
...
aa975c79fb Source: GlobalGenerator generic build message if generator mismatch
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !9895
2024-10-11 09:17:45 -04:00
Brad King
dc48a4556b
Merge topic 'post-rel-dev'
...
3a96346a3f Configure CMake itself with policies through CMake 3.30
10f8c6a274 export: Increase maximum policy version in exported files to 3.30
fe6cf6d28c Add deprecation warnings for policies CMP0139 and below
b51e6a0be7 Help/dev: Update export policy version in post-release development
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9892
2024-10-11 09:16:14 -04:00
Kitware Robot
f1019f6533
CMake Nightly Date Stamp
2024-10-11 00:01:13 -04:00
Gusts Kaksis
80d0770250
Xcode: Fix target ordering operator to meet std::sort requirements
...
`std::sort` requires strict-weak ordering where `a == b` is false.
2024-10-10 15:57:02 -04:00
Aditya Vidyadhar Kamath
dc8e4f8f0c
AIX: Enable versioned shared objects with CMAKE_AIX_SHARED_LIBRARY_ARCHIVE
...
Closes : #26358
2024-10-10 14:00:59 -04:00
Brad King
7fb05af311
cmGeneratorTarget: Simplify AIX shared library archive name computation
2024-10-10 13:18:01 -04:00
Brad King
e12e5e0566
cmGeneratorTarget: Simplify ComputeVersionedName signature
2024-10-10 13:10:13 -04:00
scivision
aa975c79fb
Source: GlobalGenerator generic build message if generator mismatch
...
Make the error message more generic if there is a generator or build system mismatch,
as often Make is not the generator used. This comes up say if using a VM or WSL and
accidentally specifying the same build directory.
2024-10-10 09:43:21 -04:00
Brad King
3dcb06e956
CMake 3.31.0-rc1
2024-10-10 09:39:31 -04:00
Brad King
3a96346a3f
Configure CMake itself with policies through CMake 3.30
2024-10-10 09:32:06 -04:00
Brad King
10f8c6a274
export: Increase maximum policy version in exported files to 3.30
...
The files generated by `install(EXPORT)`, `export()`, and
`install_jar_exports()` commands are known to work with policies
as of CMake 3.30, so enable them in sufficiently new CMake versions.
2024-10-10 09:32:06 -04:00
Brad King
fe6cf6d28c
Add deprecation warnings for policies CMP0139 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.24 and below to encourage projects to port
away from setting policies to OLD.
2024-10-10 09:31:52 -04:00
Kitware Robot
12fc24e849
CMake Nightly Date Stamp
2024-10-10 00:01:34 -04:00
Daniel Pfeifer
267b42bccc
CTest: Remove declarative scripting mode
2024-10-09 22:30:58 +02:00
Brad King
5d4f86326c
Begin post-3.31 development
2024-10-09 10:04:17 -04:00
Brad King
b062c18c64
Begin 3.31 release versioning
2024-10-09 10:02:30 -04:00
Brad King
a71652496a
Merge topic 'project-vars-policy'
...
e5a9ccbcc8 project: Always set <PROJECT-NAME>_* as normal variables
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !9879
2024-10-09 09:20:57 -04:00
Kitware Robot
5d58adf282
CMake Nightly Date Stamp
2024-10-09 00:01:23 -04:00