Alan Phipps
9ba0a54554
TIClang: Add support for TI Clang-based compilers, including tiarmclang
...
Add TIClang compiler ID and support in compiler modules. Update
documentation. Add rudimentary RunCMake test for TIClang to test
basic functionality.
Fixes : #24619
2024-02-09 15:54:40 -05:00
Orkun Tokdemir
ccaf529c4e
Autogen: Update Documentation
...
* Add Qt 6 to documentation
* Add explanation about `<ORIGIN>_autogen_timestamp_deps`
Fixes : #25201
2024-02-08 09:16:37 -05:00
Silvio Traversaro
06af18b9db
cmake: Allow CMAKE_INSTALL_PREFIX to be set by environment variable
...
Fixes : #25023
2024-01-30 11:44:45 -05:00
Craig Scott
339ae33e55
CPack: Change CPACK_PRODUCTBUILD_DOMAINS default to true (CMP0161)
...
Fixes : #23351
2024-01-28 21:09:12 +11:00
Brad King
d9b9f63083
Merge topic 'ctest-tests-from-file'
...
701029726f ctest_test: add options INCLUDE_FROM_FILE and EXCLUDE_FROM_FILE
dbacc1d5a8 ctest: add command line option to exclude tests listed in a given file
022f20f663 ctest: add command line option to run the tests listed in a given file
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Alex <leha-bot@yandex.ru >
Merge-request: !9128
2024-01-26 10:14:58 -05:00
Alex Neundorf
dbacc1d5a8
ctest: add command line option to exclude tests listed in a given file
...
Add `--exclude-from-file <filename>` to exclude the tests listed in the
given file.
Issue: #25455
2024-01-25 12:37:56 -05:00
Alex Neundorf
022f20f663
ctest: add command line option to run the tests listed in a given file
...
Add `--tests-from-file <filename>` to run only the tests listed in the
given file. The test names must match exactly, no regexps or something.
The listed tests can still be filtered with a regexp using -R.
Issue: #25455
2024-01-25 12:37:16 -05:00
Brad King
73b76563fb
Merge topic 'validate_read-only_target_properties'
...
0cfd8fe8ad cmTarget: Don't allow setting read-only properties
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !9133
2024-01-24 08:39:09 -05:00
Robert Maynard
0cfd8fe8ad
cmTarget: Don't allow setting read-only properties
...
Ensure that all documented read-only target properties now produce
errors when trying to set.
2024-01-23 08:50:38 -05:00
Brad King
c75047709f
Merge topic 'autogen-exe-per-config'
...
596e84b0d5 NinjaMultiConfig: Update tests for the new dependency change
7c39dabdbc Autogen: AUTO*_EXECUTABLE: add support for per-config values
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !8919
2024-01-18 09:01:17 -05:00
Orkun Tokdemir
7c39dabdbc
Autogen: AUTO*_EXECUTABLE: add support for per-config values
...
* Per-config values were added to `AUTO*_EXECUTABLE`.
* Dependency order was refactored for `cmake_autogen` and `cmake_autorcc` to avoid unnecessary rebuilds.
* A new parameter was added for `cmake_autogen` and `cmake_autorcc` to specify the config name of the `auto*_executable` to be used.
* Add `AUTOGEN_BETTER_GRAPH_MULTI_CONFIG` target property to change the behavior of the dependency graph.
* The timestamp target is split into three targets for per-config to avoid redundant `mocs_compilation` builds when `AUTOGEN_BETTER_GRAPH_MULTI_CONFIG` is ON
* Per-config `DEP_FILE_RULE_NAME` values were added to `AutogenInfo.json` for `Multi-Config` usage.
* Some functions were refactored to avoid code duplication.
This commit reimplements fddd0f0443
Fixes : #20074
2024-01-17 16:02:58 +01:00
Brad King
c6d69d84db
Merge topic 'file-strings-regex-match'
...
fa00928bcd file: `STRINGS` + `REGEX` store match results
ff0085cf74 Help: Drop incorrect versionadded mark from CMAKE_MATCH_<n>
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !9124
2024-01-11 10:07:48 -05:00
Brad King
446abdf324
Merge topic 'cxxmodules-no-unity'
...
63bbb3768d cmLocalGenerator: ignore scanned sources for unity builds
76b5383123 cmGlobalGenerator: add unity sources after computing target compile features
7fc2a83fe6 Tests/CXXModules: add a test with unity build support
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !9118
2024-01-10 10:15:46 -05:00
Cristian Le
fa00928bcd
file: STRINGS + REGEX store match results
...
Signed-off-by: Cristian Le <cristian.le@mpsd.mpg.de >
2024-01-09 16:36:55 -05:00
Brad King
38234058ff
Merge topic 'ctest-cli-http-headers'
...
20adf8cfce ctest: allow HTTP headers via command line
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !9123
2024-01-09 10:54:54 -05:00
Matthew Woehlke
20adf8cfce
ctest: allow HTTP headers via command line
...
Add ability to specify HTTP headers via `ctest -T Submit`.
2024-01-08 14:11:40 -05:00
Peter Kokot
925f9f18dd
Help: INSTALL_PREFIX in install(CODE|SCRIPT) was added in CMake 3.27
...
In commit 18e02ace5b (install(CODE|SCRIPT): Support $<INSTALL_PREFIX>
genex, 2023-02-24, v3.27.0-rc1~431^2) we documented the feature without
stating what version added it.
2024-01-08 12:51:02 -05:00
Ben Boeckel
63bbb3768d
cmLocalGenerator: ignore scanned sources for unity builds
2024-01-05 14:21:27 -05:00
Craig Scott
688eae3625
Merge topic 'doc-dynamic-resource-spec-file'
...
9b63f92f27 Help: Update missed text for dynamically generated resource spec files
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9117
2024-01-02 06:01:00 -05:00
Craig Scott
9b63f92f27
Help: Update missed text for dynamically generated resource spec files
2024-01-01 17:37:14 +11:00
Craig Scott
4253a41a67
Merge topic 'fix-redirect-links'
...
5a7927d028 Help: update lua.org links to be HTTPS
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9114
2023-12-31 19:59:11 -05:00
Craig Scott
d12c9d62f4
Merge topic 'fix-redirect-links' into release-3.28
...
5a7927d028 Help: update lua.org links to be HTTPS
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9114
2023-12-31 19:59:10 -05:00
Ben Boeckel
5a7927d028
Help: update lua.org links to be HTTPS
...
This is now a permanent redirect, so update links accordingly.
2024-01-01 11:32:32 +11:00
Craig Scott
581c2b6240
Merge topic 'doc-toolchains-apple'
...
315cf74025 Help: Note CMAKE_IOS_INSTALL_COMBINED deprecation in toolchains example
af2e4379fc Help: Fix typo not accounting for addition of visionOS
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9112
2023-12-31 19:29:44 -05:00
Craig Scott
315cf74025
Help: Note CMAKE_IOS_INSTALL_COMBINED deprecation in toolchains example
2023-12-30 18:38:05 +11:00
Craig Scott
af2e4379fc
Help: Fix typo not accounting for addition of visionOS
2023-12-30 18:36:34 +11:00
Brad King
a350d92c06
Merge topic 'add_test-CROSSCOMPILING_EMULATOR-exclusive'
...
ca5a300d7f add_test: Honor CROSSCOMPILING_EMULATOR only when cross-compiling
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8947
2023-12-20 09:09:48 -05:00
Ralf Habacker
ca5a300d7f
add_test: Honor CROSSCOMPILING_EMULATOR only when cross-compiling
...
Add policy CMP0158 to provide compatibility for existing projects.
Fixes : #23672
2023-12-19 10:00:55 -05:00
Ralf Habacker
6d962f3700
Help: Fix indentation level in fileapi docs for target attribute 'launchers'
...
The mentioned attribute is on the top level, not below the `install`
attribute.
This was missed in commit 80a64c9ce5 (fileapi: Add cross-compilation
emulator to codemodel-v2, 2023-11-11).
Issue: #25408
2023-12-18 08:51:30 -05:00
Ralf Habacker
88863d83d6
fileapi: Add test launcher to codemodel-v2
...
We do not need to bump the minor version because it was recently bumped
by addition of the cross-compiling emulator as another kind of launcher.
2023-12-13 10:20:43 -05:00
Ralf Habacker
1ec0372ed4
add_test: Optionally use a launcher for tests running in-project targets
...
Add a `CMAKE_TEST_LAUNCHER` variable and corresponding `TEST_LAUNCHER`
target property.
Issue: #23672
2023-12-13 10:20:43 -05:00
Brad King
ef89ad6c55
Merge topic 'ctest-jobserver-client'
...
80fe56c481 ctest: Add support for running under a make job server on POSIX systems
5396f4a9a3 cmUVJobServerClient: Add libuv-based job server integration client
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !9021
2023-12-04 09:47:25 -05:00
Brad King
9cb1471ff6
Merge topic 'fileapi-exe-launcher'
...
80a64c9ce5 fileapi: Add cross-compiling emulator to codemodel-v2
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !8964
2023-12-04 09:43:05 -05:00
Brad King
80fe56c481
ctest: Add support for running under a make job server on POSIX systems
...
Share job slots with the job server by acquiring a token before running
each test, and releasing the token when the test finishes.
2023-12-03 08:30:07 -05:00
Ralf Habacker
80a64c9ce5
fileapi: Add cross-compiling emulator to codemodel-v2
...
Fixes : #25408
2023-12-01 10:57:15 -05:00
scivision
12ae3fa0b6
Help: Document that ctest(1) --test-dir was added in 3.20
2023-11-30 08:58:44 -05:00
Brad King
7a1fd8b0d2
Merge branch 'release-3.26'
2023-11-27 14:31:18 -05:00
Brad King
0ff8c20932
Merge branch 'release-3.27' into release-3.28
2023-11-27 14:30:53 -05:00
Brad King
a4cfa9f017
Merge branch 'release-3.26' into release-3.27
2023-11-27 14:30:37 -05:00
Brad King
ceb742a8fb
CMake 3.26.6
2023-11-27 13:48:12 -05:00
Brad King
81e836e0fe
Merge topic 'vs-ifx'
...
43d218d970 VS: Add support for using Intel oneAPI Fortran compiler in .vfproj files
5c77facd78 VS: Fix Intel plugin version detection fallback
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !9001
2023-11-27 08:41:55 -05:00
Brad King
43d218d970
VS: Add support for using Intel oneAPI Fortran compiler in .vfproj files
...
Add a `fortran={ifort,ifx}` field to `CMAKE_GENERATOR_TOOLSET` to
specify which Intel Fortran compiler to use.
Fixes : #25427
2023-11-22 10:22:12 -05:00
權少
3888ea2f24
Help: Move deprecated variables to dedicated section
2023-11-22 08:41:55 -05:00
Brad King
5763a85592
Merge topic 'doc-ctest-link-cdash'
...
486c89dd6a Help: Fix ctest(1) manual links to www.cdash.org
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8998
2023-11-22 07:21:16 -05:00
Brad King
1d431e440d
Merge topic 'doc-ctest-link-cdash' into release-3.28
...
486c89dd6a Help: Fix ctest(1) manual links to www.cdash.org
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !8998
2023-11-22 07:21:15 -05:00
Brad King
5c5830bb9e
Merge branch 'doc-ctest-link-cdash' into release-3.27
...
Merge-request: !8998
2023-11-21 18:53:15 -05:00
Brad King
486c89dd6a
Help: Fix ctest(1) manual links to www.cdash.org
...
When the link was updated to `https` by commit 52eac4573d (Help: Fix
link to cdash.org from CTest manual, 2021-04-21, v3.21.0-rc1~262^2~2)
the markup was incorrectly adjusted to show the link as part of the
"See Also" section. It is meant to be the link destination for links
in prose elsewhere in the manual. Fix the markup and move it to a
clearer location. Also update the link to resolve a redirect.
2023-11-21 18:46:41 -05:00
Brad King
b6845a689e
Merge topic 'fileapi-file-sets-base-dirs-relative'
...
a3a85524cd fileapi: Fix file sets' base directories relative to top source
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com >
Merge-request: !8977
2023-11-20 09:13:01 -05:00
Brad King
2f30b29ac3
Merge topic 'fileapi-file-sets-base-dirs-relative' into release-3.28
...
a3a85524cd fileapi: Fix file sets' base directories relative to top source
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com >
Merge-request: !8977
2023-11-20 09:12:59 -05:00
Brad King
3c1176bb24
Merge branch 'fileapi-file-sets-base-dirs-relative' into release-3.27
...
Merge-request: !8977
2023-11-20 09:12:11 -05:00