Linux User
e6bcbf47b4
patch libsodium for windows the cmake way
4 years ago
Jason Rhinelander
83fc7de237
Get processor count properly
4 years ago
Jason Rhinelander
fa794e64cd
Build libsodium with ccache and fPIC
...
fPIC is needed in case we are building a shared liblokinet (within which
we want the static libsodium).
4 years ago
Jeff Becker
64157d5d44
track libcurl and libuv with cmake, add libuv submodule
4 years ago
Rick V
dbc559d4ff
finally fix cross-LTO on windows builds
5 years ago
Rick V
4cd7a22ca3
fix libsodium cross compile
5 years ago
Jason Rhinelander
7ab6220a41
Older cmake workaround
5 years ago
Jason Rhinelander
5a4700d868
Use ExternalProject to build downloaded libsodium
5 years ago
Jason Rhinelander
73239f4c39
Use glob to find sodium source files
...
Manually changing the list every time we want to change the libsodium
version is painful.
I tested this glob against libsodium 1.0.17 and verified it produces the
same set of files (aside from the generated version.h), and that in
1.0.18 it produces the same set modulo upstream files removed/added.
5 years ago
Jason Rhinelander
b72a4296b7
Fix libsodium 1.0.18 URL
5 years ago
Jason Rhinelander
2b93ccb393
Bump libsodium required version to 1.0.18
...
We use crypto_core_ed25519_scalar_mul which is only exported by
libsodium >= 1.0.18.
5 years ago
Jeff Becker
8bac293dc7
fix patching command
5 years ago
Jeff Becker
25c820f166
add compile time override for libsodium tarball url using -DSODIUM_TARBALL_URL= https://whatever/tarball.tar.gz
5 years ago
Rick V
c63d0b5be2
add cmake rule to patch libsodium on windows
...
# Conflicts:
# crypto/CMakeLists.txt
5 years ago
Jason Rhinelander
ac3cd441ac
Fix download hash verification & version string
...
Fix hash verification in downloaded libsodium package.
Fix @VERSION@ expansion in sodium/version.h (but don't set it globally
because VERSION is far too generic a variable to be leaving set).
5 years ago
Jason Rhinelander
57ccb1fd5c
Move sodium download into separate cmake include
5 years ago