summaryrefslogtreecommitdiffstats
path: root/Help
Commit message (Collapse)AuthorAgeFilesLines
* try_compile: Add PROJECT keyword-dispatched signatureMatthew Woehlke2022-09-141-2/+16
| | | | | | | Introduce a new signature for the project flavor of try_compile (and try_run) which removes the `bindir` argument and adds a required PROJECT tag. This is similar to the SOURCES flavor added by commit aa9220d3 (try_compile: Add keyword-dispatched signature, 2022-09-02).
* Merge topic 'MsvcDebugInformationFormatAbstraction'Brad King2022-09-149-0/+154
|\ | | | | | | | | | | | | | | | | a858466aac MSVC: Add test for debug information format 0e96a20478 MSVC: Add abstraction for debug information format d4c8111da4 Clang/Windows: Clarify name of internal runtime library flags variables Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7606
| * MSVC: Add abstraction for debug information formatGlen Chung2022-09-149-0/+154
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace our hard-coded default for `/Zi` with a first-class abstraction to select the debug information format an enumeration of logical names. We've long hesitated to do this because the idea of "debug information format" touches on related concepts on several platforms. Avoid that scope creep by simply defining an abstraction that applies only when targeting the MSVC ABI on Windows. Removing the old default flag requires a policy because existing projects may rely on string processing to edit them and choose a runtime library under the old behavior. Add policy CMP0141 to provide compatibility. Fixes: #10189
* | Merge branch 'release-3.24'Brad King2022-09-131-3/+3
|\ \
| * | CMake 3.24.2v3.24.2Brad King2022-09-131-3/+3
| | |
* | | Merge topic 'LINUX-host'Brad King2022-09-133-0/+9
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | caffb15d09 LINUX: Set CMAKE_HOST_LINUX variable when running on a Linux host Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Acked-by: hinell <al.neodim@gmail.com> Merge-request: !7661
| * | | LINUX: Set CMAKE_HOST_LINUX variable when running on a Linux hostCristian Adam2022-09-093-0/+9
| | | | | | | | | | | | | | | | Relates: #23840
* | | | Merge topic 'manual-toolchain'Brad King2022-09-122-33/+46
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | 004568a9f3 Help: Add links between cmake-{toolchains,presets}(7) Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7650
| * | | Help: Add links between cmake-{toolchains,presets}(7)Hinell2022-09-092-33/+46
| | |/ | |/| | | | | | | Also improve formatting and add `versionadded` markup.
* | | Merge topic 'BSD'Brad King2022-09-099-38/+18
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1ea8b8ed86 BSD: Set CMAKE_HOST_BSD variable on a BSD host 288f72efea BSD: Only use BSD as variable for target BSD system Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7648
| * | | BSD: Set CMAKE_HOST_BSD variable on a BSD hostCristian Adam2022-09-053-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | Also the BSD variable will be set in CMake scripting mode (-P). Relates: #23853
| * | | BSD: Only use BSD as variable for target BSD systemCristian Adam2022-09-058-38/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of having multiple boolean variables, we only have one string variable: BSD with the name of the target BSD system. Relates: #23853
* | | | UseSWIG: track generated Perl module filesThomas Weißschuh2022-09-081-0/+5
| |/ / |/| | | | | | | | | | | This makes sure the generated file is cleaned properly and allows to create dependencies on it.
* | | Merge topic 'try_compile-unique-bindir'Brad King2022-09-073-46/+87
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | aa9220d3a0 try_compile: Add keyword-dispatched signature d1befe5515 cmSystemTools: Add MakeTempDirectory Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Acked-by: Matthew Woehlke <matthew.woehlke@kitware.com> Merge-request: !7579
| * | | try_compile: Add keyword-dispatched signatureMatthew Woehlke2022-09-053-46/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce a new signature for try_compile (and try_run) which removes the `bindir` argument and requires the SOURCES tag. This will eventually allow us to add other ways of providing sources, but also allows us to change the behavior without breaking compatibility. The old signature uses a special, but non-unique temporary location inside the specified `bindir`, which conventionally is just the project's build directory. The new signature unconditionally uses the a unique temporary directory which is unconditionally within the project's build directory (which is no longer separately specified). This ensures that successive runs do not overwrite previous runs, will simplify debugging, and should also, eventually, allow us to execute multiple trials in parallel.
* | | | Merge topic 'return-propagate-variables'Brad King2022-09-076-4/+69
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 838a5fae23 return(): Propagate variables to result scope 8f0e1f2111 cmMakefile: add RaiseScope for list of variables Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Acked-by: Robert Maynard <robertjmaynard@gmail.com> Merge-request: !7634
| * | | | return(): Propagate variables to result scopeMarc Chevrier2022-09-036-4/+69
| | | | | | | | | | | | | | | | | | | | Fixes: #23871
* | | | | Merge topic 'cpack-reuse-cmake-tools'Brad King2022-09-071-0/+7
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0c638ab597 CPack: re-use paths of tools discovered by CMakeFindBinUtils Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7635
| * | | | | CPack: re-use paths of tools discovered by CMakeFindBinUtilsMatteo Martelli2022-09-061-0/+7
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `CMakeFindBinUtils.cmake` sets `CMAKE_<TOOL>` variables that in cross-compilation environments point to the toolchain specific executables: e.g. `CMAKE_OBJCOPY` might point to `<path_to_toolchain>/arm-poky-linux-gnueabi-objcopy`. Pass this information to CPack.
* | | | | Merge topic 'tutorial_postfix_for_executables'Brad King2022-09-071-2/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 3241e3ef03 Tutorial: Align step 12 prose with documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7645
| * | | | | Tutorial: Align step 12 prose with documentationMarkus Ferrell2022-09-051-2/+2
| | |_|/ / | |/| | | | | | | | | | | | | Fixes: #23918
* | | | | Merge topic 'cpack-archive-custom-extension'Brad King2022-09-072-0/+12
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cc3cd8bc2a CPack: allow custom file extension in archive generator Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7563
| * | | | | CPack: allow custom file extension in archive generatorAndrey Filipenkov2022-09-012-0/+12
| | | | | |
* | | | | | Merge topic 'help-windows-registry'Craig Scott2022-09-061-64/+79
|\ \ \ \ \ \ | |_|/ / / / |/| | | | / | | |_|_|/ | |/| | | | | | | | | | | | | 5b30ca2436 Help: cmake-developer: Add section for Windows registry access. Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7642
| * | | | Help: cmake-developer: Add section for Windows registry access.Marc Chevrier2022-09-041-64/+79
| | | | | | | | | | | | | | | | | | | | Fixes: #23905
| * | | | Merge topic 'CMAKE_FIND_USE_INSTALL_PREFIX-support-staging-prefix' into ↵Brad King2022-08-313-3/+6
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | release-3.24 0fc10bb19b CMAKE_FIND_USE_INSTALL_PREFIX considers CMAKE_STAGING_PREFIX 43d31c5198 cmFindBase: Refactor CMAKE_FIND_USE_INSTALL_PREFIX handling Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7623
* | | | | | Help: Fix minor typos in guidestocic2022-09-042-2/+2
| |_|_|/ / |/| | | |
* | | | | Merge topic 'cmake-presets-package'Brad King2022-09-025-10/+349
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a8d73085f4 CPack: Add support for presets b699610df4 cmCMakePresetsGraph: Add package presets 215b9148eb CMakePresets.json: Fix formatting of --list-presets=all Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7621
| * | | | | CPack: Add support for presetsKyle Edwards2022-08-315-10/+349
| | | | | | | | | | | | | | | | | | | | | | | | Fixes: #23117
* | | | | | Merge topic 'E-capabilities-tls'Brad King2022-09-022-0/+10
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d0bb3286f0 cmake -E capabilities: Tell whether TLS is enabled Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7593
| * | | | | | cmake -E capabilities: Tell whether TLS is enabledKyle Edwards2022-09-012-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: #20507
* | | | | | | Merge topic 'tutorial_step3_update'Brad King2022-09-024-29/+128
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8c3aa7def7 Tutorial: Update step 3 style Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7594
| * | | | | | | Tutorial: Update step 3 styleMarkus Ferrell2022-08-314-29/+128
| | | | | | | |
* | | | | | | | Merge topic 'add_language_levels_for_cxx26'Brad King2022-09-017-0/+42
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | f808d8afb9 CMake: Support upcoming C++26 language level Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Raul Tambre <raul@tambre.ee> Merge-request: !7601
| * | | | | | | | CMake: Support upcoming C++26 language levelRobert Maynard2022-08-317-0/+42
| | |_|_|_|_|_|/ | |/| | | | | |
* | | | | | | | Merge topic 'compiler-launcher-genexp'Brad King2022-09-012-0/+10
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 36400e9dc1 COMPILER_LAUNCHER: Add support for generator expressions Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7613
| * | | | | | | COMPILER_LAUNCHER: Add support for generator expressionsThomas Weißschuh2022-08-302-0/+10
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | Fixes: #23441
* | | | | | | Merge topic 'tutorial_step2_update'Brad King2022-08-316-76/+433
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 80f5d28813 Tutorial: Update step 2 style Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7577
| * | | | | | | Tutorial: Update step 2 styleMarkus Ferrell2022-08-296-76/+433
| | | | | | | |
* | | | | | | | Merge topic 'xcode-add-gpu-validation-and-default-configuration'Brad King2022-08-3111-0/+105
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 740bee97bd Xcode: Add settings to control a scheme's launch configuration 39456c70e1 Xcode: Add settings to control a scheme's GPU Validation values 4034272ed8 gitignore: Tell Git to ignore the .cache/ directory Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7581
| * | | | | | | | Xcode: Add settings to control a scheme's launch configurationPatriceJiang2022-08-306-0/+33
| | | | | | | | |
| * | | | | | | | Xcode: Add settings to control a scheme's GPU Validation valuesPatriceJiang2022-08-308-0/+72
| |/ / / / / / /
* | | | | | | | Merge topic 'FindOpenSP-module'Brad King2022-08-313-0/+6
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e706da5f7e FindOpenSP: Add module to find the OpenSP library 4bcdf1b992 ci: add OpenSP to Debian and Fedora base images Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7470
| * | | | | | | | FindOpenSP: Add module to find the OpenSP libraryDawid Wróbel2022-08-303-0/+6
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OpenSP has not seen a release in seventeen years, so is unlikely to ever provide a CMake package configuration file. Add a find module instead.
* | | | | | | | Merge topic 'CMAKE_FIND_USE_INSTALL_PREFIX-support-staging-prefix'Brad King2022-08-313-3/+6
|\ \ \ \ \ \ \ \ | | |_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0fc10bb19b CMAKE_FIND_USE_INSTALL_PREFIX considers CMAKE_STAGING_PREFIX 43d31c5198 cmFindBase: Refactor CMAKE_FIND_USE_INSTALL_PREFIX handling Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7623
| * | | | | | | CMAKE_FIND_USE_INSTALL_PREFIX considers CMAKE_STAGING_PREFIXRobert Maynard2022-08-303-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #23900
* | | | | | | | Merge topic 'doc-CMP0134-fixes'Brad King2022-08-314-24/+21
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | / / | | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | 7dca3807f8 Help: Fix typos, grammar and formatting in CMP0134 policy docs Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7620
| * | | | | | Help: Fix typos, grammar and formatting in CMP0134 policy docsCraig Scott2022-08-304-24/+21
| | | | | | |
| * | | | | | Merge topic 'doc-ctest_test-output-control' into release-3.24Craig Scott2022-08-201-2/+5
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fadc93286a Help: Add crossrefs to ctest output control options 8981e88b18 Help: Add missing closing quote on C++ example Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7595
| | * | | | | | Help: Add crossrefs to ctest output control optionsCraig Scott2022-08-191-1/+4
| | | | | | | |