summaryrefslogtreecommitdiffstats
path: root/Help
Commit message (Collapse)AuthorAgeFilesLines
* Remove filtering of allowed INTERFACE library propertiesBrad King2020-08-031-13/+0
| | | | | | | | | | | Previously we disallowed use of arbitrary properties on INTERFACE libraries. The goal was to future-proof projects using them by not allowing properties to be set that may affect their future inclusion in the generated buildsystem. In order to prepare to actually include INTERFACE libraries in the generated buildsystem, drop the filter and allow arbitrary properties to be set. Issue: #19145
* Merge topic 'doc-add_library-updates'Craig Scott2020-08-012-74/+82
|\ | | | | | | | | | | | | | | | | | | ee5b58f491 Help: State in add_library that INTERFACE libraries have no build targets 99b1e85f07 Help: Consolidate add_library documentation on IMPORTED libraries 716e76be3e Help: Re-order add_library sections 1b0adeea81 Help: Clarify target_sources PRIVATE/PUBLIC/INTERFACE scopes Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5086
| * Help: State in add_library that INTERFACE libraries have no build targetsBrad King2020-07-311-5/+9
| |
| * Help: Consolidate add_library documentation on IMPORTED librariesBrad King2020-07-311-32/+34
| | | | | | | | | | | | | | | | | | Move documentation on IMPORTED INTERFACE libraries to the main section on Imported Libraries. Revise the section to clarify the different kinds of imported libraries that can be created and what properties they need. Issue: #18975
| * Help: Re-order add_library sectionsBrad King2020-07-311-61/+61
| | | | | | | | | | Put all the sections that create in-project targets first, and move Imported Libraries and Alias Libraries at the end.
| * Help: Clarify target_sources PRIVATE/PUBLIC/INTERFACE scopesBrad King2020-07-311-6/+8
| |
* | Merge topic 'file-download-no-save'Craig Scott2020-07-282-5/+15
|\ \ | |/ |/| | | | | | | | | fed7d8f76d file(DOWNLOAD): Make file argument optional Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5060
| * file(DOWNLOAD): Make file argument optionalKyle Edwards2020-07-272-5/+15
| |
* | Merge topic 'revert-add_test-special-chars'Brad King2020-07-282-3/+9
|\ \ | | | | | | | | | | | | | | | | | | 5fc5f4d26e add_test: Revert "Allow special characters in test name" Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5067
| * | add_test: Revert "Allow special characters in test name"Brad King2020-07-272-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert commit f84af8e270 (add_test: Allow special characters in test name, 2020-05-16, v3.18.0-rc1~142^2). Unfortunately the fix breaks projects that were working around the limitation with manual escaping. The fix can be re-introduced with a policy in a future version. Also add a 3.18.1 release note explaining the change. Fixes: #21017, #20965 Issue: #19391
| * | Merge topic 'file-GET_RUNTIME_DEPENDENCIES-terms' into release-3.18Brad King2020-07-231-2/+2
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | 2b60088d14 Help: Update file(GET_RUNTIME_DEPENDENCIES) prose to match option names Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5053
* | \ \ Merge topic 'EXCLUDE_FROM_ALL-genex'Brad King2020-07-271-0/+5
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 22bd267388 Help: Add release note for EXCLUDE_FROM_ALL genex support 807c8aa9f0 Tests: Simplify RunCMake.ExcludeFromAll single-config case 36743436cf Tests: Fix RunCMake.ExcludeFromAll test program warning 99c131c5a3 cmGlobalGenerator: Fix spelling of EXCLUDE_FROM_ALL in error message Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5049
| * | | Help: Add release note for EXCLUDE_FROM_ALL genex supportBrad King2020-07-231-0/+5
| | | |
* | | | Merge topic 'file-GET_RUNTIME_DEPENDENCIES-terms'Brad King2020-07-231-2/+2
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | 2b60088d14 Help: Update file(GET_RUNTIME_DEPENDENCIES) prose to match option names Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5053
| * | | Help: Update file(GET_RUNTIME_DEPENDENCIES) prose to match option namesBrad King2020-07-231-2/+2
| | | |
* | | | Merge topic 'tutorial-update'Brad King2020-07-231-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 63af35019a Tutorial: Add missing `language` option to literalinclude Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5046
| * | | | Tutorial: Add missing `language` option to literalincludeBetsy McPhail2020-07-221-0/+1
| | | | |
* | | | | Merge topic 'fix-typos-identified-using-codespell'Brad King2020-07-2310-11/+11
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | 207373802e Fix typos identified using codespell Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5040
| * | | | Fix typos identified using codespellJean-Christophe Fillion-Robin2020-07-2210-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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,\ " ```
* | | | | Merge topic 'EXCLUDE_FROM_ALL-genex'Brad King2020-07-221-0/+7
|\ \ \ \ \ | |/ / / / |/| | / / | | |/ / | |/| | | | | | | | | | 2cdaf43d96 Allow generator expressions in the EXCLUDE_FROM_ALL target property Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5021
| * | | Allow generator expressions in the EXCLUDE_FROM_ALL target propertyJoerg Bornemann2020-07-211-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Documentation: Add missing links to `DEBUG_POSTFIX` target propertyBetsy McPhail2020-07-211-2/+2
| | | | | | | | | | | | | | | | | | | | Add links to the `<CONFIG>_POSTFIX` target property when it is referenced in the `DEBUG_POSTFIX` documentation.
* | | | Merge topic 'tutorial-index-update'Brad King2020-07-211-23/+55
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8a80b8fbe4 Tutorial: Clarify Steps 1, 2 and 3 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5029
| * | | | Tutorial: Clarify Steps 1, 2 and 3Betsy McPhail2020-07-171-23/+55
| |/ / /
* | | | Merge topic 'xcode-native-arch'Craig Scott2020-07-211-0/+14
|\ \ \ \ | |/ / / |/| | / | | |/ | |/| | | | | | | | | | 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
| * | Xcode: Explicitly specify default native architecture on macOSBrad King2020-07-201-0/+14
| |/ | | | | | | | | | | | | | | | | | | | | 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
| * Merge topic 'doc-find_package' into release-3.18Brad King2020-07-151-1/+1
| |\ | | | | | | | | | | | | | | | | | | cc92a4c228 Help: Fix typo in find_package documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5014
* | \ Merge topic 'cmake-E-create_hardlink'Brad King2020-07-162-0/+12
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 2fad00940d cmake: Add -E create_hardlink Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5015
| * | | cmake: Add -E create_hardlinkSibi Siddharthan2020-07-152-0/+12
| | | | | | | | | | | | | | | | | | | | Fixes: #20950 Signed-off-by: Sibi Siddharthan <sibisiddharthan.github@gmail.com>
* | | | Merge topic 'macOS-sdk-latest'Brad King2020-07-161-0/+10
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 17e13fb6d0 macOS: Always pick latest SDK if user has not set one explicitly Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5012
| * | | | macOS: Always pick latest SDK if user has not set one explicitlyTor Arne Vestbø2020-07-141-0/+10
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | Apple tech note QA1806 recommends always building against the latest SDK. Fixes: #20949
* | | | Merge topic 'doc-find_package'Brad King2020-07-151-1/+1
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | cc92a4c228 Help: Fix typo in find_package documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5014
| * | | Help: Fix typo in find_package documentationKai Koehne2020-07-151-1/+1
| | | |
* | | | Help: Document CMAKE_CUDA_HOST_COMPILER as specific to NVIDIA nvccBrad King2020-07-141-5/+20
| |/ / |/| | | | | | | | | | | | | | | | | | | | 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
* | | Merge topic 'stl-support-filesystem-path'Brad King2020-07-131-0/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | STL Support: Add cm::filesystem::path in <cm/filesystem>Marc Chevrier2020-07-091-0/+3
| | | |
| * | | STL Support: Add function cm::quoted in <cm/iomanip>Marc Chevrier2020-07-091-0/+3
| | | |
* | | | Merge topic 'cuda-memcheck'Brad King2020-07-131-0/+8
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * | | | Help: add release notes for CTest cuda-memcheck supportTobias Ribizel2020-07-091-0/+8
| | | | |
* | | | | Merge topic 'doc-source-prop-dir-options'Brad King2020-07-134-56/+84
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | 0bdb1a77d1 Help: Clarify wording of dir-related source property options Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5000
| * | | | Help: Clarify wording of dir-related source property optionsCraig Scott2020-07-134-56/+84
| | |_|/ | |/| |
* | | | Merge topic 'variable_watch_docs'Brad King2020-07-101-3/+36
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bb15663858 Help: Expand documentation of variable_watch() Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4990
| * | | | Help: Expand documentation of variable_watch()Petr Kmoch2020-07-091-3/+36
| | | | | | | | | | | | | | | | | | | | Document parameters and corner-case behaviour of variable_watch() command.
* | | | | Merge topic 'source_file_both_props'Brad King2020-07-104-6/+8
|\ \ \ \ \ | | |/ / / | |/| | / | |_|_|/ |/| | | | | | | | | | | | | | | | | | | 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
| * | | Help: Update get_property and get_source_file_property docsAlexandru Croitor2020-07-092-2/+2
| | | | | | | | | | | | | | | | Specify the names and alternatives a bit more clearly.
| * | | set_property: Allow both DIRECTORY and TARGET_DIRECTORY togetherAlexandru Croitor2020-07-092-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge topic 'install'Brad King2020-07-091-0/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9a25278f8c Help: advise against CMAKE_INSTALL_PREFIX in install DESTINATION. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4988
| * | | | Help: advise against CMAKE_INSTALL_PREFIX in install DESTINATION.Joachim Wuttke (h)2020-07-081-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | as per my uncontradicted post https://discourse.cmake.org/t/local-install-vs-install-for-cpack-absolute-vs-relative-path/623/2?u=jwuttke
* | | | | Merge topic 'ctest-resource-spec-file-doc'Craig Scott2020-07-082-3/+15
|\ \ \ \ \ | | |/ / / | |/| / / | |_|/ / |/| | | | | | | | | | | c57695a2f4 Help: Clarify search order for resource spec file Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4983
| * | | Help: Clarify search order for resource spec fileKyle Edwards2020-07-072-3/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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