2022-02-25 08:58:58 +08:00
|
|
|
TEMPLATE = app
|
|
|
|
CONFIG += windows
|
|
|
|
CONFIG -= app_bundle
|
|
|
|
CONFIG -= qt
|
|
|
|
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 += \
|
|
|
|
main.c
|
|
|
|
|
|
|
|
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
|