mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-02-01 12:33:08 +00:00
initial commit for nimble - 3
This commit is contained in:
parent
34b433d65f
commit
167c1a2f4b
3
Makefile
3
Makefile
@ -65,10 +65,13 @@ waku.nims:
|
||||
ln -s waku.nimble $@
|
||||
|
||||
update: | waku.nims
|
||||
git submodule update --init --recursive
|
||||
nimble setup && nimble sync
|
||||
$(MAKE) build-nph
|
||||
|
||||
clean:
|
||||
rm -rf ~/.nimble/pkg*
|
||||
git clean -fdx
|
||||
rm -rf build
|
||||
|
||||
build:
|
||||
|
||||
@ -91,7 +91,7 @@ if not defined(macosx) and not defined(android):
|
||||
# light-weight stack traces using libbacktrace and libunwind
|
||||
--define:
|
||||
nimStackTraceOverride
|
||||
switch("import", "libbacktrace")
|
||||
# Note: libbacktrace import moved to after nimble paths are loaded (see below)
|
||||
|
||||
--define:
|
||||
nimOldCaseObjects
|
||||
@ -124,3 +124,8 @@ if defined(android):
|
||||
when withDir(thisDir(), system.fileExists("nimble.paths")):
|
||||
include "nimble.paths"
|
||||
# end Nimble config
|
||||
|
||||
# Import libbacktrace for stack traces (must be after nimble paths are loaded)
|
||||
if not defined(macosx) and not defined(android):
|
||||
if not (defined(windows) and defined(i386)) and not defined(disable_libbacktrace):
|
||||
switch("import", "libbacktrace")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user