summaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Drop Visual Studio 10 2010 generatorBrad King2022-09-2611-277/+17
| | | | This generator has been deprecated since CMake 3.22. Remove it.
* 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
| | | | |
| * | | | Build: Fix `target_link_libraries` to use link interface keywordsAlex Turbov2022-09-221-13/+13
| | | | |
| * | | | Build: `include_directories()` → `target_include_directories()`Alex Turbov2022-09-221-34/+24
| | | | |
| * | | | CMakeVersion.cmake: `set(VAR "${VAR}…")` → `string(APPEND VAR "…")`Alex Turbov2022-09-221-4/+4
| | | | |
| * | | | Build: Do not use variables for sources listsAlex Turbov2022-09-222-178/+208
| | | | | | | | | | | | | | | | | | | | | | | | | Instead use `add_library()` with unconditionally compiled sources and conditional `target_sources()` with extra sources to compile.
| * | | | Build: Simplify `configure_file()` callsAlex Turbov2022-09-223-23/+10
| | | | |
| * | | | cmake.version.manifest: Replace tabs with spacesAlex Turbov2022-09-221-1/+1
| | | | |
| * | | | CMakeLists: Remove redundant spaces around CMake command callsAlex Turbov2022-09-222-16/+16
| | | | |
| * | | | Build: Modernize some `foreach` calls to use `IN LISTS`/`IN ITEMS`Alex Turbov2022-09-222-11/+8
| | | | |
| * | | | bootstrap: Enable add_compile_definitions commandBrad King2022-09-221-2/+2
| | | | | | | | | | | | | | | | | | | | Make the command available to CMake's own CMake code.
* | | | | Merge topic 'try_run-no-project'Brad King2022-09-231-8/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | aac542f2f1 try_run: Remove PROJECT support Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: buildbot <buildbot@kitware.com> Merge-request: !7702
| * | | | | try_run: Remove PROJECT supportMatthew Woehlke2022-09-211-8/+4
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | Remove PROJECT support from try_run; it was never tested, has never been documented, and it's unclear how it should even work (since CMake wouldn't know what executable to run).
* | | | | Merge topic 'genex-LINK_LIBRARY-framework-with-postfix'Brad King2022-09-234-54/+106
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0bd3efffbc Genex LINK_LIBRARY: Add support for framework with postfix Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !7691