fort/src/ui/FortFirewall.pro

187 lines
4.7 KiB
Prolog
Raw Normal View History

QT += core gui qml widgets
2017-08-23 13:52:22 +00:00
CONFIG += c++11
TEMPLATE = app
2018-01-11 04:25:17 +00:00
TARGET = FortFirewall
DESTDIR = ./
MOC_DIR = .moc
OBJECTS_DIR = .obj
2018-01-12 08:29:08 +00:00
RCC_DIR = .rcc
2017-08-23 13:52:22 +00:00
SOURCES += \
main.cpp \
2017-09-02 10:17:51 +00:00
conf/addressgroup.cpp \
2017-08-28 10:35:15 +00:00
conf/appgroup.cpp \
conf/firewallconf.cpp \
control/controlmanager.cpp \
control/controlworker.cpp \
2017-12-01 14:13:06 +00:00
db/databasemanager.cpp \
2017-12-04 13:55:03 +00:00
db/databasesql.cpp \
db/quotamanager.cpp \
2017-09-04 11:39:15 +00:00
driver/drivermanager.cpp \
driver/driverworker.cpp \
2017-08-26 09:39:19 +00:00
fortcommon.cpp \
2017-09-01 15:13:17 +00:00
fortmanager.cpp \
2017-08-30 16:20:31 +00:00
fortsettings.cpp \
2019-02-06 11:53:02 +00:00
graph/axistickerspeed.cpp \
graph/graphplot.cpp \
2018-03-15 15:35:49 +00:00
graph/graphwindow.cpp \
2017-11-17 03:46:35 +00:00
log/logbuffer.cpp \
log/logentry.cpp \
log/logentryblocked.cpp \
2017-11-24 09:46:35 +00:00
log/logentryprocnew.cpp \
2017-11-27 07:04:10 +00:00
log/logentrystattraf.cpp \
2017-11-17 03:46:35 +00:00
log/logmanager.cpp \
log/model/appblockedmodel.cpp \
2017-12-05 05:06:15 +00:00
log/model/appstatmodel.cpp \
2017-11-17 10:33:14 +00:00
log/model/iplistmodel.cpp \
2017-11-17 03:46:35 +00:00
log/model/stringlistmodel.cpp \
2017-12-06 13:40:58 +00:00
log/model/traflistmodel.cpp \
2017-09-07 10:44:15 +00:00
mainwindow.cpp \
task/taskdownloader.cpp \
2017-09-20 15:43:43 +00:00
task/taskinfo.cpp \
2017-09-19 08:35:43 +00:00
task/taskmanager.cpp \
2017-09-19 04:46:49 +00:00
task/tasktasix.cpp \
task/taskupdatechecker.cpp \
2017-09-21 13:24:45 +00:00
task/taskworker.cpp \
2017-09-07 10:44:15 +00:00
translationmanager.cpp \
2019-03-22 11:28:13 +00:00
util/app/appinfomanager.cpp \
util/app/appinfoworker.cpp \
2019-03-29 09:06:07 +00:00
util/app/apputil.cpp \
util/conf/addressrange.cpp \
util/conf/confutil.cpp \
2017-12-06 13:40:58 +00:00
util/dateutil.cpp \
2017-08-29 13:00:18 +00:00
util/device.cpp \
2017-08-26 09:39:19 +00:00
util/fileutil.cpp \
2017-11-01 13:49:11 +00:00
util/guiutil.cpp \
2018-03-07 10:15:35 +00:00
util/hotkeymanager.cpp \
util/logger.cpp \
2018-03-07 10:12:58 +00:00
util/nativeeventfilter.cpp \
2017-11-17 10:33:14 +00:00
util/net/hostinfocache.cpp \
2019-03-22 11:28:13 +00:00
util/net/hostinfomanager.cpp \
2017-11-07 07:42:42 +00:00
util/net/hostinfoworker.cpp \
util/net/ip4range.cpp \
util/net/netdownloader.cpp \
util/net/netutil.cpp \
2017-09-09 04:24:04 +00:00
util/osutil.cpp \
util/processinfo.cpp \
2018-01-10 02:41:42 +00:00
util/stringutil.cpp \
2018-03-15 15:35:49 +00:00
util/window/basewindowstatewatcher.cpp \
util/window/widgetwindow.cpp \
util/window/widgetwindowstatewatcher.cpp \
2019-03-22 11:28:13 +00:00
util/window/windowstatewatcher.cpp \
util/worker/workermanager.cpp \
util/worker/workerobject.cpp
2017-08-23 13:52:22 +00:00
HEADERS += \
2017-09-02 10:17:51 +00:00
conf/addressgroup.h \
2017-08-28 10:35:15 +00:00
conf/appgroup.h \
conf/firewallconf.h \
control/controlmanager.h \
control/controlworker.h \
2017-12-01 14:13:06 +00:00
db/databasemanager.h \
2017-12-04 13:55:03 +00:00
db/databasesql.h \
db/quotamanager.h \
2017-09-04 11:39:15 +00:00
driver/drivermanager.h \
driver/driverworker.h \
2017-08-26 09:39:19 +00:00
fortcommon.h \
2017-09-01 15:13:17 +00:00
fortmanager.h \
2017-08-30 16:20:31 +00:00
fortsettings.h \
2019-02-06 11:53:02 +00:00
graph/axistickerspeed.h \
graph/graphplot.h \
2018-03-15 15:35:49 +00:00
graph/graphwindow.h \
2017-11-17 03:46:35 +00:00
log/logbuffer.h \
log/logentry.h \
log/logentryblocked.h \
2017-11-24 09:46:35 +00:00
log/logentryprocnew.h \
2017-11-27 07:04:10 +00:00
log/logentrystattraf.h \
2017-11-17 03:46:35 +00:00
log/logmanager.h \
log/model/appblockedmodel.h \
2017-12-05 05:06:15 +00:00
log/model/appstatmodel.h \
2017-11-17 10:33:14 +00:00
log/model/iplistmodel.h \
2017-11-17 03:46:35 +00:00
log/model/stringlistmodel.h \
2017-12-06 13:40:58 +00:00
log/model/traflistmodel.h \
2017-09-07 10:44:15 +00:00
mainwindow.h \
task/taskdownloader.h \
2017-09-20 15:43:43 +00:00
task/taskinfo.h \
2017-09-19 08:35:43 +00:00
task/taskmanager.h \
2017-09-19 04:46:49 +00:00
task/tasktasix.h \
task/taskupdatechecker.h \
2017-09-21 13:24:45 +00:00
task/taskworker.h \
2017-09-07 10:44:15 +00:00
translationmanager.h \
2019-03-22 11:28:13 +00:00
util/app/appinfomanager.h \
util/app/appinfoworker.h \
2019-03-29 09:06:07 +00:00
util/app/apputil.h \
util/conf/addressrange.h \
util/conf/confutil.h \
2017-12-06 13:40:58 +00:00
util/dateutil.h \
2017-08-29 13:00:18 +00:00
util/device.h \
2017-08-26 09:39:19 +00:00
util/fileutil.h \
2017-11-01 13:49:11 +00:00
util/guiutil.h \
2018-03-07 10:15:35 +00:00
util/hotkeymanager.h \
util/logger.h \
2018-03-07 10:12:58 +00:00
util/nativeeventfilter.h \
2017-11-17 10:33:14 +00:00
util/net/hostinfocache.h \
2019-03-22 11:28:13 +00:00
util/net/hostinfomanager.h \
2017-11-07 07:42:42 +00:00
util/net/hostinfoworker.h \
util/net/ip4range.h \
util/net/netdownloader.h \
util/net/netutil.h \
2017-09-09 04:24:04 +00:00
util/osutil.h \
util/processinfo.h \
2018-01-10 02:41:42 +00:00
util/stringutil.h \
2018-03-15 15:35:49 +00:00
util/window/basewindowstatewatcher.h \
util/window/widgetwindow.h \
util/window/widgetwindowstatewatcher.h \
2019-03-22 11:28:13 +00:00
util/window/windowstatewatcher.h \
util/worker/workermanager.h \
util/worker/workerobject.h
2017-08-23 13:52:22 +00:00
QML_FILES += \
2017-09-01 13:13:12 +00:00
qml/*.qml \
2017-09-02 14:25:47 +00:00
qml/controls/*.qml \
qml/pages/*.qml \
qml/pages/addresses/*.qml \
2017-09-21 13:24:45 +00:00
qml/pages/apps/*.qml \
qml/pages/log/*.qml \
2017-09-21 13:24:45 +00:00
qml/pages/schedule/*.qml
2017-08-23 13:52:22 +00:00
OTHER_FILES += \
2017-09-09 00:08:11 +00:00
$${QML_FILES}
2017-08-23 13:52:22 +00:00
2017-09-01 13:13:12 +00:00
# QML files
RESOURCES += fort_qml.qrc
# Images
RESOURCES += fort_images.qrc
2017-09-09 04:24:04 +00:00
# Shadow Build: Copy i18n/ to build path
!equals(PWD, $${OUT_PWD}) {
i18n.files = i18n/*.qm
2018-01-11 04:25:17 +00:00
i18n.path = $${OUT_PWD}/i18n
2017-09-09 04:24:04 +00:00
COPIES += i18n
}
2017-08-25 10:59:13 +00:00
# Windows
2017-11-01 13:49:11 +00:00
LIBS += -lfwpuclnt -lkernel32 -luser32 -luuid -lws2_32
2017-10-19 09:05:37 +00:00
RC_FILE = FortFirewall.rc
2017-08-23 13:52:22 +00:00
2017-08-24 14:32:24 +00:00
# Kernel Driver
2017-09-11 10:49:25 +00:00
installer_build {
2017-08-24 14:32:24 +00:00
BUILDCMD = MSBuild $$PWD/../driver/fortdrv.vcxproj /p:OutDir=./;IntDir=$$OUT_PWD/driver/
2017-08-25 10:32:46 +00:00
fortdrv32.target = $$PWD/../driver/fortfw32.sys
2017-08-24 14:32:24 +00:00
fortdrv32.commands = $$BUILDCMD /p:Platform=Win32
2017-08-25 10:32:46 +00:00
fortdrv64.target = $$PWD/../driver/fortfw64.sys
2017-08-24 14:32:24 +00:00
fortdrv64.commands = $$BUILDCMD /p:Platform=x64
QMAKE_EXTRA_TARGETS += fortdrv32 fortdrv64
PRE_TARGETDEPS += $$fortdrv32.target $$fortdrv64.target
}
2017-11-04 04:45:14 +00:00
2017-12-01 14:13:06 +00:00
include(db/sqlite/sqlite.pri)
include(graph/qcustomplot/qcustomplot.pri)