summaryrefslogtreecommitdiffstats
path: root/Help
Commit message (Collapse)AuthorAgeFilesLines
* Help: Update 3.18.2 release notes to mention 3.16.9 and 3.17.5Brad King2020-09-151-0/+1
| | | | | A change made in 3.18.2 was backported to the 3.16 and 3.17 branches. Update the 3.18 release note to mention them.
* Merge branch 'release-3.17' into release-3.18Brad King2020-09-151-0/+9
|\
| * Help: Add 3.17.5 release note about AUTOMOC_PATH_PREFIX default changeJoerg Bornemann2020-09-151-0/+9
| |
| * Merge branch 'backport-3.16-automoc-path-prefix-off'Brad King2020-09-151-5/+11
| |\
* | \ Merge branch 'release-3.16' into release-3.18Brad King2020-09-151-5/+11
|\ \ \ | | |/ | |/|
| * | Help: Add 3.16.9 release note about AUTOMOC_PATH_PREFIX default changeJoerg Bornemann2020-09-151-5/+11
| | |
* | | MSVC: Record support for c_static_assertRaul Tambre2020-08-201-3/+10
| | | | | | | | | | | | Supported since MSVC 19.28.29115 (VS 16.8.0 Preview 1.0).
* | | MSVC: Record support for C11 and c_restrictRaul Tambre2020-08-111-0/+7
| | | | | | | | | | | | | | | | | | | | | MSVC >=19.27 supports a C11 switch. The `c_restrict` feature has also been implemented. Fixes: #21069
* | | Help: Add 3.18.2 release note about AUTOMOC_PATH_PREFIX default changeJoerg Bornemann2020-08-101-0/+8
| | |
* | | Merge branch 'backport-3.17-automoc-path-prefix-off'Brad King2020-08-102-4/+3
|\ \ \ | | |/ | |/|
| * | Merge branch 'backport-3.16-automoc-path-prefix-off'Brad King2020-08-102-4/+3
| |\ \ | | |/
| | * Autogen: Turn off moc path prefix generation by defaultJoerg Bornemann2020-08-102-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change the default value of `CMAKE_AUTOMOC_PATH_PREFIX` to `OFF` to restore compatibility with behavior of CMake 3.15 and below. C++ source files that are generated by Qt's meta object compiler (moc) include the header file that was passed as input argument to moc. This is usually a path relative to the source directory, for example #include "../../source/dir/myobject.h" That is problematic for reproducible builds as described in #18815. To cope with that, the target property AUTOMOC_PATH_PREFIX was introduced in CMake 3.16 by commit d018d27c10 (Autogen: Add moc path prefix generation (AUTOMOC_PATH_PREFIX), 2019-09-13, v3.16.0-rc1~94^2~4). The property is default-initialized from the variable `CMAKE_AUTOMOC_PATH_PREFIX`, which defaults to `ON`. If this property is ON, and myobject.h is located in an include directory of the target, moc-generated C++ files include the file without the "path prefix": #include "myobject.h" This behavior, however, can break projects that have equally named header files in different include directories. As "not breaking existing projects" trumps "have reproducible builds by default" we change the default of `CMAKE_AUTOMOC_PATH_PREFIX` to `OFF`. Also, it is now possible to pass `-DCMAKE_AUTOMOC_PATH_PREFIX=ON` on the CMake command line. Before, it was overridden in `CMakeGenericSystem`. Fixes: #20598 Issue: #18815
* | | 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
| * | | Help: Update file(GET_RUNTIME_DEPENDENCIES) prose to match option namesBrad King2020-07-231-2/+2
| | | |
* | | | 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
| * | | Help: Fix typo in find_package documentationKai Koehne2020-07-151-1/+1
| | | |
* | | | Help: Clarify wording of dir-related source property optionsCraig Scott2020-07-134-56/+84
|/ / /
* | | 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
* | | 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
* | | Help: Update file(ARCHIVE...) synopsis for renamed optionsCraig Scott2020-07-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Help: FRAMEWORK_MULTI_CONFIG_POSTFIX example should use actual configCraig Scott2020-07-051-1/+1
| | |
* | | Merge topic 'file-ARCHIVE-files-dirs' into release-3.18Brad King2020-07-011-14/+16
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | bbcff21f71 file(ARCHIVE*): Collapse FILES and DIRECTORY options Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4955
| * | | file(ARCHIVE*): Collapse FILES and DIRECTORY optionsCraig Scott2020-06-301-14/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The two options were concatenated internally for both ARCHIVE_CREATE and ARCHIVE_EXTRACT. The distinction between files and dirs was not meaningful. Therefore, replace them with PATHS or PATTERNS to more accurately describe the way the options are used. Fixes: #20884
* | | | Help: Update FileAPI codemodel version to 2.1, add release notesKyle Edwards2020-06-302-1/+9
| | | | | | | | | | | | | | | | This fixes the documentation which should have been fixed in 9f6d40ee.
* | | | Merge topic 'file-CONFIGURE-subdir' into release-3.18Brad King2020-06-301-2/+1
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | e5f5eeca2f file: Fix CONFIGURE output relative path Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4951
| * | | file: Fix CONFIGURE output relative pathBrad King2020-06-291-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit a6fee09484 (file: Add CONFIGURE subcommand, 2020-03-06, v3.18.0-rc1~584^2) we accidentally treated relative path outputs with respect to the current working directory. Treat them with respect to the current binary directory instead. Fixes: #20885
* | | | file(ARCHIVE_CREATE): Rename TYPE option to COMPRESSIONCraig Scott2020-06-271-12/+14
| | | | | | | | | | | | Fixes: #20883
* | | | Help: Fix contents indenting for file(ARCHIVE_...) subcommandsCraig Scott2020-06-271-3/+3
| | | |
* | | | Help: Add CMAKE_GTEST_DISCOVER_TESTS_DISCOVERY_MODE to release notesCraig Scott2020-06-241-1/+3
| | | |
* | | | Merge topic 'doc-get_target_property' into release-3.18Brad King2020-06-231-5/+5
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f4b911a2c9 Help: Update docs for failure result of get_target_property Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4933
| * | | | Help: Update docs for failure result of get_target_propertyChristopher Tetreault2020-06-231-5/+5
| |/ / / | | | | | | | | | | | | | | | | | | | | If `get_target_property` fails to find a value for a non-inherited property, it appends `-NOTFOUND` to the var name and sets that as the result, rather than setting the value of the var to `NOTFOUND`.
* | | | Merge topic 'improve_device_link_policy_cross_ref' into release-3.18Brad King2020-06-182-5/+7
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e5279c2c8f Help: Better document that CMP0105 controls DEVICE_LINK parsing Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4919
| * | | | Help: Better document that CMP0105 controls DEVICE_LINK parsingRobert Maynard2020-06-182-5/+7
| |/ / /
* | | | Help: Explicitly say transaction, don't abbreviate to transCraig Scott2020-06-181-2/+2
| | | | | | | | | | | | | | | | | | | | The release notes need to make sense to people not so familiar with each item. For those less familiar with RPM, spelling out "transaction" makes this line item much clearer in isolation.
* | | | Help: Correct and condense examples for VS_SOLUTION_DEPLOYCraig Scott2020-06-181-8/+6
| | | |
* | | | Help: Add missing cross-referencing for generator expressionsCraig Scott2020-06-183-3/+3
| | | |
* | | | Help: Formatting, crossref for FRAMEWORK_MULTI_CONFIG_POSTFIX_<CONFIG>Craig Scott2020-06-181-11/+12
| | | |
* | | | Help: Add missing PCH_WARN_INVALID docs and related cleanupsCraig Scott2020-06-183-3/+8
| | | |
* | | | Help: Fix order of FindCUDAToolkit entry in 3.18 release notesBrad King2020-06-171-8/+8
|/ / /
* | | Help: Mention CUDA Clang limitations in 3.18 release notesRaul Tambre2020-06-161-1/+2
| | |
* | | Merge topic 'cuda_clang_toolkit_path' into release-3.18Brad King2020-06-151-0/+8
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ec59fb6c31 CUDA: Determine CUDA toolkit location for NVCC 0a056246a1 CUDA: Pass toolkit path to Clang 9c43972127 FindCUDAToolkit: Avoid unnecessary temporary variable computing binary dir 9eebb5b8b2 FindCUDAToolkit: Remove unnecessary checks around searches 8f01fe7bf1 FindCUDAToolkit: Use list(SORT) to sort in natural order 8c144fe9ad FindCUDAToolkit: Compute CUDAToolkit_INCLUDE_DIR instead of searching 403f8d31e3 FindCUDAToolkit: Add CUDAToolkit_LIBRARY_ROOT 6636693134 FindCUDAToolkit: Re-unify with Internal/CUDAToolkit Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4828
| * | | CUDA: Determine CUDA toolkit location for NVCCRaul Tambre2020-06-121-3/+7
| | | | | | | | | | | | | | | | | | | | Similar to how we already do for Clang. Avoids a lot of redundant work in FindCUDAToolkit.
| * | | FindCUDAToolkit: Add CUDAToolkit_LIBRARY_ROOTRaul Tambre2020-06-121-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On scattered installations version.txt and nvvm are located at this location. This may be useful to users and will allow us in the future to parse version.txt instead of invoking nvcc to figure out the CUDA toolkit version. We also add it to CMakeDetermineCUDACompiler in preparation for future use by Clang code.
* | | | CUDA: Add support for disabling CUDA_ARCHITECTURESRaul Tambre2020-06-152-0/+35
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | The ability to disable adding architectures completely for packaging purposes and cases requiring passing the architectures flags explicitly has been requested. Support a false value for CUDA_ARCHITECTURES and CMAKE_CUDA_ARCHITECTURES for this purpose. Implements #20821.
* | | Help/dev: document other arguments to `Do: test`Ben Boeckel2020-06-091-0/+13
| | |
* | | Merge topic 'doc-gitlab-ci' into release-3.18Craig Scott2020-06-091-34/+31
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 855ed80111 Help/dev: Update CMake Review Process document for GitLab CI Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4865
| * | | Help/dev: Update CMake Review Process document for GitLab CIBrad King2020-06-091-34/+31
| | | | | | | | | | | | | | | | | | | | We have replaced use of `buildbot` with GitLab CI. Update the relevant section of our review process documentation.