2021-04-06 23:10:57 +08:00
|
|
|
TEMPLATE = subdirs
|
|
|
|
|
|
|
|
SUBDIRS += \
|
2021-12-29 09:43:32 +08:00
|
|
|
RedPandaIDE \
|
2021-12-30 10:06:27 +08:00
|
|
|
astyle \
|
2021-12-29 09:43:32 +08:00
|
|
|
consolepauser
|
2021-11-01 20:44:08 +08:00
|
|
|
|
2022-02-25 08:58:58 +08:00
|
|
|
win32: {
|
|
|
|
SUBDIRS += \
|
|
|
|
redpanda-win-git-askpass
|
|
|
|
}
|
|
|
|
|
2022-05-23 01:34:38 +08:00
|
|
|
macos,linux: {
|
2022-02-26 18:50:07 +08:00
|
|
|
SUBDIRS += \
|
|
|
|
redpanda-git-askpass
|
|
|
|
}
|
|
|
|
|
2022-01-05 08:18:47 +08:00
|
|
|
APP_NAME = RedPandaCPP
|
2021-12-30 08:59:10 +08:00
|
|
|
|
2022-05-11 20:34:13 +08:00
|
|
|
APP_VERSION = 1.0.8
|
2022-01-16 15:08:54 +08:00
|
|
|
|
2021-12-30 09:04:51 +08:00
|
|
|
linux: {
|
2021-12-30 08:59:10 +08:00
|
|
|
|
2022-01-05 08:18:47 +08:00
|
|
|
isEmpty(PREFIX) {
|
|
|
|
PREFIX = /usr/local
|
|
|
|
}
|
|
|
|
|
2022-01-17 08:58:54 +08:00
|
|
|
QMAKE_SUBSTITUTES += linux/redpandaide.desktop.in
|
2022-01-05 09:42:26 +08:00
|
|
|
|
2022-01-05 08:18:47 +08:00
|
|
|
resources.path = $${PREFIX}/share/$${APP_NAME}
|
|
|
|
resources.files += linux/templates
|
2021-12-30 09:04:51 +08:00
|
|
|
INSTALLS += resources
|
2022-01-05 08:18:47 +08:00
|
|
|
|
2022-01-05 09:08:44 +08:00
|
|
|
docs.path = $${PREFIX}/share/doc/$${APP_NAME}
|
2022-01-05 08:18:47 +08:00
|
|
|
docs.files += README.md
|
|
|
|
docs.files += NEWS.md
|
|
|
|
docs.files += LICENSE
|
|
|
|
INSTALLS += docs
|
|
|
|
|
|
|
|
pixmaps.path = $${PREFIX}/share/pixmaps
|
|
|
|
pixmaps.files += linux/redpandaide.png
|
2022-01-05 09:08:44 +08:00
|
|
|
INSTALLS += pixmaps
|
2022-01-05 08:18:47 +08:00
|
|
|
|
2022-01-05 09:42:26 +08:00
|
|
|
desktop.path = $${PREFIX}/share/applications
|
2022-01-17 08:58:54 +08:00
|
|
|
desktop.files += linux/redpandaide.desktop
|
2022-01-05 09:42:26 +08:00
|
|
|
INSTALLS += desktop
|
|
|
|
|
2021-12-30 09:04:51 +08:00
|
|
|
}
|
2022-01-16 15:08:54 +08:00
|
|
|
|
|
|
|
win32: {
|
|
|
|
!isEmpty(PREFIX) {
|
|
|
|
target.path = $${PREFIX}
|
2022-01-16 20:50:26 +08:00
|
|
|
QMAKE_SUBSTITUTES += windows/installer-scripts/config.nsh.in
|
|
|
|
QMAKE_SUBSTITUTES += windows/installer-scripts/config32.nsh.in
|
2022-04-25 22:20:33 +08:00
|
|
|
QMAKE_SUBSTITUTES += windows/installer-scripts/config-clang.nsh.in
|
2022-01-16 15:08:54 +08:00
|
|
|
|
|
|
|
resources.path = $${PREFIX}
|
2022-01-16 19:39:26 +08:00
|
|
|
resources.files += windows/templates
|
|
|
|
resources.files += windows/installer-scripts/config.nsh
|
2022-01-16 20:50:26 +08:00
|
|
|
resources.files += windows/installer-scripts/config32.nsh
|
2022-04-25 22:20:33 +08:00
|
|
|
resources.files += windows/installer-scripts/config-clang.nsh
|
2022-01-16 15:08:54 +08:00
|
|
|
resources.files += README.md
|
|
|
|
resources.files += NEWS.md
|
|
|
|
resources.files += LICENSE
|
|
|
|
resources.files += RedPandaIDE/images/devcpp.ico
|
|
|
|
|
|
|
|
INSTALLS += resources
|
|
|
|
}
|
|
|
|
}
|