fort/src/ui/FortFirewall.pro

68 lines
1.4 KiB
Prolog
Raw Normal View History

2017-08-23 13:52:22 +00:00
lessThan(QT_VERSION, 5.7.1): error(This project requires Qt 5.7.1 or later)
QT += core gui qml widgets
CONFIG += c++11
TARGET = FortFirewall
TEMPLATE = app
SOURCES += \
main.cpp \
2017-08-28 10:35:15 +00:00
conf/appgroup.cpp \
conf/firewallconf.cpp \
2017-08-25 16:04:46 +00:00
firewallLog/logbuffer.cpp \
2017-08-25 16:51:35 +00:00
firewallLog/logentry.cpp \
2017-08-26 09:39:19 +00:00
fortcommon.cpp \
2017-08-29 08:40:23 +00:00
util/confutil.cpp \
2017-08-26 09:39:19 +00:00
util/fileutil.cpp \
2017-08-28 09:03:45 +00:00
util/ip4range.cpp \
util/netutil.cpp \
2017-08-26 09:39:19 +00:00
util/processinfo.cpp
2017-08-23 13:52:22 +00:00
HEADERS += \
2017-08-28 10:35:15 +00:00
conf/appgroup.h \
conf/firewallconf.h \
2017-08-25 16:04:46 +00:00
firewallLog/logbuffer.h \
2017-08-25 16:51:35 +00:00
firewallLog/logentry.h \
2017-08-26 09:39:19 +00:00
fortcommon.h \
2017-08-29 08:40:23 +00:00
util/confutil.h \
2017-08-26 09:39:19 +00:00
util/fileutil.h \
2017-08-28 09:03:45 +00:00
util/ip4range.h \
util/netutil.h \
2017-08-26 09:39:19 +00:00
util/processinfo.h
2017-08-23 13:52:22 +00:00
QML_FILES += \
qml/*.qml
OTHER_FILES += \
$${QML_FILES} \
*.ini
TRANSLATIONS += \
i18n/i18n_ru.ts
# Compiled translation files
RESOURCES += fort_i18n.qrc
# Default FortFirewall.ini
RESOURCES += fort_ini.qrc
2017-08-25 10:59:13 +00:00
# Windows
2017-08-28 09:03:45 +00:00
LIBS += -lfwpuclnt -lkernel32 -lpsapi -luser32 -luuid -lws2_32
2017-08-23 13:52:22 +00:00
RC_FILE = fort.rc
2017-08-24 14:32:24 +00:00
# Kernel Driver
{
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
}