summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* try_compile: Add NO_CACHE option (also try_run)Matthew Woehlke2022-09-287-7/+104
| | | | | | | Add NO_CACHE option to try_compile and try_run, which places the results in regular, rather than cache, variables. Issue: #22799
* Merge topic 'remove-vs10-generator'Brad King2022-09-2728-361/+38
|\ | | | | | | | | | | | | 8d6f015d59 Drop Visual Studio 10 2010 generator Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7718
| * Drop Visual Studio 10 2010 generatorBrad King2022-09-2628-361/+38
| | | | | | | | This generator has been deprecated since CMake 3.22. Remove it.
* | Merge topic 'drop-try_run-macro'Brad King2022-09-271-11/+0
|\ \ | | | | | | | | | | | | | | | | | | 4b2e765025 Drop try_run macro from CMake's own build Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7719
| * | Drop try_run macro from CMake's own buildBrad King2022-09-261-11/+0
| |/ | | | | | | | | | | | | | | | | Since commit 9199f7c627 (Disable arch-specific try_run in CMake itself, 2009-12-14, v2.8.2~567) we've abused an undocumented debugging feature to override the builtin `try_run` command in CMake's own build with a wrapper macro. However, we've also long discouraged use of this feature by other projects. The purpose of the original change is outdated and of limited use anyway, so just drop it.
* | Merge topic 'add_subdirectory_system'Brad King2022-09-2742-18/+199
|\ \ | | | | | | | | | | | | | | | | | | 2eb30a7036 add_subdirectory: Add SYSTEM option Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7399
| * | add_subdirectory: Add SYSTEM optionDa Quexian2022-09-2642-18/+199
| | | | | | | | | | | | | | | Fixes: #22401 Signed-off-by: Da Quexian <daquexian566@gmail.com>
* | | Merge topic 'cpack-nsis-arguments-command-line'Brad King2022-09-273-2/+70
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | d1613ac880 CPack/NSIS: Add options to set makensis arguments Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7715
| * | | CPack/NSIS: Add options to set makensis argumentsJohnny Jazeix2022-09-263-2/+70
| | | | | | | | | | | | | | | | Fixes: #23446
* | | | Merge topic 'vs-dotnet-sdk-output-paths'Brad King2022-09-271-0/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7671d71299 VS: Fix target output paths in SDK-style projects Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7713
| * | | | VS: Fix target output paths in SDK-style projectselksson2022-09-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set the `AppendTargetFrameworkToOutputPath` property to `false` so that MSBuild does not append anything extra to our standard target output paths. This fixes the `INSTALL` target, among other things. Fixes: #23989
* | | | | Merge branch 'release-3.24'Brad King2022-09-270-0/+0
|\ \ \ \ \
| * \ \ \ \ Merge topic 'ctest_ninja_full_output' into release-3.24Brad King2022-09-277-11/+68
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 65260d6c1e ctest: only report make-level errors when no others are found Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7710
* | \ \ \ \ \ Merge topic 'ctest_ninja_full_output'Brad King2022-09-277-11/+68
|\ \ \ \ \ \ \ | | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 65260d6c1e ctest: only report make-level errors when no others are found Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7710
| * | | | | | ctest: only report make-level errors when no others are foundZack Galbreath2022-09-267-11/+68
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In commit ab9ad2a6a0 (ctest: report make-level errors to CDash when using launchers, 2020-09-24, v3.19.0-rc1~84^2~1) we taught CTest to capture and report errors from the build command when using launchers. This had the unintended side effect of reporting a separate build error containing the full build output when the build command returns non-zero. To fix this problem, we now only report build command errors from CTest launchers when no other more specific build errors are found. Fixes: #23991
* | | | | | Merge topic 'update-libuv'Brad King2022-09-2756-1410/+2530
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 23de1675fd libuv: Update CMake-internal buildsystem for 1.44.2 ff82df301c Merge branch 'upstream-libuv' into update-libuv a23da15596 libuv 2022-07-12 (0c1fa696) cfe8fd6421 libuv: Update script to get libuv 1.44.2 Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7709
| * | | | | | libuv: Update CMake-internal buildsystem for 1.44.2Brad King2022-09-274-0/+13
| | | | | | |
| * | | | | | Merge branch 'upstream-libuv' into update-libuvBrad King2022-09-2752-1409/+2516
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream-libuv: libuv 2022-07-12 (0c1fa696)
| | * | | | | | libuv 2022-07-12 (0c1fa696)libuv upstream2022-09-2752-1410/+2517
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Code extracted from: https://github.com/libuv/libuv.git at commit 0c1fa696aa502eb749c2c4735005f41ba00a27b8 (v1.44.2).
| * | | | | | | libuv: Update script to get libuv 1.44.2Brad King2022-09-271-1/+1
| | |/ / / / / | |/| | | | |
* | | | | | | CMake Nightly Date StampKitware Robot2022-09-271-1/+1
| |_|_|_|_|/ |/| | | | |
* | | | | | Merge topic 'doc-typo-fix'Brad King2022-09-261-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | e34f543678 Help/CPACK_START_MENU_SHORTCUTS: fix monospace markup Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7714
| * | | | | | Help/CPACK_START_MENU_SHORTCUTS: fix monospace markupBen Boeckel2022-09-231-1/+1
| | |_|/ / / | |/| | | |
* | | | | | Merge topic 'cmake-presets-package-more-doc-fixes'Brad King2022-09-268-1/+58
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 33b1338a92 Tests: Add test for --list-presets=all 4328deb618 Tests: Add test for cpack --list-presets e909384062 Help: Add package preset to example presets file 16a24b0ab0 Help: List packagePresets field in cmake-presets.7 Acked-by: Kitware Robot <kwrobot@kitware.com> Tested-by: buildbot <buildbot@kitware.com> Merge-request: !7707
| * | | | | | Tests: Add test for --list-presets=allKyle Edwards2022-09-232-0/+19
| | | | | | |
| * | | | | | Tests: Add test for cpack --list-presetsKyle Edwards2022-09-234-0/+25
| | | | | | |
| * | | | | | Help: Add package preset to example presets fileKyle Edwards2022-09-221-1/+10
| | | | | | |
| * | | | | | Help: List packagePresets field in cmake-presets.7Kyle Edwards2022-09-221-0/+4
| | | | | | |
* | | | | | | Merge topic 'UseSWIG-macos-csharp-suffix'Brad King2022-09-261-0/+3
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6b14de6bc5 UseSWIG: Change the library suffix to 'dylib' for C# on macOS Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7659
| * | | | | | | UseSWIG: Change the library suffix to 'dylib' for C# on macOSMario Emmenlauer2022-09-231-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When testing on macOS, the command `swig_add_library("mytarget")` creates a library `libmytarget.so` instead of `libmytarget.dylib`. Subsequently, the library is not found by `dotnet` and the swig-generated `DllImport` statements. Fixes: #23967
* | | | | | | | Merge topic 'unicode-env'Brad King2022-09-261-0/+9
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1b64aa68b9 cmSystemTools: Fix encoding of whole-environment lookup on Windows Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7705
| * | | | | | | | cmSystemTools: Fix encoding of whole-environment lookup on Windowszhenhaonong2022-09-231-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Windows, `environ` is encoded by `CP_ACP`, which may be different from `KWSYS_ENCODING_DEFAULT_CODEPAGE`. When environment variables include a unicode character, they may be corrupted. Use `_wenviron` instead.
* | | | | | | | | CMake Nightly Date StampKitware Robot2022-09-261-1/+1
| | | | | | | | |
* | | | | | | | | CMake Nightly Date StampKitware Robot2022-09-251-1/+1
| |_|_|_|_|_|/ / |/| | | | | | |
* | | | | | | | CMake Nightly Date StampKitware Robot2022-09-241-1/+1
| |_|_|/ / / / |/| | | | | |
* | | | | | | Merge topic 'try_compile-source-from'Brad King2022-09-2320-48/+269
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 611d801790 try_compile: Add SOURCE_FROM_FILE a04eaf6742 Tests: Clean up and simplify TryCompile tests cb14ae2b87 try_compile: Add SOURCE_FROM_{ARG,VAR} Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7700
| * | | | | | | try_compile: Add SOURCE_FROM_FILEMatthew Woehlke2022-09-229-2/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add ability to copy try_compile (and try_run) source files from arbitrary locations into the operation directory. This is included for the sake of completion and consolidation, although use cases which actually require this may be rare.
| * | | | | | | Tests: Clean up and simplify TryCompile testsMatthew Woehlke2022-09-223-46/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add and use some additional helper macros to simplify repetitive checks. Use existing macros in more places. Tweak macros to improve output in case of failure.
| * | | | | | | try_compile: Add SOURCE_FROM_{ARG,VAR}Matthew Woehlke2022-09-2215-14/+193
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add ability to "feed" try_compile (and try_run) sources more directly, either from literal content, or from a CMake variable which contains literal content. This saves the user from needing a separate step to write the content to a file, and allows for the sources to only exist in the scratch directory.
* | | | | | | | Merge topic 'vs-dotnet-sdk-package'Brad King2022-09-231-2/+2
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2d54d6f395 VS: Fix PACKAGE target build with SDK-style projects Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7704
| * | | | | | | | VS: Fix PACKAGE target build with SDK-style projectselksson2022-09-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend the fix from commit a450cc9533 (VS: Set ResolveNugetPackages to false for ALL_BUILD and ZERO_CHECK, 2021-12-15, v3.23.0-rc1~196^2~1) to the `PACKAGE` target too.
* | | | | | | | | Merge topic 'ci-debian10-clang-tidy-headers'Brad King2022-09-233-1/+25
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0ac9ec47f6 ci: add clang-tidy to Debian x86_64 base image Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7699
| * | | | | | | | | ci: add clang-tidy to Debian x86_64 base imageKyle Edwards2022-09-223-1/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue: #23912
* | | | | | | | | | Merge topic 'modernize-build-self'Brad King2022-09-2333-929/+917
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 9629be8080 Build: Use `CMAKE_CURRENT_XXX_DIR` instead of top dirs e6fb5a1feb Build: Sort linked libraries list of `CMakeLib` aa7290e8dc Build: Use imported target `Threads::Threads` instead of variable df8ad72ffa Build: Use imported target `kwiml::kwiml` instead of variables eeebf31e54 Build: Use imported target `LibRHash::LibRHash` instead of variables 08be01a181 Build: Use imported target `LibUV::LibUV` instead of variables ddac6dcbe8 Build: Use imported target `JsonCpp::JsonCpp` instead of variables ac76c53d33 Build: Use imported target `CURL::libcurl` instead of variables ... Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7570
| * | | | | | | | | | Build: Use `CMAKE_CURRENT_XXX_DIR` instead of top dirsAlex Turbov2022-09-221-6/+6
| | | | | | | | | | |
| * | | | | | | | | | Build: Sort linked libraries list of `CMakeLib`Alex Turbov2022-09-221-4/+4
| | | | | | | | | | |
| * | | | | | | | | | Build: Use imported target `Threads::Threads` instead of variableAlex Turbov2022-09-221-1/+1
| | | | | | | | | | |
| * | | | | | | | | | Build: Use imported target `kwiml::kwiml` instead of variablesAlex Turbov2022-09-223-4/+2
| | | | | | | | | | |
| * | | | | | | | | | Build: Use imported target `LibRHash::LibRHash` instead of variablesAlex Turbov2022-09-222-3/+2
| | | | | | | | | | |
| * | | | | | | | | | Build: Use imported target `LibUV::LibUV` instead of variablesAlex Turbov2022-09-222-3/+2
| | | | | | | | | | |