Brad King
2cb664fd77
Merge topic 'file-GET_RUNTIME_DEPENDENCIES-terms'
...
2b60088d14 Help: Update file(GET_RUNTIME_DEPENDENCIES) prose to match option names
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5053
2020-07-23 14:11:53 -04:00
Brad King
2b60088d14
Help: Update file(GET_RUNTIME_DEPENDENCIES) prose to match option names
2020-07-23 13:47:24 -04:00
Brad King
9d9a6a8532
Merge topic 'tutorial-update'
...
63af35019a Tutorial: Add missing `language` option to literalinclude
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5046
2020-07-23 11:08:38 -04:00
Brad King
e3b5abd068
Merge topic 'fix-typos-identified-using-codespell'
...
207373802e Fix typos identified using codespell
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5040
2020-07-23 08:28:21 -04:00
Betsy McPhail
63af35019a
Tutorial: Add missing language option to literalinclude
2020-07-22 16:17:41 -04:00
Jean-Christophe Fillion-Robin
207373802e
Fix typos identified using codespell
...
See https://github.com/codespell-project/codespell#readme
The following command was used:
```
codespell -q6 --skip="\
.git,\
*.json,\
./Copyright.txt,\
./Help/command/foreach.rst,\
./Help/prop_test/REQUIRED_FILES.rst,\
./Help/variable/CTEST_COVERAGE_COMMAND.rst,\
./Modules/CMakeCheckCompilerFlagCommonPatterns.cmake,\
./Modules/CMakeRCInformation.cmake,\
./Modules/Internal/CPack/NSIS.template.in,\
./Modules/FindMatlab.cmake,\
./Modules/MatlabTestsRedirect.cmake,\
./Modules/Platform/Windows-Clang.cmake,\
./Modules/Platform/Windows-Intel-Fortran.cmake,\
./Modules/Platform/Windows-MSVC.cmake,\
./Source/CMakeVersion.cmake,\
./Source/cmConvertMSBuildXMLToJSON.py,\
./Source/cmCreateTestSourceList.cxx,\
./Source/cmGlobalVisualStudio10Generator.cxx,\
./Source/cmExportBuildFileGenerator.cxx,\
./Source/cmExportInstallAndroidMKGenerator.cxx,\
./Source/cmExportInstallFileGenerator.cxx,\
./Source/cmExportSet.cxx,\
./Source/cmExportTryCompileFileGenerator.cxx,\
./Source/cmFindPackageCommand.cxx,\
./Source/cmInstallCommand.cxx,\
./Source/cmGeneratorExpressionLexer.cxx,\
./Source/cmLocalVisualStudio7Generator.cxx,\
./Source/cmOrderDirectories.cxx,\
./Source/cmTarget.cxx,\
./Source/kwsys/*,\
./Source/QtDialog/CMakeSetupDialog.ui,\
./Source/CPack/WiX/cmWIXRichTextFormatWriter.cxx,\
./Source/CTest/cmParseCoberturaCoverage.h,\
./Tests/CMakeTests/ImplicitLinkInfoTest.cmake.in,\
./Tests/RunCMake/CPack/tests/DMG_SLA/English.license.rtf,\
./Tests/RunCMake/CPack/tests/DMG_SLA/German.license.txt,\
./Tests/RunCMake/CPack/tests/DMG_SLA/German.menu.txt,\
./Tests/RunCMake/GoogleTest/xml_output.cpp,\
./Tests/RunCMake/Make/TargetMessages*,\
./Utilities/*,\
" \
-L "\
dependees,\
endwhile,\
fo,\
filetest,\
helpfull,\
nd,\
objext,\
stoll,\
supercedes,\
superceded,\
vas,\
varn,\
"
```
2020-07-22 12:44:47 -04:00
Brad King
d45f0d719e
Merge topic 'EXCLUDE_FROM_ALL-genex'
...
2cdaf43d96 Allow generator expressions in the EXCLUDE_FROM_ALL target property
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5021
2020-07-22 11:23:34 -04:00
Betsy McPhail
d103e34030
Documentation: Add missing links to DEBUG_POSTFIX target property
...
Add links to the `<CONFIG>_POSTFIX` target property when it is
referenced in the `DEBUG_POSTFIX` documentation.
2020-07-21 12:53:53 -04:00
Joerg Bornemann
2cdaf43d96
Allow generator expressions in the EXCLUDE_FROM_ALL target property
...
This allows for setting EXCLUDE_FROM_ALL, conditional on the build
configuration. However, only the Ninja Multi-Config generator supports
different property values per config. All other multi-config
generators will yield an error in that situation.
Fixes : #20923
2020-07-21 17:16:26 +02:00
Brad King
51c14d4daf
Merge topic 'tutorial-index-update'
...
8a80b8fbe4 Tutorial: Clarify Steps 1, 2 and 3
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5029
2020-07-21 07:32:12 -04:00
Craig Scott
8abeec58f3
Merge topic 'xcode-native-arch'
...
26673bf480 Xcode: Explicitly specify default native architecture on macOS
ce624cfbd4 cmGlobalXCodeGenerator: Save CMAKE_SYSTEM_NAME in member
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5023
2020-07-21 07:19:02 -04:00
Brad King
26673bf480
Xcode: Explicitly specify default native architecture on macOS
...
When `CMAKE_OSX_ARCHITECTURES` is not specified, we add the Xcode
setting `ONLY_ACTIVE_ARCH = YES` with the intention of targeting the
native architecture of the host. However, the default `ARCHS` value
chosen by "Xcode 12 Universal Apps" includes multiple architectures.
Add an explicit `ARCHS` setting with value `$(NATIVE_ARCH_ACTUAL)`
to tell Xcode to use the host's native architecture only.
Fixes : #20893
2020-07-20 10:03:15 -04:00
Betsy McPhail
8a80b8fbe4
Tutorial: Clarify Steps 1, 2 and 3
2020-07-17 12:17:26 -04:00
Brad King
c7b7547d8d
Merge topic 'cmake-E-create_hardlink'
...
2fad00940d cmake: Add -E create_hardlink
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5015
2020-07-16 10:19:12 -04:00
Brad King
ffb888b748
Merge topic 'macOS-sdk-latest'
...
17e13fb6d0 macOS: Always pick latest SDK if user has not set one explicitly
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5012
2020-07-16 10:16:48 -04:00
Sibi Siddharthan
2fad00940d
cmake: Add -E create_hardlink
...
Fixes : #20950
Signed-off-by: Sibi Siddharthan <sibisiddharthan.github@gmail.com >
2020-07-15 20:22:04 +05:30
Brad King
a62b4f1d2d
Merge topic 'doc-find_package'
...
cc92a4c228 Help: Fix typo in find_package documentation
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5014
2020-07-15 06:46:22 -04:00
Brad King
6b845e9066
Merge topic 'doc-find_package' into release-3.18
...
cc92a4c228 Help: Fix typo in find_package documentation
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5014
2020-07-15 06:46:21 -04:00
Kai Koehne
cc92a4c228
Help: Fix typo in find_package documentation
2020-07-15 06:44:33 -04:00
Brad King
7968d9d442
Help: Document CMAKE_CUDA_HOST_COMPILER as specific to NVIDIA nvcc
...
Explain the purpose of this variable and the conditions under which
it can be set. Point out that it should not be set explicitly without
also setting `CMAKE_CUDA_COMPILER` explicitly.
Issue: #20826
2020-07-14 15:22:54 -04:00
Tor Arne Vestbø
17e13fb6d0
macOS: Always pick latest SDK if user has not set one explicitly
...
Apple tech note QA1806 recommends always building against the latest
SDK.
Fixes : #20949
2020-07-14 15:43:45 +02:00
Brad King
2282be37a5
Merge topic 'stl-support-filesystem-path'
...
d654bf3449 STL Support: Add cm::filesystem::path in <cm/filesystem>
e5798126fc STL Support: introduce dedicated configuration file
4408f34cfe STL Support: Add function cm::quoted in <cm/iomanip>
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4968
2020-07-13 07:59:43 -04:00
Brad King
8d268f57b4
Merge topic 'cuda-memcheck'
...
cee92a9fb0 Help: add release notes for CTest cuda-memcheck support
f38e4a1871 Tests: Add cases for CTest cuda-memcheck parser
fe062800f0 CTest: add cuda-memcheck support
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: tcojean <terry.cojean@kit.edu >
Merge-request: !4952
2020-07-13 07:58:38 -04:00
Brad King
6a68765a4d
Merge topic 'doc-source-prop-dir-options'
...
0bdb1a77d1 Help: Clarify wording of dir-related source property options
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !5000
2020-07-13 07:52:01 -04:00
Craig Scott
0bdb1a77d1
Help: Clarify wording of dir-related source property options
2020-07-13 10:06:52 +10:00
Brad King
95db8c5db5
Merge topic 'variable_watch_docs'
...
bb15663858 Help: Expand documentation of variable_watch()
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4990
2020-07-10 06:47:20 -04:00
Brad King
a5064f6e65
Merge topic 'source_file_both_props'
...
961ee62faa Help: Update get_property and get_source_file_property docs
1235f2d747 set_property: Allow both DIRECTORY and TARGET_DIRECTORY together
177052d6b8 set_property: Fix name of TARGET_DIRECTORY option in error messages
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4994
2020-07-10 06:45:09 -04:00
Tobias Ribizel
cee92a9fb0
Help: add release notes for CTest cuda-memcheck support
2020-07-09 19:08:36 +02:00
Petr Kmoch
bb15663858
Help: Expand documentation of variable_watch()
...
Document parameters and corner-case behaviour of variable_watch() command.
2020-07-09 17:22:59 +02:00
Marc Chevrier
d654bf3449
STL Support: Add cm::filesystem::path in <cm/filesystem>
2020-07-09 17:02:42 +02:00
Marc Chevrier
4408f34cfe
STL Support: Add function cm::quoted in <cm/iomanip>
2020-07-09 15:24:43 +02:00
Brad King
a054211dd9
Merge topic 'install'
...
9a25278f8c Help: advise against CMAKE_INSTALL_PREFIX in install DESTINATION.
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4988
2020-07-09 06:52:55 -04:00
Alexandru Croitor
961ee62faa
Help: Update get_property and get_source_file_property docs
...
Specify the names and alternatives a bit more clearly.
2020-07-09 06:35:06 -04:00
Alexandru Croitor
1235f2d747
set_property: Allow both DIRECTORY and TARGET_DIRECTORY together
...
Allow to specify both DIRECTORY and TARGET_DIRECTORY at the same time in
`set_source_files_properties()` and `set_property(SOURCE)` commands.
Add test cases and update the documentation.
Fixes : #20932
2020-07-09 06:33:52 -04:00
Joachim Wuttke (h)
9a25278f8c
Help: advise against CMAKE_INSTALL_PREFIX in install DESTINATION.
...
as per my uncontradicted post
https://discourse.cmake.org/t/local-install-vs-install-for-cpack-absolute-vs-relative-path/623/2?u=jwuttke
2020-07-08 15:09:19 +02:00
Craig Scott
32e13e5291
Merge topic 'ctest-resource-spec-file-doc'
...
c57695a2f4 Help: Clarify search order for resource spec file
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4983
2020-07-08 09:06:54 -04:00
Kyle Edwards
c57695a2f4
Help: Clarify search order for resource spec file
...
Clarify the order in which --resource-spec-file, RESOURCE_SPEC_FILE,
and CTEST_RESOURCE_SPEC_FILE are searched, and add tests to
enforce this.
Fixes : #20914
2020-07-07 12:21:58 -04:00
Brad King
ee781ac59d
Merge topic 'doc-versionadded'
...
496ec6036f Help: Add Sphinx 'versionadded' directives to each top-level document
0c87afceab Help/dev: Add maintainer guide step for 'versionadded' documentation markup
dbd453c2ff Utilities/Sphinx: Add script for inserting ".. versionadded" directive
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Alex Turbov <i.zaufi@gmail.com >
Merge-request: !4947
2020-07-07 09:22:28 -04:00
Kitware Robot
496ec6036f
Help: Add Sphinx 'versionadded' directives to each top-level document
...
Run the `Utilities/Sphinx/update_versions.py` script to add initial
markup to every top-level document and find module.
Issue: #19715
2020-07-06 10:23:20 -04:00
Brad King
0c87afceab
Help/dev: Add maintainer guide step for 'versionadded' documentation markup
2020-07-06 10:11:24 -04:00
Brad King
9e1cd8ea45
Merge topic 'doc-file_ARCHIVE_synopsis'
...
f9766dad19 Help: Update file(ARCHIVE...) synopsis for renamed options
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4977
2020-07-06 09:24:48 -04:00
Craig Scott
f9766dad19
Help: Update file(ARCHIVE...) synopsis for renamed options
...
The FILES and DIRECTORY options were renamed in bbcff21f71
(file(ARCHIVE*): Collapse FILES and DIRECTORY options, 2020-06-30),
but the synopsis part of the file() documentation was missed.
The synopsis also typically only shows the mandatory options.
Update the synopsis to reflect the name changes and omit the
DESTINATION option since it is not mandatory.
2020-07-06 20:15:09 +10:00
Craig Scott
a0bca7e9cc
Merge topic 'doc-FRAMEWORK_MULTI_CONFIG_POSTFIX_CONFIG'
...
3bb287581c Help: FRAMEWORK_MULTI_CONFIG_POSTFIX example should use actual config
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4973
2020-07-06 05:53:05 -04:00
Craig Scott
3bb287581c
Help: FRAMEWORK_MULTI_CONFIG_POSTFIX example should use actual config
2020-07-05 16:26:46 +10:00
Craig Scott
8975c2a55b
Merge topic 'remove-warn-unused-vars'
...
df6b077625 cmake: Remove broken '--warn-unused-vars' option
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: Ben Boeckel <ben.boeckel@kitware.com >
Merge-request: !4953
2020-07-01 07:03:54 -04:00
Brad King
b7af2811ae
Merge topic 'configure_file-permission-control'
...
27b03281e2 configure_file: Add option to control file permissions transfer to copy
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4941
2020-07-01 07:03:03 -04:00
Brad King
57ea001247
Merge topic 'FindTIFF-tiffxx'
...
a468cc431c FindTIFF: add component CXX to include the C++ wrapper libtiffxx
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4934
2020-07-01 07:02:09 -04:00
Brad King
0ca6bb8575
Merge topic 'file-ARCHIVE-files-dirs' into release-3.18
...
bbcff21f71 file(ARCHIVE*): Collapse FILES and DIRECTORY options
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4955
2020-07-01 07:00:42 -04:00
Brad King
9c3e9881ef
Merge topic 'file-ARCHIVE-files-dirs'
...
bbcff21f71 file(ARCHIVE*): Collapse FILES and DIRECTORY options
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !4955
2020-07-01 07:00:42 -04:00
Kyle Edwards
b67eb65688
Help: Update FileAPI codemodel version to 2.2, add release notes
...
This fixes the documentation which should have been fixed in 7d6861f3 .
2020-06-30 14:05:23 -04:00