Brad King
8f67d42671
Merge topic 'find-matlab-imported-targets'
...
161990b921 FindMatlab: Add imported targets
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Ben Boeckel <ben.boeckel@kitware.com >
Merge-request: !6488
2021-09-14 09:42:50 -04:00
Brad King
2a8d9bf4cc
Merge topic 'CMakeDependentOption-condition-syntax'
...
059b90a0b4 CMakeDependentOption: Introduce policy CMP0127 for full Condition Syntax
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !6493
2021-09-14 09:35:07 -04:00
Silvio Traversaro
161990b921
FindMatlab: Add imported targets
2021-09-13 12:12:05 -04:00
Craig Scott
dadb7a2ba5
Merge topic 'document_find_package_version_restrictions'
...
563139e5e9 Help: find_package document version only supports numeric components
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6510
2021-09-11 04:39:10 -04:00
Daniel Schürmann
059b90a0b4
CMakeDependentOption: Introduce policy CMP0127 for full Condition Syntax
...
Fixes : #22303
2021-09-10 09:46:55 -04:00
Brad King
293070c325
Merge topic 'vs_settings'
...
f21158cdfe VS: Honor VS_SETTINGS source file property on all sources
3bf013632d cmVisualStudio10TargetGenerator: Factor out helper to write VS_SETTINGS
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6492
2021-09-10 09:34:17 -04:00
Brad King
a4fccf74af
Merge topic 'ctest-memcheck-generate-test.xml'
...
ce44c2cec3 ctest_memcheck: generate `DynamicAnalysis-Test.xml` as well
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !6491
2021-09-10 09:29:42 -04:00
Robert Maynard
563139e5e9
Help: find_package document version only supports numeric components
2021-09-09 15:02:30 -04:00
Steven Boswell
f21158cdfe
VS: Honor VS_SETTINGS source file property on all sources
...
Extend the feature added by commit 2ce42f281f (VS: Add VS_SETTINGS
source file property, 2020-03-18, v3.18.0-rc1~449^2~3) to support
all source file types.
2021-09-09 14:19:28 -04:00
Ben Boeckel
ce44c2cec3
ctest_memcheck: generate DynamicAnalysis-Test.xml as well
...
This is useful so that memcheck results also show up as test results on
CDash. It will be submitted with the other `MemCheck` parts.
Fixes : #22190
2021-09-08 21:04:46 -04:00
Joerg Bornemann
84aaebf79f
Help: Mention that Qt6 is supported by AUTOGEN
...
Co-Authored-By: Craig Scott <craig.scott@crascit.com >
2021-09-07 08:51:26 +10:00
Brad King
441691bc24
Help: Document that toolchain files may set implicit link information
...
Document in `CMAKE_<LANG>_IMPLICIT_LINK_{LIBRARIES,DIRECTORIES}` how
their value is used and that a fallback value may be provided by a
toolchain file.
2021-09-02 14:49:40 -04:00
Brad King
c8991f17cf
Merge topic 'cmake-packages-pkg-cfg-file-example'
...
d186797cf6 Help: Fix regex in example of cmake-packages(7)
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Ben Boeckel <ben.boeckel@kitware.com >
Merge-request: !6489
2021-09-02 10:26:21 -04:00
Johel Ernesto Guerrero Peña
d186797cf6
Help: Fix regex in example of cmake-packages(7)
...
This change makes it work as intended as opposed to make the condition always true.
This can be confirmed by running the following script:
```
[johel@sundown tmp]$ cat x.cmake
function(f)
set(valid_inputs abc 123)
foreach(input ${ARGV})
if(";${valid_inputs};" MATCHES input)
message("old valid: ${input}")
endif()
if(";${valid_inputs};" MATCHES ";${input};")
message("new valid: ${input}")
endif()
endforeach()
endfunction()
f("0;z;123;12;abc;ab;13;ac")
set(_supported_components Plot Table)
set(ClimbingStats_FIND_COMPONENTS Plot Table P T)
foreach(_comp ${ClimbingStats_FIND_COMPONENTS})
if(NOT ";${_supported_components};" MATCHES _comp)
message("old invalid: set(ClimbingStats_NOT_FOUND_MESSAGE \"Unsupported component: ${_comp}\")")
endif()
if(NOT ";${_supported_components};" MATCHES ";${_comp};")
message("new invalid: set(ClimbingStats_NOT_FOUND_MESSAGE \"Unsupported component: ${_comp}\")")
endif()
endforeach()
[johel@sundown tmp]$ cmake -P x.cmake
new valid: 123
new valid: abc
old invalid: set(ClimbingStats_NOT_FOUND_MESSAGE "Unsupported component: Plot")
old invalid: set(ClimbingStats_NOT_FOUND_MESSAGE "Unsupported component: Table")
old invalid: set(ClimbingStats_NOT_FOUND_MESSAGE "Unsupported component: P")
new invalid: set(ClimbingStats_NOT_FOUND_MESSAGE "Unsupported component: P")
old invalid: set(ClimbingStats_NOT_FOUND_MESSAGE "Unsupported component: T")
new invalid: set(ClimbingStats_NOT_FOUND_MESSAGE "Unsupported component: T")
```
2021-08-28 10:49:28 -04:00
Johel Ernesto Guerrero Peña
c6a6c008f4
Help: Fix terminology for regular expression in if(MATCHES)
...
This was wrongly changed in commit ba90611225 (Help: Make synopsis of
if command more compact; add section headers, 2018-10-05).
2021-08-28 13:58:25 +10:00
Brad King
bd8a6e8abe
Merge topic 'vs2022'
...
c8ec137da7 VS: Update Visual Studio 17 2022 generator for Preview 3.1
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6480
2021-08-25 09:59:47 -04:00
Brad King
c8ec137da7
VS: Update Visual Studio 17 2022 generator for Preview 3.1
...
Issue: #22339
2021-08-25 09:47:30 -04:00
Brad King
b0a24db270
Merge topic 'find-package-note'
...
d7e521bcd3 Help: find_package: Tweak change description
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !6477
2021-08-25 09:19:04 -04:00
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)
d7e521bcd3
Help: find_package: Tweak change description
2021-08-23 20:02:08 -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