2021-10-17 20:05:50 +01:00
|
|
|
|
|
|
|
TEMPLATE = app
|
|
|
|
TARGET = SandMan
|
|
|
|
PRECOMPILED_HEADER = stdafx.h
|
|
|
|
|
2022-09-29 17:28:48 +01:00
|
|
|
QT += core gui network widgets concurrent
|
2021-10-17 20:05:50 +01:00
|
|
|
|
|
|
|
CONFIG += lrelease
|
|
|
|
|
2022-10-12 20:13:44 +01:00
|
|
|
MY_ARCH=$$(build_arch)
|
|
|
|
equals(MY_ARCH, ARM64) {
|
|
|
|
# message("Building ARM64")
|
|
|
|
CONFIG(debug, debug|release):LIBS = -L../Bin/ARM64/Debug
|
|
|
|
CONFIG(release, debug|release):LIBS = -L../Bin/ARM64/Release
|
|
|
|
} else:equals(MY_ARCH, x64) {
|
|
|
|
# message("Building x64")
|
|
|
|
CONFIG(debug, debug|release):LIBS += -L../Bin/x64/Debug
|
|
|
|
CONFIG(release, debug|release):LIBS += -L../Bin/x64/Release
|
2022-12-16 12:50:19 +00:00
|
|
|
QT += winextras
|
2022-10-12 20:13:44 +01:00
|
|
|
} else {
|
|
|
|
# message("Building x86")
|
|
|
|
CONFIG(debug, debug|release):LIBS = -L../Bin/Win32/Debug
|
|
|
|
CONFIG(release, debug|release):LIBS = -L../Bin/Win32/Release
|
2022-12-16 12:50:19 +00:00
|
|
|
QT += winextras
|
2022-10-12 20:13:44 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
2021-10-17 20:05:50 +01:00
|
|
|
CONFIG(debug, debug|release):!contains(QMAKE_HOST.arch, x86_64):LIBS += -L../Bin/Win32/Debug
|
|
|
|
CONFIG(release, debug|release):!contains(QMAKE_HOST.arch, x86_64):LIBS += -L../Bin/Win32/Release
|
|
|
|
|
|
|
|
LIBS += -lNtdll -lAdvapi32 -lOle32 -lUser32 -lShell32 -lGdi32 -lQSbieAPI -lMiscHelpers -lqtsingleapp -lUGlobalHotkey
|
|
|
|
|
|
|
|
CONFIG(release, debug|release):{
|
|
|
|
QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO
|
|
|
|
QMAKE_LFLAGS_RELEASE = $$QMAKE_LFLAGS_RELEASE_WITH_DEBUGINFO
|
|
|
|
}
|
|
|
|
|
2022-10-12 20:13:44 +01:00
|
|
|
|
|
|
|
equals(MY_ARCH, ARM64) {
|
|
|
|
# message("Building ARM64")
|
|
|
|
CONFIG(debug, debug|release):DESTDIR = ../Bin/ARM64/Debug
|
|
|
|
CONFIG(release, debug|release):DESTDIR = ../Bin/ARM64/Release
|
|
|
|
} else:equals(MY_ARCH, x64) {
|
|
|
|
# message("Building x64")
|
|
|
|
CONFIG(debug, debug|release):DESTDIR = ../Bin/x64/Debug
|
|
|
|
CONFIG(release, debug|release):DESTDIR = ../Bin/x64/Release
|
|
|
|
} else {
|
|
|
|
# message("Building x86")
|
|
|
|
CONFIG(debug, debug|release):DESTDIR = ../Bin/Win32/Debug
|
|
|
|
CONFIG(release, debug|release):DESTDIR = ../Bin/Win32/Release
|
|
|
|
}
|
|
|
|
|
2021-10-17 20:05:50 +01:00
|
|
|
|
|
|
|
INCLUDEPATH += .
|
|
|
|
DEPENDPATH += .
|
|
|
|
MOC_DIR += .
|
|
|
|
OBJECTS_DIR += debug
|
|
|
|
UI_DIR += .
|
|
|
|
RCC_DIR += .
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
include(SandMan.pri)
|
|
|
|
|
|
|
|
win32:RC_FILE = SandMan.rc
|
|
|
|
|
|
|
|
|