summaryrefslogtreecommitdiffstats
path: root/Help
Commit message (Collapse)AuthorAgeFilesLines
* Merge topic 'Xcode-add_custom_command-DEPFILE'Brad King2021-04-201-8/+0
|\ | | | | | | | | | | | | 253aff6c94 Xcode: Add support of DEPFILE for add_custom_command, part 2 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6015
| * Xcode: Add support of DEPFILE for add_custom_command, part 2Marc Chevrier2021-04-171-8/+0
| | | | | | | | | | | | This MR extend the support of 'DEPFILE' to buildsystem version 1. Issue: #20286
* | Merge topic 'doc-if-IS_ABSOLUTE'Brad King2021-04-202-2/+12
|\ \ | | | | | | | | | | | | | | | | | | | | | 6234afdff4 Help: Document special cases for if(IS_ABSOLUTE) 789307b02f Help: Behavior of file(TO_NATIVE_PATH) depends on the host platform Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6016
| * | Help: Document special cases for if(IS_ABSOLUTE)Craig Scott2021-04-171-1/+10
| | | | | | | | | | | | | | | | | | | | | The meaning of "absolute path" was previously assumed knowledge, but a number of special cases were left unspecified. The way some of these are handled differs to the way that cmake_path(IS_ABSOLUTE) works, so document those special cases so that the differing behavior between these two commands is clearly defined.
| * | Help: Behavior of file(TO_NATIVE_PATH) depends on the host platformCraig Scott2021-04-171-1/+2
| | |
* | | Help: Fix typo in CMAKE_TOOLCHAIN_FILE docsAlbrecht Schlosser2021-04-171-1/+1
| |/ |/|
* | Merge topic 'Xcode-add_custom_command-DEPFILE'Brad King2021-04-162-10/+25
|\ \ | | | | | | | | | | | | | | | | | | d67cc4882d Xcode: Add support of DEPFILE for add_custom_command Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6006
| * | Xcode: Add support of DEPFILE for add_custom_commandMarc Chevrier2021-04-152-10/+25
| | | | | | | | | | | | Issue: #20286
* | | Merge topic 'add_toolchain_cmake_option'Brad King2021-04-164-2/+14
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | d5c3e4ac32 cmake: add support for --toolchain command argument 13838bbb36 CMAKE_TOOLCHAIN_FILE: Document relative path behavior Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5991
| * | | cmake: add support for --toolchain command argumentRobert Maynard2021-04-153-2/+11
| | | |
| * | | CMAKE_TOOLCHAIN_FILE: Document relative path behaviorRobert Maynard2021-04-151-0/+3
| | | |
* | | | Merge topic 'doc-error-unknown-arg'Brad King2021-04-152-0/+5
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | 06d26c7baf Help: Add 3.20 release note for error on unknown arguments Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6003
| * | | Help: Add 3.20 release note for error on unknown argumentsBrad King2021-04-142-0/+5
| | |/ | |/| | | | | | | | | | | | | | | | This was left out of commit 1b6c5333a0 (cmake: Error out on unknown arguments starting with `-`., 2020-11-30, v3.20.0-rc1~370^2). Fixes: #22060
| * | Merge topic 'ios-rpath-linker-flag' into release-3.20Brad King2021-04-073-4/+12
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | 4aed96e230 Apple: Set CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG on non-macOS too Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5980
| * \ \ Merge topic 'add_q_namespace_export_docs' into release-3.20Brad King2021-04-061-1/+1
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3538f1c69b Help: Add Q_NAMESPACE_EXPORT to CMAKE_AUTOMOC_MACRO_NAMES default values Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5982
* | | | | Genex: add_custom_command: DEPFILE supports genexMarc Chevrier2021-04-122-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This facility is very useful for 'Ninja Multi-Config' and required as well for future support of DEPFILE in 'Xcode' and 'Visual Studio' generators (#20286).
* | | | | Merge topic 'newer-git-show'Brad King2021-04-081-1/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f71e7b8156 Help/dev/review: mention `--pretty=reference` Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5994
| * | | | | Help/dev/review: mention `--pretty=reference`Ben Boeckel2021-04-071-1/+2
| | |_|_|/ | |/| | | | | | | | | | | | | This was added in Git 2.25 (13 Jan 2020).
* | | | | Merge topic 'presets-optional-generator-and-builddir'Brad King2021-04-083-2/+18
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 06e6981336 cmake-presets: Make generator and binaryDir fields optional Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5946
| * | | | | cmake-presets: Make generator and binaryDir fields optionalfriendlyanon2021-04-063-2/+18
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In v3 of the presets, generator and buildDir can be omitted to fall back to regular cmake behavior when these values are not explicitly provided by the user. Fixes: #21987
* | | | | Merge topic 'ios-rpath-linker-flag'Brad King2021-04-073-4/+12
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | 4aed96e230 Apple: Set CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG on non-macOS too Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5980
| * | | | Apple: Set CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG on non-macOS tooCraig Scott2021-04-063-4/+12
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since CMake 3.19, we no longer support macOS SDKs older than 10.5, which corresponds to Xcode 3. Supporting older Xcode versions for device platforms is also not realistic. We therefore expect the -rpath linker option should always be supported now. When targeting iOS, tvOS or watchOS, the previous disabling of -rpath support meant that the install_name_dir of shared libraries and frameworks was unable to use @rpath. This resulted in embedding absolute paths for their install_name. When they were embedded in an app bundle, this would cause the app to fail at runtime. By enabling the -rpath linker option, the default install_name_dir is now @rpath for these platforms, which results in binaries that do work at runtime. Fixes: #20036
* | | | Merge topic 'autouic-source-group-fixes'Brad King2021-04-074-13/+25
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e8ddc1e268 Autogen: Fix a bug in setting the UIC source group 7f0151dc91 Help: Document the AUTOUIC_SOURCE_GROUP property f6c47dd0b4 Help: Fix a typo in the AUTOGEN_SOURCE_GROUP help Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alexey Edelev <alexey.edelev@qt.io> Merge-request: !5978
| * | | Help: Document the AUTOUIC_SOURCE_GROUP propertyDuncan Barber2021-04-044-12/+24
| | | | | | | | | | | | | | | | This property came into existence with the changes in b4a103bdecc437d37580d0ab540f6014006d661c because generated files are now being added for UIC.
| * | | Help: Fix a typo in the AUTOGEN_SOURCE_GROUP helpDuncan Barber2021-04-041-1/+1
| | | |
* | | | Merge topic 'add_q_namespace_export_docs'Brad King2021-04-061-1/+1
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | 3538f1c69b Help: Add Q_NAMESPACE_EXPORT to CMAKE_AUTOMOC_MACRO_NAMES default values Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5982
| * | | Help: Add Q_NAMESPACE_EXPORT to CMAKE_AUTOMOC_MACRO_NAMES default valuesAlexander Neumann2021-04-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This was accidentally left out of commit 426941c433 (Autogen: Recognize the new Q_NAMESPACE_EXPORT macro in AUTOMOC, 2020-02-26, v3.17.0-rc2~3^2).
* | | | Merge topic 'doc-imported-soname'Brad King2021-04-051-6/+18
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/| | | | | | | 4d6e899578 Help: Document in add_library how to import libraries with SONAME Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5975
| * | Help: Document in add_library how to import libraries with SONAMEBrad King2021-04-021-6/+18
| |/ | | | | | | | | | | | | | | | | | | When using `add_library` to create an `IMPORTED` library target, there are a few target properties that are essential to correctly tell CMake about the library file. We already cover `IMPORTED_LOCATION` and `IMPORTED_IMPLIB`. Add `IMPORTED_SONAME` and `IMPORTED_NO_SONAME`, which are important in certain cases. Fixes: #22016
* | Merge topic 'doc-IMPORTED_LOCATION'Brad King2021-04-021-4/+4
|\ \ | |/ | | | | | | | | | | 08a25e4902 Help: Clarify IMPORTED_LOCATION documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5968
| * Help: Clarify IMPORTED_LOCATION documentationmcc2021-04-011-4/+4
| | | | | | | | | | Prefer the macOS term "application bundle" over just "bundle". Put both macOS cases together.
| * Merge topic 'doc-CMAKE_APPLE_SILICON_PROCESSOR' into release-3.20Brad King2021-04-011-3/+2
| |\ | | | | | | | | | | | | | | | | | | 3f04f69733 Help: CMAKE_APPLE_SILICON_PROCESSOR cannot be set in a toolchain file Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5965
| * \ Merge topic 'commands-file-permissions' into release-3.20Brad King2021-03-292-23/+40
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 769ff05483 Help: Clarify permission-related command options 900184616a Cleanup: Fix misspelt name of local C++ variable 635431a0c9 Tests: Check host platform instead of target for running stat 4ceb0ca59e Tests: Remove redundant files for configure_file() tests Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5945
* | \ \ Merge topic 'fujitsu-compiler-4.0-support'Brad King2021-04-013-0/+14
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8ef55dec29 Help: Add release notes for Fujitsu compiler support 4c74c86f40 FindBLAS/LAPACK: Add support for the Fujitsu SSL2 library 376c300b25 FindOpenMP: Add support for Fujitsu compilers 9e0a1cf03e FindMPI: Add support for the Fujitsu compiler wrappers a237450948 Tests: Update for the FujitsuClang compiler 27579e9cf1 FujitsuClang: Add support for the Fujitsu compiler in Clang mode a55feff69c Tests: Update for the Fujitsu compiler 3c867cff4a Fujitsu: Add support for the Fujitsu compiler in Trad mode Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Axel Huebl <axel.huebl@plasma.ninja> Acked-by: Gilles Gouaillardet <gilles@rist.or.jp> Merge-request: !5954
| * | | | Help: Add release notes for Fujitsu compiler supportChuck Atkins2021-03-311-0/+11
| | | | |
| * | | | FujitsuClang: Add support for the Fujitsu compiler in Clang modeChuck Atkins2021-03-311-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should be front end compatible with vanilla clang but giving it a unique identifier allows a project to pass additional options unique to Fujitsu and outside the scope of a CMake builtin.
| * | | | Fujitsu: Add support for the Fujitsu compiler in Trad modeChuck Atkins2021-03-302-0/+2
| | | | | | | | | | | | | | | | | | | | Co-Author: Yuichiro Utsumi <utsumi.yuichiro@jp.fujitsu.com>
* | | | | Merge topic 'cmake-presets-condition-regex'Brad King2021-04-012-0/+64
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5ac8b923f5 CMakePresets.json: Add matches condition Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5963
| * | | | | CMakePresets.json: Add matches conditionKyle Edwards2021-03-312-0/+64
| | | | | |
* | | | | | Merge topic 'doc-CMAKE_APPLE_SILICON_PROCESSOR'Brad King2021-04-011-3/+2
|\ \ \ \ \ \ | |/ / / / / |/| | | | / | | |_|_|/ | |/| | | | | | | | | | | | | 3f04f69733 Help: CMAKE_APPLE_SILICON_PROCESSOR cannot be set in a toolchain file Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5965
| * | | | Help: CMAKE_APPLE_SILICON_PROCESSOR cannot be set in a toolchain fileBrad King2021-04-011-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `CMakeDetermineSystem` determines the host system information before loading the toolchain file. Issue: #22012
* | | | | Merge topic 'ifw-depends-name-version-parsing'Brad King2021-03-301-0/+7
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a43783a08d CPackIFW: Fix parsing of name and version in component DEPENDS f536e6f3fb CPackIFW: Remove redundant variable assignment Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5929
| * | | | | CPackIFW: Fix parsing of name and version in component DEPENDSCraig Scott2021-03-261-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The DEPENDS or DEPENDENCIES arguments in a call to cpack_ifw_configure_component() or cpack_ifw_configure_component_group() specify a name and optionally a version constraint as a single string. QtIFW also allows a colon (requires QtIFW 3.1 or later) or a hyphen to separate the name and version. The version may optionally contain a leading operator, with = being assumed when no operator is present. The previous code was not handling : as a separator at all and was erroneously dropping the version part when no operator was given. Fix both of those non-conforming behaviors and also warn if trying to use a hyphen in a name with a QtIFW version that isn't recent enough to support it. Fixes: #21697
* | | | | | Merge topic 'multiple-L-labels'Brad King2021-03-301-2/+48
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 44ad3f0b7f ctest: Support multiple -L and -LE options to mean "AND" Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Lars Bilke <larsbilke83@googlemail.com> Merge-request: !5329
| * | | | | | ctest: Support multiple -L and -LE options to mean "AND"Adriaan de Groot2021-03-281-2/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #21087
* | | | | | | Merge topic 'SWIG'Brad King2021-03-293-1/+24
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1d8e3a1e77 UseSWIG: Use standard library name conventions for csharp language Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5949
| * | | | | | | UseSWIG: Use standard library name conventions for csharp languageMarc Chevrier2021-03-263-1/+24
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | Fixes: #21542
* | | | | | | Merge topic 'commands-file-permissions'Brad King2021-03-292-23/+40
|\ \ \ \ \ \ \ | | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 769ff05483 Help: Clarify permission-related command options 900184616a Cleanup: Fix misspelt name of local C++ variable 635431a0c9 Tests: Check host platform instead of target for running stat 4ceb0ca59e Tests: Remove redundant files for configure_file() tests Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5945
| * | | | | | Help: Clarify permission-related command optionsCraig Scott2021-03-262-23/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous docs did not make clear that at most only one of the three permissions-related options can be given for configure_file() or file(GENERATE) and that USE_SOURCE_PERMISSIONS is already the default behavior for these commands. Use consistent wording to refer to the input and output files for configure_file(). Add missing "versionadded" directives on some of these keywords. Use the consistent wording and keyword ordering between the configure_file(), file(GENERATE) and file(COPY) commands.
* | | | | | | Merge topic 'FindIntl-builtin'Brad King2021-03-291-0/+14
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0850160254 Merge branch 'backport-FindIntl-builtin' into FindIntl-builtin 8e342a6637 FindIntl: Fix detection of intl built in to C library f56c1571d2 Merge branch 'backport-FindIntl-builtin' into FindIntl-builtin e34d64c04d FindIntl: Fix detection of intl built in to C library cb0d1a49e6 FindIntl: Improve documentation formatting Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Jeremy Tan <jtanx@outlook.com> Acked-by: David Adam <zanchey@ucc.gu.uwa.edu.au> Merge-request: !5948