Brad King
cf90aa5595
Merge topic 'host-distro-info'
...
b9698f89df cmake_host_system_information: Make it available for all systems
5469c71a82 Refactor: Simplify `GetValue()` function calls
6c92f80f2e cmake_host_system_information: Also set `USED_FALLBACK_SCRIPT`
efe139d1b8 cmake_host_system_information: Can run fallback scripts
1e65e4a6e5 cmake_host_system_information: Can read `/etc/os-release` file
e808cbb1dd Testing: Convert `cmake_host_system_information` tests into `RunCMake`
9e831284e5 Documentation: Use definition list instead of tables
346f3de005 Refactor: Deduplicate code for `VS_nn_DIR` keys processing
...
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !6410
2021-08-24 10:04:15 -04:00
FeRD (Frank Dana)
0c0ba17493
Help: get/set_property: Fix SOURCE grammars
2021-08-23 18:38:13 -04:00
Alex Turbov
b9698f89df
cmake_host_system_information: Make it available for all systems
...
Before it was Linux only.
2021-08-20 09:35:12 -04:00
Alex Turbov
efe139d1b8
cmake_host_system_information: Can run fallback scripts
2021-08-20 09:35:12 -04:00
Alex Turbov
1e65e4a6e5
cmake_host_system_information: Can read /etc/os-release file
2021-08-20 09:35:09 -04:00
Brad King
1b3d892ac2
Merge topic 'GoogleTest-gtest-filter'
...
ea6a7dd1c2 GoogleTest: Add TEST_FILTER arg to gtest_discover_tests
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6406
2021-08-10 09:26:49 -04:00
Brad King
8706f7a617
Merge topic 'symlinks-rebase-master'
...
58d10cf6f1 Alternative symlink-creating mode for file(INSTALL ...)
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Ben Boeckel <ben.boeckel@kitware.com >
Merge-request: !6396
2021-08-10 09:25:15 -04:00
Craig Scott
ff687c07bf
Merge topic 'doc-find_package-components'
...
b7d4567769 Help: Clarify find_package() component handling
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Brad King <brad.king@kitware.com >
Acked-by: Michael Hirsch <michael@scivision.dev >
Acked-by: Alex <leha-bot@yandex.ru >
Merge-request: !6436
2021-08-09 18:03:12 -04:00
Brad King
185e9d1619
Merge topic 'help_cmake_path'
...
bb19af546b Help: cmake_path: add missing parameter
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6431
2021-08-09 09:37:58 -04:00
Craig Scott
b7d4567769
Help: Clarify find_package() component handling
...
Fixes : #22513
2021-08-09 08:01:47 +10:00
Michael Hirsch
bb19af546b
Help: cmake_path: add missing parameter
...
for cmake_path(`CONVERT` ... [NORMALIZE]) was missing in top summary
2021-08-06 11:55:53 -04:00
Ashish Sadanandan
ea6a7dd1c2
GoogleTest: Add TEST_FILTER arg to gtest_discover_tests
...
The `TEST_FILTER` argument can be used to filter tests during the
discovery phase. It combines `--gtest_filter=<expr>` with the
`--gtest_list_tests` argument when invoking the test excutable for
listing defined tests.
Fixes : #17493
2021-08-05 00:43:17 -06:00
Brad King
affd8b09e6
Merge topic 'vs10-deprecate'
...
22dab6eb96 Deprecate Visual Studio 10 2010 generator
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6412
2021-08-03 11:10:43 -04:00
Brad King
70daea512d
Merge topic 'string-TIMESTAMP-specifier-V'
...
aafa392c12 string(TIMESTAMP): Add %V specifier for ISO 8601 week number
a915f691ad Help: Format string(TIMESTAMP) format specifiers as a definition list
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6374
2021-08-03 11:08:34 -04:00
Brad King
a3ddcdb911
Merge topic 'nsis_ignore_license_page'
...
795e406e3b CPack/NSIS: Add option to not display license page
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6422
2021-08-03 11:06:45 -04:00
Brad King
1524505e12
Merge topic 'minimal_nsis'
...
c0572a15d6 CPack/NSIS: Bump minimal version of NSIS to 3.03
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6425
2021-08-03 11:05:39 -04:00
Brad King
ff56e78bea
Merge topic 'cpack_deb_zstd'
...
051da997da CPack/DEB: Add zstd compression for deb packages
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Michael Hirsch <michael@scivision.dev >
Merge-request: !6394
2021-08-03 11:04:27 -04:00
Brad King
cf49b5fb6b
Merge topic 'help-get_filename_path-fix-version-changed'
...
8b28fe5670 Help: get_filename_component: fix version info for cmake_path
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6423
2021-08-03 10:57:44 -04:00
Johnny Jazeix
c0572a15d6
CPack/NSIS: Bump minimal version of NSIS to 3.03
...
Fixes : #22508
2021-08-02 21:28:30 +02:00
Brad King
e2fe042bad
Merge topic 'cpack_debug_doc'
...
008d55df76 CPack/DEB+RPM: Update documentation on debug symbol package creation
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6393
2021-08-02 15:12:09 -04:00
Felix Lelchuk
58d10cf6f1
Alternative symlink-creating mode for file(INSTALL ...)
...
An new environment variable 'CMAKE_INSTALL_MODE' is introduced,
which can be used to ask CMake to create symbolic links
instead of copying files during a file(INSTALL ...).
The operation is at the file level only, directory trees are
still created using actual directories, not links.
Signed-off-by: Felix Lelchuk <felix.lelchuk@gmx.de >
2021-08-02 19:42:26 +02:00
Antons Jeļkins
aafa392c12
string(TIMESTAMP): Add %V specifier for ISO 8601 week number
...
In ISO 8601 weeks begin with Monday. The first week of
the year is the week which contains the first Thursday
of the year.
2021-08-02 16:31:53 +02:00
Marc Chevrier
8b28fe5670
Help: get_filename_component: fix version info for cmake_path
...
Fixes : #22505
2021-08-02 11:12:46 +02:00
Craig Scott
28ce8a932d
Merge topic 'doc-dmg-filesystem' into release-3.21
...
03ddaf1763 Help: Add missing versionadded annotation for CPACK_DMG_FILESYSTEM
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6416
2021-08-02 04:56:23 -04:00
Craig Scott
800abe1337
Merge topic 'doc-dmg-filesystem'
...
03ddaf1763 Help: Add missing versionadded annotation for CPACK_DMG_FILESYSTEM
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6416
2021-08-02 04:56:23 -04:00
Craig Scott
bc44c32773
Merge topic 'doc-presets-toolchain-file'
...
ca371d3a14 Help: Fix unlinked mention of CMAKE_TOOLCHAIN_FILE
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6417
2021-08-02 04:54:49 -04:00
Johnny Jazeix
795e406e3b
CPack/NSIS: Add option to not display license page
...
Fixes : #22215
2021-08-01 18:28:47 +02:00
Craig Scott
ca371d3a14
Help: Fix unlinked mention of CMAKE_TOOLCHAIN_FILE
2021-07-31 17:08:42 +10:00
Craig Scott
03ddaf1763
Help: Add missing versionadded annotation for CPACK_DMG_FILESYSTEM
2021-07-31 11:14:26 +10:00
Alex Turbov
9e831284e5
Documentation: Use definition list instead of tables
...
Transform tables into definition list for `cmake_host_system_information`
command manual.
2021-07-30 03:40:13 +03:00
Brad King
22dab6eb96
Deprecate Visual Studio 10 2010 generator
...
Update documentation to mark the generator deprecated. Add a warning at
the end of generation plus an option to turn off the warning.
2021-07-29 14:15:01 -04:00
Russell Greene
051da997da
CPack/DEB: Add zstd compression for deb packages
2021-07-29 13:40:40 -04:00
Russell Greene
008d55df76
CPack/DEB+RPM: Update documentation on debug symbol package creation
...
Update documentation to elaborate on the behavior between `.ddeb` creation,
CPACK_STRIP_FILES, and if the files are actually stripped.
Closes : #22438
2021-07-29 13:38:56 -04:00
Brad King
6064c70469
Merge topic 'cuda_separable_clang_make'
...
3975678fcc CUDA/Clang: Simplify --register-link-binaries logic
0b1cea66cd CUDA/Clang: Fix separable compilation in non-root directories with Makefiles
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6400
2021-07-29 08:45:40 -04:00
root
0b1cea66cd
CUDA/Clang: Fix separable compilation in non-root directories with Makefiles
...
Seems the relative paths were wrong basically all around such that only
compiling files in the top-level directory would work. I've modified
CudaOnly.SeparateCompilation to cover this.
Fixes #22482 .
2021-07-29 13:19:37 +03:00
Brad King
0079f24f45
Merge topic 'doc-custom-command-depfiles' into release-3.21
...
f6e5743d0e Help: Clarify and correct wording around DEPFILE option
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6387
2021-07-26 09:39:55 -04:00
Brad King
2cc59a80b8
Merge topic 'doc-custom-command-depfiles'
...
f6e5743d0e Help: Clarify and correct wording around DEPFILE option
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6387
2021-07-26 09:39:55 -04:00
Craig Scott
18259fa689
Merge topic 'doc-ctest-output'
...
ba6d1947b6 Help: Add cross-references between test output size ctest variables
cdde9e5a10 Help: Improve wording and cross-referencing for ctest JUnit output
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6389
2021-07-26 07:48:02 -04:00
Craig Scott
ba6d1947b6
Help: Add cross-references between test output size ctest variables
2021-07-26 21:08:45 +10:00
Craig Scott
cdde9e5a10
Help: Improve wording and cross-referencing for ctest JUnit output
2021-07-25 21:37:29 +10:00
Craig Scott
f6e5743d0e
Help: Clarify and correct wording around DEPFILE option
...
The previous wording contradicted itself regarding whether
Visual Studio generators were supported, and about when
generator expressions could be used. Restructure the paragraphs
and max it clearer what support was added in which CMake
versions.
2021-07-24 15:08:21 +10:00
Brad King
a915f691ad
Help: Format string(TIMESTAMP) format specifiers as a definition list
...
Also fix the version that added `%A` and `%B`.
2021-07-23 12:03:25 -04:00
Brad King
f7d82cb6f7
Merge topic 'iar-exe-suffix'
...
09bc0785ee Help: Document CMAKE_EXECUTABLE_SUFFIX_<LANG> explicitly
05a3bafe65 Compiler/IAR: Avoid clobbering CMAKE_EXECUTABLE_SUFFIX
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6357
2021-07-20 11:56:01 -04:00
Lorenzo Cappelletti
09bc0785ee
Help: Document CMAKE_EXECUTABLE_SUFFIX_<LANG> explicitly
...
Documentation for `CMAKE_EXECUTABLE_SUFFIX_<LANG>`, useful when
cross-compiling, is buried in section `CMAKE_EXECUTABLE_SUFFIX`.
2021-07-20 11:51:19 -04:00
Brad King
c701cbdbd6
Merge topic 'doc-policies-3.21'
...
7b5fa0f7b4 Help: Make policy CMP0126 wording more accurate
c4bc250f8c Help: Explain policy CMP0125 in more detail
6d5f74fcd7 Help: Clarify wording of CMP0124
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6360
2021-07-20 11:44:46 -04:00
Brad King
97db2e6a30
Merge topic 'doc-policies-3.21' into release-3.21
...
7b5fa0f7b4 Help: Make policy CMP0126 wording more accurate
c4bc250f8c Help: Explain policy CMP0125 in more detail
6d5f74fcd7 Help: Clarify wording of CMP0124
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6360
2021-07-20 11:44:45 -04:00
Craig Scott
3f3179aad1
Merge topic 'doc-cleanups-3.21' into release-3.21
...
8d1944c675 Help: Expand details for file(COPY_FILE)
c8ea886123 Help: Re-order file() sub-commands in Filesystem section
b5a96716eb Help: Clarify which project() call PROJECT_IS_TOP_LEVEL is for
8be7694d97 Help: Fix trivial typo
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6361
2021-07-20 07:54:58 -04:00
Craig Scott
4e5d871e74
Merge topic 'doc-cleanups-3.21'
...
8d1944c675 Help: Expand details for file(COPY_FILE)
c8ea886123 Help: Re-order file() sub-commands in Filesystem section
b5a96716eb Help: Clarify which project() call PROJECT_IS_TOP_LEVEL is for
8be7694d97 Help: Fix trivial typo
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6361
2021-07-20 07:54:58 -04:00
Craig Scott
8d1944c675
Help: Expand details for file(COPY_FILE)
2021-07-20 08:49:04 +10:00
Craig Scott
c8ea886123
Help: Re-order file() sub-commands in Filesystem section
...
The file(COPY_FILE) sub-command is closely related to the
file(COPY) sub-command. Move the former to just before the
latter for improved continuity. The file(RENAME) sub-command is
also somewhat related to file(COPY_FILE), so it was also moved to
keep it just before file(COPY_FILE).
The file(MAKE_DIRECTORY) sub-command was also moved to just
before the file(REMOVE) and file(REMOVE_RECURSE) sub-commands
to keep them together and improve logical flow of operations.
2021-07-20 08:39:34 +10:00