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
Alex Turbov
9a24c648eb
Build: Fix target_link_libraries to use link interface keywords
2022-09-22 09:24:47 -04:00
Alex Turbov
d5336ed714
Build: include_directories() → target_include_directories()
2022-09-22 09:24:47 -04:00
Alex Turbov
d6b708482f
CMakeVersion.cmake: set(VAR "${VAR}…") → string(APPEND VAR "…")
2022-09-22 09:24:47 -04:00
Alex Turbov
4ff8604604
Build: Do not use variables for sources lists
...
Instead use `add_library()` with unconditionally compiled sources and
conditional `target_sources()` with extra sources to compile.
2022-09-22 09:24:47 -04:00
Alex Turbov
0aed435b35
Build: Simplify configure_file() calls
2022-09-22 09:24:47 -04:00
Alex Turbov
a67c9f9756
cmake.version.manifest: Replace tabs with spaces
2022-09-22 09:24:46 -04:00
Alex Turbov
dd28d76203
CMakeLists: Remove redundant spaces around CMake command calls
2022-09-22 09:24:46 -04:00
Alex Turbov
a509602699
Build: Modernize some foreach calls to use IN LISTS/IN ITEMS
2022-09-22 09:24:46 -04:00
Brad King
914d21de58
bootstrap: Enable add_compile_definitions command
...
Make the command available to CMake's own CMake code.
2022-09-22 09:23:50 -04:00
Brad King
fc17277bda
Merge topic 'detect-lib_foo.a-msvc'
...
be848a71b0 MSVC: Teach find_library to consider the 'libfoo.a' naming convention
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7694
2022-09-20 09:12:57 -04:00
Brad King
396ed90aa1
Merge topic 'help-byproducts'
...
37381506dc Help: Link from add_custom_target to policy on BYPRODUCTS
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7695
2022-09-20 08:55:47 -04:00
Brad King
b15ddc766c
Merge topic 'try_compile-more-consistent-errors'
...
30a234d275 try_compile: Improve error message consistency
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !7696
2022-09-20 08:54:22 -04:00
Kitware Robot
245f6ad0f3
CMake Nightly Date Stamp
2022-09-20 00:01:15 -04:00
Hinell
37381506dc
Help: Link from add_custom_target to policy on BYPRODUCTS
...
Link policy explaining BYPRODUCTS.
Apply the change from commit 00b788e85e (Help:custom_command: link
policy on BYPRODUCTS, 2022-09-09) to `add_custom_target` docs too.
Issue: #23786
2022-09-19 12:39:29 -04:00
Yonggang Luo
be848a71b0
MSVC: Teach find_library to consider the 'libfoo.a' naming convention
...
When targeting the GNU ABI, we consider `.a` libraries first but also
accept `.lib`. For symmetry, when targeting the MSVC ABI, we now
consider `.lib` first but also accept `.a`.
This adds support for meson-generated static libraries, which are named
with the pattern `lib${foo}.a`:
* https://mesonbuild.com/FAQ.html#why-does-building-my-project-with-msvc-output-static-libraries-called-libfooa
Fixes : #23975
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com >
2022-09-19 11:02:44 -04:00
Brad King
620cf9efa7
Merge topic 'use-new-project-try_compile'
...
d00d8537f6 Modules: Use new keyword-dispatched try_compile signature
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !7690
2022-09-19 10:25:26 -04:00
Brad King
71cfcbe816
Merge topic 'transitive-usage-reqs-lnks'
...
3d31f99b74 Help: Link from usage requirement commands to detailed explanation
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7653
2022-09-19 10:24:15 -04:00
Brad King
e9d9cd348c
Merge topic 'help-add-custom-comman-byproducts'
...
00b788e85e Help:custom_command: link policy on BYPRODUCTS
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7662
2022-09-19 10:23:02 -04:00
Brad King
6949d0195d
Merge topic 'android-clang-no-ndk-version'
...
1c86e397fe Android/Clang: Tolerate undefined CMAKE_ANDROID_NDK_VERSION
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7689
2022-09-19 10:22:15 -04:00
Brad King
f485e2c65b
Merge topic 'env-tls-certs'
...
10bf34a2d9 cmCurl: Honor OpenSSL certificate environment variables
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7670
2022-09-19 10:21:22 -04:00
Brad King
10afb5eb87
Merge branch 'release-3.24'
2022-09-19 10:19:12 -04:00
Brad King
689eb0c306
Merge topic 'matlab-r2022b'
...
edbdfba3f5 FindMatlab: add R2022b 9.13 version map
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7683
2022-09-19 10:19:12 -04:00
Brad King
27a05e84e2
Merge topic 'matlab-r2022b' into release-3.24
...
edbdfba3f5 FindMatlab: add R2022b 9.13 version map
Acked-by: Kitware Robot <kwrobot@kitware.com >
Merge-request: !7683
2022-09-19 10:19:11 -04:00
Brad King
ea792d5812
Merge topic 'add-try_compile-test-documentation'
...
e933fccc7e Tests: document try_{compile,run} old/new signature testing
Acked-by: Kitware Robot <kwrobot@kitware.com >
Acked-by: buildbot <buildbot@kitware.com >
Merge-request: !7681
2022-09-19 10:18:04 -04:00
Brad King
33f314764d
Merge topic 'improve-try_compile-arg-error'
...
f976800577 try_compile: More useful error if insufficient arguments
Acked-by: Kitware Robot <kwrobot@kitware.com >
Tested-by: buildbot <buildbot@kitware.com >
Merge-request: !7682
2022-09-19 10:17:02 -04:00
Kitware Robot
40af69a106
CMake Nightly Date Stamp
2022-09-19 00:01:23 -04:00
Kitware Robot
9bdeaa79e2
CMake Nightly Date Stamp
2022-09-18 00:01:11 -04:00
Kitware Robot
c364068a81
CMake Nightly Date Stamp
2022-09-17 00:01:16 -04:00