42 lines
676 B
Prolog
42 lines
676 B
Prolog
#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
|
|
|
|
isEmpty(APP_NAME) {
|
|
APP_NAME = RedPandaCPP
|
|
}
|
|
|
|
SOURCES += \
|
|
main.c
|
|
|
|
RC_FILE += \
|
|
redpanda-git-askpass_private.rc
|
|
resource.rc
|
|
|
|
isEmpty(PREFIX) {
|
|
PREFIX = /usr/local
|
|
}
|
|
|
|
win32: {
|
|
!isEmpty(PREFIX) {
|
|
target.path = $${PREFIX}
|
|
}
|
|
}
|
|
|
|
|
|
# Default rules for deployment.
|
|
qnx: target.path = $${PREFIX}/libexec/$${APP_NAME}
|
|
else: unix:!android: target.path = $${PREFIX}/libexec/$${APP_NAME}
|
|
!isEmpty(target.path): INSTALLS += target
|