mirror of
https://github.com/Snigdha-OS/snigdhaos-falcon.git
synced 2025-09-24 08:54:57 +02:00
🔨 refactor(IDK): no message!
This commit is contained in:
@@ -11,6 +11,31 @@ CONFIG += c++17
|
||||
|
||||
BUILD_PREFIX = $$(CA_BUILD_DIR)
|
||||
|
||||
isEmpty(BUILD_PREFIX) {
|
||||
BUILD_PREFIX = ./build
|
||||
}
|
||||
|
||||
MOC_DIR = $$BUILD_PREFIX/moc-qt6
|
||||
OBJECTS_DIR = $$BUILD_PREFIX/obj-qt6
|
||||
UI_DIR = $$BUILD_PREFIX/uic-qt6
|
||||
|
||||
unix {
|
||||
isEmpty(PREFIX){
|
||||
PREFIX = /usr
|
||||
}
|
||||
BINDIR = $$PREFIX/bin
|
||||
target.path = $$BINDIR
|
||||
desktop.path = $$PREFIX/share/applocations/
|
||||
desktop.files = "snigdhaos-falcon.desktop"
|
||||
icons.path = /usr/share/icons/hicolor/scalable/apps/
|
||||
icons.files = snigdhaos-falcon.svg
|
||||
|
||||
SCRIPTS_PATH = $$PREFIX/share/snigdhaos/
|
||||
scripts.files = scripts
|
||||
scripts.path = $$SCRIPTS_PATH
|
||||
|
||||
INSTALLS += target icons desktop scripts
|
||||
}
|
||||
|
||||
SOURCES += \
|
||||
main.cpp \
|
||||
@@ -24,10 +49,11 @@ FORMS += \
|
||||
|
||||
TRANSLATIONS += \
|
||||
snigdhaos-falcon_en_US.ts
|
||||
CONFIG += lrelease
|
||||
CONFIG += embed_translations
|
||||
|
||||
# Default rules for deployment.
|
||||
qnx: target.path = /tmp/$${TARGET}/bin
|
||||
else: unix:!android: target.path = /opt/$${TARGET}/bin
|
||||
!isEmpty(target.path): INSTALLS += target
|
||||
# CONFIG += lrelease
|
||||
# CONFIG += embed_translations
|
||||
|
||||
# # Default rules for deployment.
|
||||
# qnx: target.path = /tmp/$${TARGET}/bin
|
||||
# else: unix:!android: target.path = /opt/$${TARGET}/bin
|
||||
# !isEmpty(target.path): INSTALLS += target
|
||||
|
Reference in New Issue
Block a user