Brad King
0bbd674cdb
Merge topic 'UseSWIG-macos-csharp-suffix'
...
6b14de6bc5 UseSWIG: Change the library suffix to 'dylib' for C# on macOS
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7659
2022-09-26 09:36:32 -04:00
Brad King
5838093985
Merge topic 'unicode-env'
...
1b64aa68b9 cmSystemTools: Fix encoding of whole-environment lookup on Windows
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7705
2022-09-26 09:35:32 -04:00
Kitware Robot
ba9d51a4d3
CMake Nightly Date Stamp
2022-09-26 00:01:36 -04:00
Kitware Robot
fa2990c7b5
CMake Nightly Date Stamp
2022-09-25 00:01:09 -04:00
Kitware Robot
c87fb83426
CMake Nightly Date Stamp
2022-09-24 00:01:17 -04:00
Mario Emmenlauer
6b14de6bc5
UseSWIG: Change the library suffix to 'dylib' for C# on macOS
...
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
2022-09-23 09:24:15 -04:00
Brad King
98aef0929f
Merge topic 'try_compile-source-from'
...
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
2022-09-23 08:52:13 -04:00
Brad King
14a0794b66
Merge topic 'vs-dotnet-sdk-package'
...
2d54d6f395 VS: Fix PACKAGE target build with SDK-style projects
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7704
2022-09-23 08:48:52 -04:00
Brad King
fa9a7ba82c
Merge topic 'ci-debian10-clang-tidy-headers'
...
0ac9ec47f6 ci: add clang-tidy to Debian x86_64 base image
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7699
2022-09-23 08:47:34 -04:00
Brad King
87b9a31489
Merge topic 'modernize-build-self'
...
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
2022-09-23 08:46:08 -04:00
Brad King
4281f6ac34
Merge topic 'cdo-consider-dots'
...
df377a22dd CMakeDependentOption: allow in depends the use of .
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !7701
2022-09-23 08:45:11 -04:00
Brad King
3a1db0f3ad
Merge topic 'try_run-no-project'
...
aac542f2f1 try_run: Remove PROJECT support
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !7702
2022-09-23 08:44:23 -04:00
Brad King
ba770994af
Merge topic 'genex-LINK_LIBRARY-framework-with-postfix'
...
0bd3efffbc Genex LINK_LIBRARY: Add support for framework with postfix
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7691
2022-09-23 08:43:31 -04:00
Brad King
2fb8173308
Merge branch 'release-3.24'
2022-09-23 08:42:21 -04:00
Brad King
d563bfa2df
Merge topic 'flang-windows'
...
d34e5a98b8 LLVMFlang: Add support for Windows
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7692
2022-09-23 08:42:21 -04:00
Brad King
e7fd69fa36
Merge topic 'flang-windows' into release-3.24
...
d34e5a98b8 LLVMFlang: Add support for Windows
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7692
2022-09-23 08:42:20 -04:00
Kitware Robot
9518b42f37
CMake Nightly Date Stamp
2022-09-23 00:01:09 -04:00
zhenhaonong
1b64aa68b9
cmSystemTools: Fix encoding of whole-environment lookup on Windows
...
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.
2022-09-23 11:54:24 +08:00
Matthew Woehlke
611d801790
try_compile: Add SOURCE_FROM_FILE
...
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.
2022-09-22 14:56:50 -04:00
Matthew Woehlke
a04eaf6742
Tests: Clean up and simplify TryCompile tests
...
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.
2022-09-22 14:56:50 -04:00
Matthew Woehlke
cb14ae2b87
try_compile: Add SOURCE_FROM_{ARG,VAR}
...
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.
2022-09-22 13:33:27 -04:00
Kyle Edwards
0ac9ec47f6
ci: add clang-tidy to Debian x86_64 base image
...
Issue: #23912
2022-09-22 11:44:59 -04:00
elksson
2d54d6f395
VS: Fix PACKAGE target build with SDK-style projects
...
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.
2022-09-22 10:52:33 -04:00
Alex Turbov
9629be8080
Build: Use CMAKE_CURRENT_XXX_DIR instead of top dirs
2022-09-22 10:21:39 -04:00
Alex Turbov
e6fb5a1feb
Build: Sort linked libraries list of CMakeLib
2022-09-22 10:21:39 -04:00
Alex Turbov
aa7290e8dc
Build: Use imported target Threads::Threads instead of variable
2022-09-22 10:21:39 -04:00
Alex Turbov
df8ad72ffa
Build: Use imported target kwiml::kwiml instead of variables
2022-09-22 10:21:39 -04:00
Alex Turbov
eeebf31e54
Build: Use imported target LibRHash::LibRHash instead of variables
2022-09-22 10:21:39 -04:00
Alex Turbov
08be01a181
Build: Use imported target LibUV::LibUV instead of variables
2022-09-22 10:21:38 -04:00
Alex Turbov
ddac6dcbe8
Build: Use imported target JsonCpp::JsonCpp instead of variables
2022-09-22 10:21:38 -04:00
Alex Turbov
ac76c53d33
Build: Use imported target CURL::libcurl instead of variables
2022-09-22 10:21:38 -04:00
Alex Turbov
1f5d9c5299
Build: Use imported target LibArchive::LibArchive instead of variables
2022-09-22 10:21:38 -04:00
Alex Turbov
9cdf5a6779
Build: Use imported target EXPAT::EXPAT instead of variables
2022-09-22 10:21:38 -04:00
Alex Turbov
2be5a7de4e
Build: Use imported target ZLIB::ZLIB instead of variables
2022-09-22 10:20:30 -04:00
Alex Turbov
14b94f9bf2
Build: Use string(APPEND…) in the root CMakeLists.txt
2022-09-22 09:24:49 -04:00
Alex Turbov
4c6a47c6b6
Build: Extract CMAKE_BUILD_UTILITIES macro into a separate include
...
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`.
2022-09-22 09:24:49 -04:00
Alex Turbov
20b9808f90
Build: Use cmstd target instead of variable CMAKE_STD_LIBRARY
2022-09-22 09:24:49 -04:00
Alex Turbov
35ad2c6e5f
Build: Replace foreach with 2 set calls
2022-09-22 09:24:49 -04:00
Alex Turbov
98e8b1755b
Build: Move HAVE_CoreServices to cmCPackConfigure.h
2022-09-22 09:24:49 -04:00
Alex Turbov
7df955315b
Build: Add ENABLE_BUILD_FREEBSD_PKG to cmCPackConfigure.h
2022-09-22 09:24:49 -04:00
Alex Turbov
626136ad4d
Build: Use imported LibUUID::LibUUID target instead of variables
...
Also, simplify preprocessor condition to enable WIX CPack generator.
2022-09-22 09:24:48 -04:00
Alex Turbov
f31c784a2d
Build: Eliminate one time used variable
2022-09-22 09:24:48 -04:00
Alex Turbov
89a1e1c1be
Build: Link w/ OBJECT library is OK since 3.12
2022-09-22 09:24:48 -04:00
Alex Turbov
3b32a1a820
Build: Introduce ManifestLib interface library
...
… instead of `MANIFEST_FILE` variable.
2022-09-22 09:24:48 -04:00
Alex Turbov
a392df50b3
Build: Move KWSYS_ENCODING_DEFAULT_CODEPAGE to the config header
2022-09-22 09:24:48 -04:00
Alex Turbov
94bc776ec2
Style: Builtin commands in lower case
2022-09-22 09:24:48 -04:00
Alex Turbov
83491ddd43
Build: add_definitions() → add_compile_definitions()
2022-09-22 09:24:48 -04:00
Alex Turbov
1bcacccce9
Build: Move STAT_HAS_ST_MTIM, STAT_HAS_ST_MTIMESPEC to config file
2022-09-22 09:24:47 -04:00
Alex Turbov
324d13b25d
Build: Move CURL_CA_BUNDLE and CURL_CA_PATH to config header
2022-09-22 09:24:47 -04:00
Alex Turbov
ae174f0dea
Build: Move CMAKE_USE_WMAKE definition to cmConfigure.cmake.h.in
2022-09-22 09:24:47 -04:00