Commit Graph

125 Commits (635dc4fe1326c664cd0652a53434fba4585a9cab)

Author SHA1 Message Date
Jason Rhinelander 1697bf90fe C++17
Compiles with C++17, replaces ghc::filesystem with std::filesystem,
nonstd::optional with std::optional, and llarp::string_view with
std::string_view.
4 years ago
Jeff Becker 783e72da73
fix ci for win32 4 years ago
Stephen Shelton 67f023cf8a
Use install(PROGRAMS... instead of isntall(FILES... 5 years ago
Jason Rhinelander 3048ccf3f8 Set -mmacosx-version-min the cmake way 5 years ago
Jeff edc0d1a3ed
Merge pull request #1225 from majestrate/macos-cpack-setup-and-bootstrap-2020-04-10
macos cpack installer infra
5 years ago
Stephen Shelton 0b1c57f650 Include macos uninstall script 5 years ago
Jason Rhinelander 9f208d2b6c Pass CMAKE_PREFIX_PATH through to lokinet-gui
Needed to build against the right Qt
5 years ago
Rick V 96fc3cdd55
fix pybind 5 years ago
Jason Rhinelander 216b807cb3 Notarize has an "a" in it 5 years ago
Jason Rhinelander 8d74407d11 codesigning and notarization
Codesigns and notarizes the package.  Requires a bunch of stuff to
actually get this working.  (see contrib/macos-signing.txt).

I'm currently also building with

    -DLOKINET_GUI_REPO=https://github.com/jagerman/loki-network-control-panel.git -DLOKINET_GUI_CHECKOUT=cmake

because it needs the camke-ification PR for the control panel to
properly sign everything there.
5 years ago
Jason Rhinelander 0032f1fdde Add simple installer readme 5 years ago
Jason Rhinelander daf0174e53 Change mac install prefix to /opt/lokinet
/usr/local is probably going to get stomped on by homebrew.
5 years ago
Jason Rhinelander 93311fbc99 Build lokinet-gui with ExternalProject
Also installs it without the extra hack by specifying ../../Applications
for the destination.  (This definitely feels kind of nasty, but it works).
5 years ago
Jason Rhinelander 3dd3d48fbb Consolidate cmake vars & definitions
CMake will set version variables itself if you give the version in the
project(), which is cleaner.  Also removes some (nearly) duplicate
definitions and settings added in basic_definitions.cmake for unknown
reasons.

Removes some redundant settings (name, description, version) from the
cpack settings which already default to the values from the project()
call.
5 years ago
Stephen Shelton c20d5b186d Bundle gui in mac installer 5 years ago
Stephen Shelton dd3121d8ac MacOS installer / runtime nonsense 5 years ago
Jeff Becker 31f74b5ffb macos post install script that bootstraps, generates configs and registers plist 5 years ago
Jeff Becker c36b6a409c
move version to cmake so docs can access it 5 years ago
Jeff Becker 3e7acb72e1
more docs, make doxygen work 5 years ago
Jeff Becker 7455a1956d
make apple builds build for older versions and embrace the bitrot 5 years ago
Jeff Becker 9428689939
fix up cpack for macos 5 years ago
Jeff Becker aae260fbea
more macos installer bits 5 years ago
Jeff Becker 3b26b8b24d
make gitlab pump out 32 bit installers, no lto for builds as that is cursed for now. 5 years ago
Jeff Becker 9e696e131e
make installer pull in tuntap driver 5 years ago
Jeff Becker f335aaa847
set license 5 years ago
Jeff Becker 2190da8c81
cpack win32 5 years ago
Jason Rhinelander 3b0927ce13
Merge pull request #1140 from despair86/cmake-cleanup
some light cmake cleanup for win32
5 years ago
Rick V 3ca50b3619
missing branch on option 5 years ago
Rick V d22af469a4
some win32 cmake cleanup
also removes MSVC rules (we don't support MSVC)
5 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
Jeff Becker 0a6c91b26c
operator presidence 5 years ago
Jeff Becker d44a96769a
allow building from source tarballs 5 years ago
despair 8a27e3972d
we need XPG7 on netbsd 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 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