summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* try_compile: Add NO_CACHE option (also try_run)Matthew Woehlke2022-09-283-6/+19
| | | | | | | 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-2711-277/+17
|\ | | | | | | | | | | | | 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-2611-277/+17
| | | | | | | | This generator has been deprecated since CMake 3.22. Remove it.
* | Merge topic 'add_subdirectory_system'Brad King2022-09-275-6/+20
|\ \ | | | | | | | | | | | | | | | | | | 2eb30a7036 add_subdirectory: Add SYSTEM option Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7399
| * | add_subdirectory: Add SYSTEM optionDa Quexian2022-09-265-6/+20
| | | | | | | | | | | | | | | Fixes: #22401 Signed-off-by: Da Quexian <daquexian566@gmail.com>
* | | Merge topic 'cpack-nsis-arguments-command-line'Brad King2022-09-271-2/+32
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | 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-261-2/+32
| | | | | | | | | | | | | | | | 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 topic 'ctest_ninja_full_output'Brad King2022-09-271-10/+25
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-261-10/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 'parse-large-int' into release-3.24Brad King2022-09-213-2/+50
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8fc822e13a file: Avoid strange istringstream crash in cmake.org binaries on Alpine Linux 31f158e4c8 cmStringAlgorithms: Add functions to parse strings to long long integers Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7698
* | | | | | | CMake Nightly Date StampKitware Robot2022-09-271-1/+1
| |_|_|_|_|/ |/| | | | |
* | | | | | 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-232-8/+125
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-222-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | | try_compile: Add SOURCE_FROM_{ARG,VAR}Matthew Woehlke2022-09-222-8/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 'modernize-build-self'Brad King2022-09-2313-325/+718
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-222-3/+1
| | | | | | | |
| * | | | | | | 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
| | | | | | | |
| * | | | | | | Build: Use imported target `JsonCpp::JsonCpp` instead of variablesAlex Turbov2022-09-222-3/+2
| | | | | | | |
| * | | | | | | Build: Use imported target `CURL::libcurl` instead of variablesAlex Turbov2022-09-222-7/+3
| | | | | | | |
| * | | | | | | Build: Use imported target `LibArchive::LibArchive` instead of variablesAlex Turbov2022-09-222-6/+10
| | | | | | | |
| * | | | | | | Build: Use imported target `EXPAT::EXPAT` instead of variablesAlex Turbov2022-09-222-2/+2
| | | | | | | |
| * | | | | | | Build: Use imported target `ZLIB::ZLIB` instead of variablesAlex Turbov2022-09-222-12/+9
| | | | | | | |
| * | | | | | | Build: Extract `CMAKE_BUILD_UTILITIES` macro into a separate includeAlex Turbov2022-09-222-1/+385
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The macro was one time used with the comment "Simply to improve readability...". The result file doesn't have a macro anymore and just included into the root `CMakeLists.txt`.
| * | | | | | | Build: Use `cmstd` target instead of variable `CMAKE_STD_LIBRARY`Alex Turbov2022-09-221-1/+1
| | | | | | | |
| * | | | | | | Build: Replace `foreach` with 2 `set` callsAlex Turbov2022-09-221-7/+2
| | | | | | | |
| * | | | | | | Build: Move `HAVE_CoreServices` to `cmCPackConfigure.h`Alex Turbov2022-09-223-4/+5
| | | | | | | |
| * | | | | | | Build: Add `ENABLE_BUILD_FREEBSD_PKG` to `cmCPackConfigure.h`Alex Turbov2022-09-223-8/+7
| | | | | | | |
| * | | | | | | Build: Use imported `LibUUID::LibUUID` target instead of variablesAlex Turbov2022-09-224-19/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, simplify preprocessor condition to enable WIX CPack generator.
| * | | | | | | Build: Eliminate one time used variableAlex Turbov2022-09-221-3/+1
| | | | | | | |
| * | | | | | | Build: Link w/ `OBJECT` library is OK since 3.12Alex Turbov2022-09-222-4/+9
| | | | | | | |
| * | | | | | | Build: Introduce `ManifestLib` interface libraryAlex Turbov2022-09-222-11/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | … instead of `MANIFEST_FILE` variable.
| * | | | | | | Build: Move `KWSYS_ENCODING_DEFAULT_CODEPAGE` to the config headerAlex Turbov2022-09-223-3/+4
| | | | | | | |
| * | | | | | | Style: Builtin commands in lower caseAlex Turbov2022-09-221-1/+1
| | | | | | | |
| * | | | | | | Build: `add_definitions()` → `add_compile_definitions()`Alex Turbov2022-09-222-3/+3
| | | | | | | |
| * | | | | | | Build: Move `STAT_HAS_ST_MTIM`, `STAT_HAS_ST_MTIMESPEC` to config fileAlex Turbov2022-09-222-10/+11
| | | | | | | |
| * | | | | | | Build: Move `CURL_CA_BUNDLE` and `CURL_CA_PATH` to config headerAlex Turbov2022-09-222-6/+3
| | | | | | | |
| * | | | | | | Build: Move `CMAKE_USE_WMAKE` definition to `cmConfigure.cmake.h.in`Alex Turbov2022-09-222-2/+7
| | | | | | | |