Adrien Béraud
3f32a09ae4
ci: build a static windows release
2025-06-17 20:24:36 -04:00
Adrien Béraud
29d878fad7
build/cmake: inherit build dir for msvc
2025-06-17 20:22:22 -04:00
Adrien Béraud
a3a95a8f59
build/cmake: use appropriate definitions for shared c lib
2025-06-17 20:22:22 -04:00
Adrien Béraud
550721e233
build/cmake: use global MSVC_RUNTIME_LIBRARY
2025-06-17 20:22:22 -04:00
Adrien Béraud
fa11d60672
c: use OPENDHT_C_PUBLIC for all symbols
2025-06-17 20:22:22 -04:00
Andrey Vukolov
7f6e47c7aa
Fixed OPENDHT_C to avoid compatibility warnings
2025-06-16 14:16:04 -04:00
Andrey Vukolov
2e7c1a7272
Generalization of CMake build presets
...
- Generalized MSVC build with root presets
- Separated build pipelines into 'minimal' and
'full' variants
- Added VCPKG_MANIFEST_MODE to handle local vcpkg
- Inspected VCPKG_TARGET_TRIPLET and added
VCPKG_OVERLAY_TRIPLETS as fallback options
2025-06-16 14:16:04 -04:00
Adrien Béraud
0f69153900
build/cmake: set appropriate CRT linkage for windows
2025-06-16 09:07:37 -04:00
Adrien Béraud
e1885a17d9
Revert "ci: enable tests on mingw"
...
This reverts commit 87a9df28c6 .
2025-06-15 15:16:08 -04:00
Adrien Béraud
87a9df28c6
ci: enable tests on mingw
2025-06-15 15:07:48 -04:00
Adrien Béraud
bf7cb5a848
ci: only run tests for the release job for now
2025-06-15 13:55:11 -04:00
Adrien Béraud
d24ffb8a1d
build/cmake: use release/static triplets as needed
2025-06-15 12:47:54 -04:00
Adrien Béraud
962aed25fe
build/cmake: add cpack support for wix
2025-06-15 12:47:16 -04:00
Adrien Béraud
a1582220d6
tests: bind connect to loopback address on Windows
2025-06-15 12:46:36 -04:00
Andrei Vukolov
a3bd1416d4
Removed OPENDHT_PUBLIC specifier from templatized classes
2025-06-14 17:45:41 -04:00
Adrien Béraud
f49dabaadc
build/cmake: add MSVC_RUNTIME_LIBRARY for dhtcnode
2025-06-14 14:03:21 -04:00
Adrien Béraud
2e38ec093d
tools/dhtscanner: use client mode
2025-06-14 14:03:21 -04:00
Adrien Béraud
7995c2283d
Workaround for MSVC runtime mismatch on STATIC builds
2025-06-12 20:04:13 -04:00
Adrien Béraud
7bb457d851
Pull Request #762 : Workaround for MSVC runtime mismatch on STATIC builds
2025-06-12 20:00:59 -04:00
Adrien Béraud
80d0648d6d
tools/dhtnode: use utf-8 for console output on Windows
2025-06-12 19:14:56 -04:00
Adrien Béraud
44508cd040
build/cmake: use relative install directories
2025-06-12 10:37:16 -04:00
Andrey Vukolov
e5cc48c068
Merge branch 'master' into msvc-runtime-static
2025-06-12 16:35:29 +02:00
Adrien Beraud
520a15118c
ci: add release job for Windows
2025-06-12 10:32:20 -04:00
Adrien Béraud
81931a211f
ci: add github workflow for windows
2025-06-12 10:32:20 -04:00
Adrien Béraud
9a895d71d9
tools/dhtscanner: cleanup
2025-06-12 10:32:20 -04:00
Adrien Béraud
9d2b3e0b35
build/dev: use build directory
2025-06-12 10:32:20 -04:00
Adrien Béraud
14dbd3341c
build/cmake: enable test feature for vcpkg
2025-06-12 10:32:20 -04:00
Adrien Béraud
f032c7a52b
build/vcpkg: add host tools
2025-06-12 10:32:20 -04:00
Adrien Béraud
cee24974d6
build/vcpkg: add support for tests
2025-06-12 10:32:20 -04:00
Adrien Béraud
d3e2fd1099
fixes for msvc
2025-06-12 10:32:20 -04:00
Adrien Béraud
dd9d74e227
fixes for mingw
2025-06-12 10:32:20 -04:00
Adrien Béraud
e1744ef950
build/cmake: add preset for Unix Makefiles
2025-06-12 10:32:20 -04:00
Adrien Béraud
3f64c32b7a
build/cmake: define WINVER and _WIN32_WINNT on Windows
2025-06-12 10:32:20 -04:00
Adrien Béraud
6b0e154bd5
build/cmake: add vcpkg support for msvc
2025-06-12 10:32:20 -04:00
Andrey Vukolov
11bca9e307
Workaround for MSVC runtime mismatch on STATIC builds
...
- Added CMP0091 policy handler
- Added generator expression for MSVC_RUNTIME_LIBRARY property
to avoid "Runtime Mismatch" linker error on MSVC STATIC builds
2025-06-12 09:36:53 +02:00
Adrien Beraud
28ea18671f
http: use appropriate log level for DNS result
2025-06-11 16:08:36 -04:00
Adrien Béraud
01e9c341df
tests: use loopback address if peer bound any
...
fixes some tests on Windows
2025-06-10 18:37:19 -04:00
Adrien Béraud
94006f2fe1
sockaddr: add setLoopback()
2025-06-10 18:35:48 -04:00
Andrey Vukolov
cc7c48a07e
.gitignore for vcpkg in MANIFEST mode
2025-06-09 11:29:00 -04:00
Adrien Béraud
e6fc8b7586
dhtrunner: add putEncrypted with PkId 'to' argument
2025-06-09 00:52:05 -04:00
Adrien Béraud
09da6db5e7
securedht: add putEncrypted with PkId 'to' argument
2025-06-09 00:52:05 -04:00
Adrien Béraud
e870c3b486
dhtrunner: allow to find certificates by PkId
2025-06-09 00:52:05 -04:00
Adrien Béraud
dcf31b2c5f
securedht: allow to find certificates by PkId
2025-06-09 00:52:05 -04:00
Adrien Béraud
f2eb234fd9
securedht: put certificate at PkId
2025-06-09 00:52:05 -04:00
Adrien Béraud
c3f120f8f1
build/cmake: build C binding with vcpkg preset
2025-06-08 18:51:14 -04:00
Adrien Béraud
305f437f74
c: use appropriate includes for Windows
2025-06-08 18:51:14 -04:00
Adrien Béraud
701e8c89fb
vcpkg: add support for tools
2025-06-07 16:23:59 -04:00
Adrien Béraud
aa212c4b2d
c/tools: use memset instead of bzero
2025-06-07 16:23:59 -04:00
Adrien Béraud
48254a6759
build/cmake: add opendht_EXPORTS as public definition
2025-06-07 16:23:59 -04:00
Adrien Béraud
37ccc2f3a2
build/meson: fix typo
2025-06-07 16:23:59 -04:00