RedPanda-CPP/redpanda-win-git-askpass/redpanda-win-git-askpass.pro

38 lines
632 B
Prolog
Raw Normal View History

2022-03-29 09:43:24 +08:00
win32-msvc{
CONFIG += c++11
CONFIG -= app_bundle
DEFINES -= UNICODE
} else {
TEMPLATE = app
2022-02-25 08:58:58 +08:00
2022-03-29 09:43:24 +08:00
CONFIG += windows
CONFIG -= app_bundle
CONFIG -= qt
}
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