Make vscode import all required headers
This commit is contained in:
parent
5dbbca6051
commit
d0e35bf602
10
.vscode/c_cpp_properties.json
vendored
10
.vscode/c_cpp_properties.json
vendored
@ -4,7 +4,15 @@
|
|||||||
"name": "Linux",
|
"name": "Linux",
|
||||||
"includePath": [
|
"includePath": [
|
||||||
"${workspaceFolder}/src/intf/**",
|
"${workspaceFolder}/src/intf/**",
|
||||||
"/usr/include/pango-1.0"
|
"/usr/include/gtk-3.0",
|
||||||
|
"/usr/include/glib-2.0",
|
||||||
|
"/usr/lib/x86_64-linux-gnu/glib-2.0/include",
|
||||||
|
"/usr/include/pango-1.0",
|
||||||
|
"/usr/include/harfbuzz",
|
||||||
|
"/usr/include/cairo",
|
||||||
|
"/usr/include/gdk-pixbuf-2.0",
|
||||||
|
"/usr/include/atk-1.0",
|
||||||
|
"/usr/include/libappindicator3-0.1"
|
||||||
],
|
],
|
||||||
"compilerPath": "/usr/bin/gcc"
|
"compilerPath": "/usr/bin/gcc"
|
||||||
}
|
}
|
||||||
|
3
Makefile
3
Makefile
@ -4,7 +4,6 @@ daemon_sourcefiles := $(shell find src/impl/daemon/ -name *.c)
|
|||||||
refreshpeers_sourcefiles := $(shell find src/impl/refresh-peers/ -name *.c)
|
refreshpeers_sourcefiles := $(shell find src/impl/refresh-peers/ -name *.c)
|
||||||
shared_sourcefiles := $(shell find src/impl/shared/ -name *.c)
|
shared_sourcefiles := $(shell find src/impl/shared/ -name *.c)
|
||||||
libshared := "src/intf/"
|
libshared := "src/intf/"
|
||||||
libappindicator := "/usr/include/libappindicator3-0.1/"
|
|
||||||
|
|
||||||
proj_version := $(shell cat project.json | jq .Version -r)
|
proj_version := $(shell cat project.json | jq .Version -r)
|
||||||
|
|
||||||
@ -43,7 +42,7 @@ build-cli:
|
|||||||
|
|
||||||
build-gui:
|
build-gui:
|
||||||
mkdir -p dist/ && \
|
mkdir -p dist/ && \
|
||||||
gcc `pkg-config --cflags gtk+-3.0` -shared -fPIC -o dist/libmelonvpngui.so -I ${libshared} -I ${libappindicator} ${gui_sourcefiles} dist/libmelonvpnshared.a `pkg-config --libs gtk+-3.0 appindicator3-0.1`
|
gcc `pkg-config --cflags gtk+-3.0 appindicator3-0.1` -shared -fPIC -o dist/libmelonvpngui.so -I ${libshared} ${gui_sourcefiles} dist/libmelonvpnshared.a `pkg-config --libs gtk+-3.0 appindicator3-0.1`
|
||||||
|
|
||||||
build-logo:
|
build-logo:
|
||||||
mkdir -p dist/ && \
|
mkdir -p dist/ && \
|
||||||
|
Loading…
Reference in New Issue
Block a user