2022-03-29 18:06:24 +08:00
|
|
|
#win32-msvc{
|
|
|
|
# CONFIG += c++11
|
|
|
|
# CONFIG -= app_bundle
|
|
|
|
#} else {
|
|
|
|
# TEMPLATE = app
|
|
|
|
|
|
|
|
# CONFIG += windows
|
|
|
|
# CONFIG -= app_bundle
|
|
|
|
# CONFIG -= qt
|
|
|
|
#}
|
|
|
|
CONFIG += c++11
|
|
|
|
CONFIG -= app_bundle
|
|
|
|
|
|
|
|
DEFINES -= UNICODE
|
|
|
|
|
2022-02-26 18:50:07 +08:00
|
|
|
isEmpty(APP_NAME) {
|
|
|
|
APP_NAME = RedPandaCPP
|
|
|
|
}
|
|
|
|
|
2022-02-25 08:58:58 +08:00
|
|
|
SOURCES += \
|
2022-07-08 11:59:21 +08:00
|
|
|
main.cpp
|
2022-02-25 08:58:58 +08:00
|
|
|
|
|
|
|
RC_FILE += \
|
|
|
|
redpanda-git-askpass_private.rc
|
|
|
|
resource.rc
|
2022-02-25 12:06:04 +08:00
|
|
|
|
|
|
|
isEmpty(PREFIX) {
|
|
|
|
PREFIX = /usr/local
|
|
|
|
}
|
|
|
|
|
|
|
|
win32: {
|
|
|
|
!isEmpty(PREFIX) {
|
|
|
|
target.path = $${PREFIX}
|
|
|
|
}
|
|
|
|
}
|
2022-02-25 18:56:34 +08:00
|
|
|
|
|
|
|
|
|
|
|
# Default rules for deployment.
|
|
|
|
qnx: target.path = $${PREFIX}/libexec/$${APP_NAME}
|
|
|
|
else: unix:!android: target.path = $${PREFIX}/libexec/$${APP_NAME}
|
2022-02-26 18:50:07 +08:00
|
|
|
!isEmpty(target.path): INSTALLS += target
|