Jeff Becker
da5eb913e9
use proper cmake call
2020-01-07 18:14:26 -05:00
Jeff Becker
fde0ca374f
i hate curl
2020-01-07 18:14:25 -05:00
Jeff Becker
336a748695
make it build in normal mode too
2020-01-07 18:14:25 -05:00
Jeff Becker
80cbddde7b
fixups for review
2020-01-07 18:14:25 -05:00
Jeff Becker
2ce592e4af
static link with docs
2020-01-07 18:14:25 -05:00
Ryan Tharp
20ce679c3a
macos release needs the include path
2019-12-23 07:15:51 +00:00
Ryan Tharp
b21b0b49d0
support LIBCURL_ROOT, disable LIBUV includes
2019-12-23 06:55:02 +00:00
Ryan Tharp
6001215a23
bring in all updates from STATIC_RUNTIME
2019-12-23 06:55:02 +00:00
Rick V
a62a75d640
nit
2019-12-16 12:11:07 -06:00
Rick V
9fa9209114
don't be aggressive
...
remove libcurl packaging rules. We still build it, but ship only the curl.exe
2019-12-16 11:28:47 -06:00
Rick V
d1b9b89812
add note
...
add libuv build
add its dependent libraries to the final link line
2019-12-16 11:28:46 -06:00
Rick V
6d49ffd60b
include all platform dependencies transitively
2019-12-16 11:28:46 -06:00
Jeff Becker
ab183665ab
freebsd fix
2019-12-16 09:02:39 -05:00
Stephen Shelton
332f33b049
Remove FS_LIB conditionals
2019-12-12 12:58:46 -07:00
Stephen Shelton
5ce260fce1
Use vendored fs::filesystem on all platforms
2019-12-12 12:29:03 -07:00
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).
2019-12-11 22:40:07 -04:00
Jeff Becker
abf9544ddc
make libuv on win32 work
2019-12-11 16:05:40 -05:00
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.
2019-12-06 20:41:22 -04:00
Jeff Becker
8bac293dc7
fix patching command
2019-11-05 08:09:17 -05:00
Jeff Becker
01dbd329bd
add forgotten file
2019-11-05 06:52:40 -05:00
Jeff Becker
25c820f166
add compile time override for libsodium tarball url using -DSODIUM_TARBALL_URL= https://whatever/tarball.tar.gz
2019-11-01 11:05:09 -04:00
Rick V
c63d0b5be2
add cmake rule to patch libsodium on windows
...
# Conflicts:
# crypto/CMakeLists.txt
2019-10-31 17:08:34 -05:00
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).
2019-10-31 18:01:36 -03:00
Jason Rhinelander
57ccb1fd5c
Move sodium download into separate cmake include
2019-10-31 17:49:08 -03:00
Rick V
9b9ea6e6d0
make that a universal rule
2019-10-30 18:02:32 -05:00
Rick V
b473f17231
lto not supported for cross compile targets
2019-10-30 18:02:30 -05:00
Rick V
c00b083be7
grab everything and the kitchen sink at build time instead
...
will finish testing this once the new release is stable
2019-10-30 18:02:29 -05:00
Rick V
b2c23f2c71
a. GCC LTO requires specifiying CXXFLAGS in LDFLAGS
...
b. not my fault your machine doesn't link pthread properly
2019-10-30 18:02:29 -05:00
Jason Rhinelander
0774213e87
Fix cmake sodium version check
2019-10-30 13:25:23 -03:00
Jeff Becker
e0a9059d8c
use PACKAGE_FIND_VERFSION
2019-10-29 13:42:34 -04:00
Jeff Becker
7fbb8e25bb
set version in FindLibsodium.cmake
2019-10-29 13:14:29 -04:00
Jeff Becker
f38240f945
devendor libsodium by default except for android
2019-10-29 12:01:58 -04:00
Stephen Shelton
961c8dbddf
Prevent in-source-builds with cmake macro
2019-10-24 13:21:45 -06:00
Michael
77b4efd78b
fixup ios
2019-10-07 00:52:04 +01:00
Jeff
8f46a62aa6
Merge pull request #847 from michael-loki/ios_wip
...
Distinct ios build
2019-09-30 15:00:17 -04:00
Jeff
0aab04d1b2
Merge pull request #843 from michael-loki/fix_static_link
...
Fix static link with gcc
2019-09-30 07:54:30 -04:00
Michael
fadedb4a7b
Distinct ios build
2019-09-30 09:59:34 +01:00
Michael
a5858c770f
Fix static link with gcc
2019-09-24 09:29:11 +00:00
Rick V
94e9305d54
fix static build
2019-09-23 21:22:31 -05:00
Jeff
35230adbe5
Merge pull request #833 from majestrate/gut-utp-2019-09-19
...
remove libutp and all such code related to utp
2019-09-19 16:48:36 -04:00
jeff
1853b28590
remove libutp and all such code related to utp
2019-09-19 11:36:05 -04:00
Michael
6719a1790c
Statically link releases
2019-09-18 21:33:08 +01:00
Rick V
5ecc76a332
if cppbackport is built, make that consistent too
2019-09-03 08:02:32 -05:00
Rick V
89f92d3aed
new cmake module
2019-09-03 08:02:32 -05:00
Rick V
4246caf8a1
add build option for constrained node ops and make sure everything is now target-optimised in all configurations (allows debugging on the target using the debug build config)
...
link libatomic if we're targeting 486
link libatomic.a if we're targeting windows
idk what the hell MSVC does for -arch:IA32
we already set the c++14 flag early on
strip target selection flags from MSVC builds and clang-cl
c++14 does not propagate to compile tests
2019-09-03 08:02:04 -05:00
Rick V
b3a975ff8e
sun fix
...
fix testing on sun
2019-08-27 06:53:08 -05:00
Jeff
e7796a7ba4
Merge pull request #784 from michael-loki/shadow_fixes
...
Partial fixes for shadow
2019-08-26 20:42:15 -04:00
Michael
7d39f84ef3
Partial fixes for shadow
2019-08-26 23:10:48 +00:00
Rick V
3f6f636bbf
reeeee
2019-08-26 03:32:32 -05:00
Jeff
d8e4f5e6fc
Merge pull request #779 from michael-loki/find_libatomic
...
Find libatomic via cmake magics
2019-08-19 07:37:58 -04:00