Sandboxie/SandboxiePlus/UGlobalHotkey/uglobalhotkey.qc.pro

32 lines
879 B
Prolog
Raw Normal View History

2021-07-05 12:55:11 +01:00
QT = core gui
unix {
QT += gui-private
}
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = UGlobalHotkey
TEMPLATE = lib
CONFIG += c++11
# Switch ABI to export (vs import, which is default)
DEFINES += UGLOBALHOTKEY_LIBRARY
include(uglobalhotkey-headers.pri)
include(uglobalhotkey-sources.pri)
include(uglobalhotkey-libs.pri)
2022-10-12 20:13:44 +01:00
MY_ARCH=$$(build_arch)
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
}