summaryrefslogtreecommitdiffstats
path: root/Help
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Help: improve docs for INTERPROCEDURAL_OPTIMIZATION target propertyAlexander Neundorf2023-01-311-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | The documentation now mentions the per-config target property. Fixes: #24285
* | | | Merge topic 'doc-CMAKE_CUDA_RESOLVE_DEVICE_SYMBOLS'Brad King2023-01-312-3/+10
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8c57f7b45e Help: Clarify CMAKE_CUDA_RESOLVE_DEVICE_SYMBOLS behavior Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !8136
| * | | | Help: Clarify CMAKE_CUDA_RESOLVE_DEVICE_SYMBOLS behaviorRobert Maynard2023-01-302-3/+10
| |/ / / | | | | | | | | | | | | Fixes: #24373
* | | | Help: Clarify add_custom_command OUTPUT relative path behaviorBrad King2023-01-301-3/+12
|/ / / | | | | | | | | | Issue: #24372
* | | Help: configure_file doc example use `target_include_directories`Robert Maynard2023-01-251-2/+2
| | | | | | | | | | | | Fixes #24351
* | | Merge topic 'isdir_empty'Brad King2023-01-251-2/+6
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | a1dc38a567 Help: Document behavior of if(EXISTS,IS_DIRECTORY) for empty paths Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8109
| * | | Help: Document behavior of if(EXISTS,IS_DIRECTORY) for empty pathsscivision2023-01-241-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Document and add explicit tests for empty string input: `if(EXISTS "")` and `if(IS_DIRECTORY "")` are always false. This avoids need for users to do extra checks due to CMake non-short-circuit logic as below: if("${p}") if(EXISTS "${p}")
* | | | Merge topic 'doc-rpath-features'Brad King2023-01-2511-13/+86
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 434be1256e Help: improve docs for INSTALL_NAME_DIR f784c21567 Help: mention CMAKE_SKIP_RPATH in the RPATH docs 66ad61ba79 Help: improve documentation for BUILD_RPATH 25e7791dc1 Help: improve docs for INSTALL_RPATH 099292f123 Help: improve docs for rpath-related variables Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8073
| * | | | Help: improve docs for INSTALL_NAME_DIRAlexander Neundorf2023-01-203-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | INSTALL_NAME_DIR now mentions BUILD_WITH_INSTALL_NAME_DIR. The INSTALL_NAME_DIR, INSTALL_RPATH and $<TARGET_RUNTIME_DLLS:tgt> documentation now mention the other two platforms respectively, to make it easier for developers who are not familiar with all three platforms,
| * | | | Help: mention CMAKE_SKIP_RPATH in the RPATH docsAlexander Neundorf2023-01-202-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | CMAKE_SKIP_RPATH is now mentioned in the docs for the BUILD_RPATH and INSTALL_RPATH target properties.
| * | | | Help: improve documentation for BUILD_RPATHAlexander Neundorf2023-01-202-5/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now all properties related to BUILD_RPATH are linked from the documentation for BUILD_RPATH. SKIP_BUILD_RPATH now also refers to BUILD_RPATH.
| * | | | Help: improve docs for INSTALL_RPATHAlexander Neundorf2023-01-192-4/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The documentation for INSTALL_RPATH now links to all (or at least most) properties (and variables) related to the install rpath, which should make it easier for users to find out how RPATH works. Also change "True" to "TRUE"
| * | | | Help: improve docs for rpath-related variablesAlexander Neundorf2023-01-195-2/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now all RPATH-related variables link to the related RPATH-related variables. Some also link to the INSTALL_RPATH and BUILD_RPATH target properties.
* | | | | Merge topic 'wrap-ninja-multi'Brad King2023-01-241-5/+17
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d59ab71779 Help: Wrap long examples in Ninja Multi-Config doc Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8103
| * | | | | Help: Wrap long examples in Ninja Multi-Config docFeRD (Frank Dana)2023-01-201-5/+17
| | |/ / / | |/| | |
* | | | | Merge topic 'improve_supported_language_docs'Brad King2023-01-233-31/+31
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b787be2714 Help: Update supported languages in project and enable_language Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8101
| * | | | | Help: Update supported languages in project and enable_languageRobert Maynard2023-01-203-31/+31
| |/ / / /
* | | | | FindCUDAToolkit: Add support for CUDA::nvrtc_staticRobert Maynard2023-01-201-0/+5
|/ / / /
* | | | CYGWIN: Drop pre-2.8.4 compatibility mode CMAKE_LEGACY_CYGWIN_WIN32Brad King2023-01-191-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prior to CMake 2.8.4 (released in 2011), we defined `WIN32` on CYGWIN. That was removed, but an undocumented `CMAKE_LEGACY_CYGWIN_WIN32` compatibility mode was left to help projects transition. Only projects that do not require at least 2.8.4 as their minimum CMake version need the compatibility mode. We've also long warned about projects that do not require at least 2.8.12, so it is now reasonable to remove the legacy compatibility mode.
* | | | Merge branch 'release-3.25'Brad King2023-01-191-0/+4
|\ \ \ \ | | |_|/ | |/| |
| * | | CMake 3.25.2v3.25.2Brad King2023-01-191-0/+4
| | | |
| * | | Merge topic 'doc-header-only' into release-3.25Brad King2023-01-171-1/+1
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | | | | | 93696d0f2e Help: Restore cmake-buildsystem(7) header-only library example Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8071
* | | | Merge topic 'minor-tutorial-fixes'Brad King2023-01-195-9/+9
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2e3fcf9399 Tutorial: Fix typos in Step 11 exercise and solution f04c548877 Tutorial: Fix exercise in Step 10 to match solution provided in Step 11 566e12c976 Tutorial: Fix destination of link from Step 6 to Step 5 bef0b9eb64 Tutorial: Fix exercise in Step 5 to match solution provided in Step 6 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8087
| * | | | Tutorial: Fix typos in Step 11 exercise and solutionJoshua Perrett2023-01-182-5/+5
| | | | |
| * | | | Tutorial: Fix exercise in Step 10 to match solution provided in Step 11Joshua Perrett2023-01-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | The solution in Step 11 sets POSITION_INDEPENDENT_CODE to `${BUILD_SHARED_LIBS}`, rather than simply to "True" in all cases.
| * | | | Tutorial: Fix destination of link from Step 6 to Step 5Joshua Perrett2023-01-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | The link in Step 6 (to "Testing Support") clearly refers to Exercise 2. Fix the location to which the link jumps.
| * | | | Tutorial: Fix exercise in Step 5 to match solution provided in Step 6Joshua Perrett2023-01-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | If you look at the solution for Step 6, you will see `0.0001` rather than `0.00001` used for the last test case. Fix the typo.
* | | | | Help/dev: Update source code guide to specify clang-format version 15Brad King2023-01-191-1/+1
|/ / / /
* | | | Merge topic 'configure-log'Brad King2023-01-185-0/+99
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a78cba5197 message: Add CONFIGURE_LOG mode to record a message in the configure log 645671d36f Help: Document configure log behavior in try_compile and try_run Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8080
| * | | | message: Add CONFIGURE_LOG mode to record a message in the configure logBrad King2023-01-183-0/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Provide a replacement for `file(APPEND .../CMake{Output,Error}.log)` that records messages in the configure log. Issue: #23200
| * | | | Help: Document configure log behavior in try_compile and try_runBrad King2023-01-183-0/+14
| | | | |
* | | | | Merge topic 'doc-CMAKE_CONFIGURATION_TYPES'Brad King2023-01-181-1/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ea54cce962 Help: Document format of CMAKE_CONFIGURATION_TYPES list Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8081
| * | | | | Help: Document format of CMAKE_CONFIGURATION_TYPES listBrad King2023-01-171-1/+2
| |/ / / / | | | | | | | | | | | | | | | Issue: #24327
* | | | | Merge topic 'doc-DEFINE_SYMBOL-unix'Brad King2023-01-181-1/+7
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | 22d8ff63f5 Help: add notes for POSIX platforms to the DEFINE_SYMBOL target property Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8062
| * | | | Help: add notes for POSIX platforms to the DEFINE_SYMBOL target propertyRalf Habacker2023-01-171-1/+7
| | | | | | | | | | | | | | | | | | | | Fixes #24310
* | | | | Merge topic 'configure-log'Brad King2023-01-174-2/+53
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 48292c8624 try_compile: Record stack of in-progess checks in configure log d4bf7d80c6 try_compile: Add a NO_LOG option to skip recording in the configure log 9d9e8450a8 try_compile: Add optional LOG_DESCRIPTION to record in configure log 65ed5c2ca8 try_compile: Report underlying error when COPY_FILE fails 0418efb7ad Tests: Add explicit ConfigureLog case to RunCMake.try_compile 189557bd74 cmake: Make entire in-progress check stack available internally 96ce3581ab Help: Clarify backtrace order in cmake-configure-log(7) Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8072
| * | | | | try_compile: Record stack of in-progess checks in configure logBrad King2023-01-161-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Many `try_compile` and `try_run` calls occur inside check modules between `message(CHECK_START)` and `message(CHECK_{PASS,FAIL})` pairs. Add a field to configure log entries to report this context. Issue: #23200
| * | | | | try_compile: Add a NO_LOG option to skip recording in the configure logBrad King2023-01-163-0/+15
| | | | | |
| * | | | | try_compile: Add optional LOG_DESCRIPTION to record in configure logBrad King2023-01-164-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | Issue: #23200
| * | | | | Help: Clarify backtrace order in cmake-configure-log(7)Brad King2023-01-131-2/+3
| |/ / / /
* | | | | Merge topic 'ctest-no-tests-action-env-var'Brad King2023-01-174-0/+27
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0661de58d8 ctest(1): Add CTEST_NO_TESTS_ACTION env var Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8044
| * | | | | ctest(1): Add CTEST_NO_TESTS_ACTION env varfriendlyanon2023-01-134-0/+27
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | This environment variable provides a default value for the --no-tests=<action> command line argument.
* | | | | Merge topic 'doc-header-only'Brad King2023-01-171-1/+1
|\ \ \ \ \ | |_|/ / / |/| | | / | | |_|/ | |/| | | | | | | | | | 93696d0f2e Help: Restore cmake-buildsystem(7) header-only library example Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8071
| * | | Help: Restore cmake-buildsystem(7) header-only library exampleBrad King2023-01-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 4391913133 (Add INTERFACE libraries to generated buildsystem if they have SOURCES, 2020-07-20, v3.19.0-rc1~346^2~1) the "Eigen" example in the `cmake-buildsystem(7)` manual is supposed to show a header-only library in which the headers are attached as sources to be edited in IDEs. This was accidentally broken by commit 4b25a0d512 (Help/manual: Update header-only library example, 2022-04-22, v3.24.0-rc1~220^2) when updating the example to use a `FILE_SET`. Fixes: #24319
* | | | Merge topic 'fea/add-copy_directory_if_different'Brad King2023-01-132-0/+14
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c1170b5602 cmake: Add -E copy_directory_if_different Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8059
| * | | | cmake: Add -E copy_directory_if_differentRobert Maynard2023-01-122-0/+14
| | | | | | | | | | | | | | | | | | | | Fixes #21584
* | | | | Merge topic 'deprecate-findunixcmds'Brad King2023-01-131-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0847682c47 FindUnixCommands: Deprecate in favor of cmake -E Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !8061
| * | | | | FindUnixCommands: Deprecate in favor of cmake -EFeRD (Frank Dana)2023-01-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `${CMAKE_COMMAND} -E` subcommands are cross-platform replacements. Fixes: #24263
* | | | | | Merge topic 'IntelLLVM-no-icpx-on-Windows'Brad King2023-01-131-2/+3
|\ \ \ \ \ \ | |/ / / / / |/| | | | / | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | 870d89627f Help: Clarify compiler id distinction between Intel Classic and IntelLLVM ea4cfb3b53 Merge branch 'backport-IntelLLVM-no-icpx-on-Windows' 8834e4d6a5 IntelLLVM: Avoid finding not-yet-supported icpx on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !8041
| * | | | Help: Clarify compiler id distinction between Intel Classic and IntelLLVMMichael Hirsch2023-01-121-2/+3
| | | | |