pull/32/head
Geoffrey Merck 4 years ago
commit 605b3c56c8

@ -9,7 +9,9 @@
"command": "make",
"args": [
"-j3",
"USE_GPSD=1"
"tests",
"ENABLE_DEBUG=1",
"USE_GPSD=1",
],
"group": "build",
"problemMatcher": []
@ -21,7 +23,8 @@
"args": [
"-j3",
"tests",
"USE_GPSD=1"
"ENABLE_DEBUG=1",
"USE_GPSD=1",
],
"group": {
"kind": "build",

@ -21,10 +21,14 @@ export CFG_DIR=/usr/local/etc/
export DATA_DIR=/usr/local/share/dstargateway.d/
export LOG_DIR=/var/log/dstargateway/
ifeq ($(ENABLE_DEBUG), 1)
# choose this if you want debugging help
export CPPFLAGS=-g -ggdb -W -Wall -Werror -std=c++17
else
# or, you can choose this for a much smaller executable without debugging help
#CPPFLAGS=-W -Wall -Werror -std=c++17
CPPFLAGS=-W -O3 -Wall -Werror -std=c++17
endif
export CC=g++
export LDFLAGS:=-lcurl -pthread

Loading…
Cancel
Save

Powered by TurnKey Linux.