forked from neutralinojs/neutralinojs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build_freebsd.sh
39 lines (37 loc) · 1 KB
/
build_freebsd.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
echo "Compiling Neutralinojs..."
if [ -e bin/neutralino-freebsd ]; then
rm bin/neutralino-freebsd
fi
c++ resources.cpp \
helpers.cpp \
main.cpp \
server/router.cpp \
server/neuserver.cpp \
server/ping.cpp \
settings.cpp \
auth/authbasic.cpp \
auth/permission.cpp \
lib/boxer/boxer_freebsd.cpp \
lib/easylogging/easylogging++.cc \
platform/freebsd/platform.cpp \
api/filesystem/filesystem.cpp \
api/os/os.cpp \
api/computer/computer.cpp \
api/debug/debug.cpp \
api/storage/storage.cpp \
api/app/app.cpp \
api/window/window.cpp \
-pthread \
-lstdc++ \
-L/usr/lib \
-std=c++17 \
-DELPP_NO_DEFAULT_LOG_FILE=1 \
-DWEBVIEW_GTK=1 \
`pkg-config --cflags --libs gtk+-3.0 webkit2gtk-4.0 glib-2.0 appindicator3-0.1` \
-o bin/neutralino-freebsd \
-I .
if [ -e bin/neutralino-freebsd ]; then
echo "OK: Neutralino binary is compiled in to bin/neutralino-freebsd"
else
echo "ERR: Neutralino binary is not compiled"
fi