RedPanda-CPP/Red_Panda_CPP.pro

75 lines
2.0 KiB
Prolog

TEMPLATE = subdirs
SUBDIRS += \
RedPandaIDE \
tools/astyle \
tools/consolepauser
libs/qsynedit
# Add the dependencies so that the RedPandaIDE project can add the depended programs
# into the main app bundle
RedPandaIDE.depends = tools/astyle tools/consolepauser libs/qsynedit
win32: {
SUBDIRS += \
tools/redpanda-win-git-askpass
RedPandaIDE.depends += tools/redpanda-win-git-askpass
}
unix: {
SUBDIRS += \
tools/redpanda-git-askpass
RedPandaIDE.depends += tools/redpanda-git-askpass
}
APP_NAME = RedPandaCPP
APP_VERSION = 1.4
linux: {
isEmpty(PREFIX) {
PREFIX = /usr/local
}
QMAKE_SUBSTITUTES += platform/linux/redpandaide.desktop.in
resources.path = $${PREFIX}/share/$${APP_NAME}
resources.files += platform/linux/templates
INSTALLS += resources
docs.path = $${PREFIX}/share/doc/$${APP_NAME}
docs.files += README.md
docs.files += NEWS.md
docs.files += LICENSE
INSTALLS += docs
pixmaps.path = $${PREFIX}/share/pixmaps
pixmaps.files += platform/linux/redpandaide.png
INSTALLS += pixmaps
desktop.path = $${PREFIX}/share/applications
desktop.files += platform/linux/redpandaide.desktop
INSTALLS += desktop
}
win32: {
!isEmpty(PREFIX) {
target.path = $${PREFIX}
QMAKE_SUBSTITUTES += platform/windows/installer-scripts/config.nsh.in
QMAKE_SUBSTITUTES += platform/windows/installer-scripts/config32.nsh.in
QMAKE_SUBSTITUTES += platform/windows/installer-scripts/config-clang.nsh.in
resources.path = $${PREFIX}
resources.files += platform/windows/templates
resources.files += platform/windows/installer-scripts/config.nsh
resources.files += platform/windows/installer-scripts/config32.nsh
resources.files += platform/windows/installer-scripts/config-clang.nsh
resources.files += README.md
resources.files += NEWS.md
resources.files += LICENSE
resources.files += RedPandaIDE/images/devcpp.ico
INSTALLS += resources
}
}