summaryrefslogtreecommitdiff
path: root/bitmask.pro
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2020-06-04 11:43:53 +0200
committerkali kaneko (leap communications) <kali@leap.se>2020-06-12 20:02:46 +0200
commit3b6e3d9b79f93991dfa460abfc9b45bb33f19383 (patch)
tree09315bbb6c7fd4abeec8bcfd7c972e508de9cb43 /bitmask.pro
parent9b88f3ce47d090df167263ce2b4b6b430694da72 (diff)
[feat] add go wrapper
Signed-off-by: kali kaneko (leap communications) <kali@leap.se>
Diffstat (limited to 'bitmask.pro')
-rw-r--r--bitmask.pro72
1 files changed, 72 insertions, 0 deletions
diff --git a/bitmask.pro b/bitmask.pro
new file mode 100644
index 0000000..1afe162
--- /dev/null
+++ b/bitmask.pro
@@ -0,0 +1,72 @@
+CONFIG += qt staticlib
+windows:CONFIG += console
+unix:DEBUG:CONFIG += debug
+lessThan(QT_MAJOR_VERSION, 5): error("requires Qt 5")
+
+# trying to optimize size of the static binary.
+# probably more can be shaved off with some patience
+# You need to recompile your version of Qt to use the libraries you want. The
+# information comes from the build configuration of the Qt version that you are
+# using. Simply point Qts configure to the relevant libraries you wish to
+# override, build it, and use it to build your project. It will automatically
+# pull in the newer libraries that you overrode.
+# TODO: patch the $(PKG)_BUILD definition in mxe/src/qtbase.mk and shave some options there.
+# https://stackoverflow.com/questions/5587141/recommended-flags-for-a-minimalistic-qt-build
+# See also: https://qtlite.com/
+
+#QTPLUGIN.imageformats = -
+#QTPLUGIN.QTcpServerConnectionFactory =-
+#QTPLUGIN.QQmlDebugServerFactory =-
+#QTPLUGIN.QWindowsIntegrationPlugin =-
+#QTPLUGIN.QQmlDebuggerServiceFactory =-
+#QTPLUGIN.QQmlInspectorServiceFactory =-
+#QTPLUGIN.QLocalClientConnectionFactory =-
+#QTPLUGIN.QDebugMessageServiceFactory =-
+#QTPLUGIN.QQmlNativeDebugConnectorFactory =-
+#QTPLUGIN.QQmlNativeDebugServiceFactory =-
+#QTPLUGIN.QQmlPreviewServiceFactory =-
+#QTPLUGIN.QQmlProfilerServiceFactory =-
+#QTPLUGIN.QQuickProfilerAdapterFactory =-
+#QTPLUGIN.QQmlDebugServerFactory =-
+#QTPLUGIN.QTcpServerConnectionFactory =-
+#QTPLUGIN.QGenericEnginePlugin =-
+
+QT += qml quick
+
+TARGET=minivpn
+
+SOURCES += \
+ gui/main.cpp \
+ gui/qjsonmodel.cpp \
+ gui/handlers.cpp
+
+RESOURCES += gui/gui.qrc
+
+HEADERS += \
+ gui/handlers.h \
+ gui/qjsonmodel.h \
+ lib/libgoshim.h
+
+LIBS += -L./lib -lgoshim -lpthread
+
+DESTDIR = release
+OBJECTS_DIR = release/.obj
+MOC_DIR = release/.moc
+RCC_DIR = release/.rcc
+UI_DIR = release/.ui
+
+Release:DESTDIR = release
+Release:DESTDIR = release
+Release:OBJECTS_DIR = release/.obj
+Release:MOC_DIR = release/.moc
+Release:RCC_DIR = release/.rcc
+Release:UI_DIR = release/.ui
+
+Debug:DESTDIR = debug
+Debug:OBJECTS_DIR = debug/.obj
+Debug:MOC_DIR = debug/.moc
+Debug:RCC_DIR = debug/.rcc
+Debug:UI_DIR = debug/.ui
+
+DISTFILES += \
+ README.md