Commit Graph

99 Commits (ec2f6912d8ab675bafc159e3be94db57e06080a6)

Author SHA1 Message Date
Jason Rhinelander 3b0927ce13
Merge pull request #1140 from despair86/cmake-cleanup
some light cmake cleanup for win32
4 years ago
Rick V 3ca50b3619
missing branch on option 4 years ago
Rick V d22af469a4
some win32 cmake cleanup
also removes MSVC rules (we don't support MSVC)
4 years ago
Rick V dbc559d4ff
finally fix cross-LTO on windows builds 4 years ago
Rick V 4cd7a22ca3
fix libsodium cross compile 4 years ago
Jeff Becker 0a6c91b26c
operator presidence 4 years ago
Jeff Becker d44a96769a
allow building from source tarballs 4 years ago
despair 8a27e3972d
we need XPG7 on netbsd 4 years ago
Jason Rhinelander 7ab6220a41 Older cmake workaround 4 years ago
Jason Rhinelander 5a4700d868 Use ExternalProject to build downloaded libsodium 4 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.
4 years ago
Jason Rhinelander b72a4296b7 Fix libsodium 1.0.18 URL 4 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.
4 years ago
Jeff Becker da5eb913e9
use proper cmake call 5 years ago
Jeff Becker fde0ca374f
i hate curl 5 years ago
Jeff Becker 336a748695
make it build in normal mode too 5 years ago
Jeff Becker 80cbddde7b
fixups for review 5 years ago
Jeff Becker 2ce592e4af
static link with docs 5 years ago
Ryan Tharp 20ce679c3a macos release needs the include path 5 years ago
Ryan Tharp b21b0b49d0 support LIBCURL_ROOT, disable LIBUV includes 5 years ago
Ryan Tharp 6001215a23 bring in all updates from STATIC_RUNTIME 5 years ago
Rick V a62a75d640
nit 5 years ago
Rick V 9fa9209114
don't be aggressive
remove libcurl packaging rules. We still build it, but ship only the curl.exe
5 years ago
Rick V d1b9b89812
add note
add libuv build

add its dependent libraries to the final link line
5 years ago
Rick V 6d49ffd60b
include all platform dependencies transitively 5 years ago
Jeff Becker ab183665ab
freebsd fix 5 years ago
Stephen Shelton 332f33b049 Remove FS_LIB conditionals 5 years ago
Stephen Shelton 5ce260fce1 Use vendored fs::filesystem on all platforms 5 years ago
Jason Rhinelander 638fb25b47 Put version info into a compiled file
This rewrites the version info using lokid's approach of compiling it
into a .cpp file that gets generated as part of the build (*not* during
the configure stage).

Among other things, this means that changing the version no longer
invalidates ccache or cmake dependencies, and because it depends on
`.git/index` git commits will cause the version to be regenerated,
making the commit tag more reliable (currently if you rebuild without
running cmake your git commit tag doesn't update).
5 years ago
Jeff Becker abf9544ddc
make libuv on win32 work 5 years ago
Jason Rhinelander 8d2c22fc72 Replace cppbackport with ghc-filesystem
From https://github.com/gulrak/filesystem which is more up-to-date and
looks better maintained than cppbackport.
5 years ago
Jeff Becker 8bac293dc7
fix patching command 5 years ago
Jeff Becker 01dbd329bd
add forgotten file 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
Rick V 9b9ea6e6d0
make that a universal rule 5 years ago
Rick V b473f17231
lto not supported for cross compile targets 5 years ago
Rick V c00b083be7
grab everything and the kitchen sink at build time instead
will finish testing this once the new release is stable
5 years ago
Rick V b2c23f2c71
a. GCC LTO requires specifiying CXXFLAGS in LDFLAGS
b. not my fault your machine doesn't link pthread properly
5 years ago
Jason Rhinelander 0774213e87 Fix cmake sodium version check 5 years ago
Jeff Becker e0a9059d8c
use PACKAGE_FIND_VERFSION 5 years ago
Jeff Becker 7fbb8e25bb
set version in FindLibsodium.cmake 5 years ago
Jeff Becker f38240f945
devendor libsodium by default except for android 5 years ago
Stephen Shelton 961c8dbddf Prevent in-source-builds with cmake macro 5 years ago
Michael 77b4efd78b
fixup ios 5 years ago
Jeff 8f46a62aa6
Merge pull request #847 from michael-loki/ios_wip
Distinct ios build
5 years ago
Jeff 0aab04d1b2
Merge pull request #843 from michael-loki/fix_static_link
Fix static link with gcc
5 years ago
Michael fadedb4a7b
Distinct ios build 5 years ago