harbour-sextant/sextant-app.pro
Renaud Casenave-Péré 7b4a258c0b Revamp app build system
Ui will be referred to by the name ‘cockpit’
2025-09-07 16:22:59 +02:00

60 lines
2.1 KiB
INI

# NOTICE:
#
# Application name defined in TARGET has a corresponding QML filename.
# If name defined in TARGET is changed, the following needs to be done
# to match new name:
# - corresponding QML filename must be changed
# - desktop icon filename must be changed
# - desktop filename must be changed
# - icon definition filename in desktop file must be changed
# - translation filenames have to be changed
CONFIG += debug
SEXTANT_FILES = make.lisp \
dependencies.sexp \
lisp/system-index.txt \
lisp/local-projects/sextant/editor/all.lisp \
lisp/local-projects/sextant/editor/gap-buffer.lisp \
lisp/local-projects/sextant/sextant.lisp \
lisp/local-projects/sextant/sextant.asd \
lisp/local-projects/cockpit/cockpit.lisp \
lisp/local-projects/cockpit/cockpit.asd
sextant.output = libsextant.a
sextant.commands = $$PWD/cockpit -platform minimal make
sextant.input = SEXTANT_FILES
sextant.CONFIG = combine target_predeps
QMAKE_EXTRA_COMPILERS += sextant
# The name of your application
TARGET = harbour-sextant
OBJECTS_DIR = $$PWD/tmp/$$QMAKE_HOST.arch/harbour-sextant
QMAKE_CXXFLAGS += -std=c++2a -Wno-parentheses -Wno-unused-local-typedefs -Wno-array-bounds -Wno-maybe-uninitialized -Wno-restrict
CONFIG += sailfishapp
LIBS += -L. -lsextant-parser -lsextant -lecl -leql5
QT += widgets qml multimedia network quick sql
SOURCES += src/harbour-sextant.cc
DISTFILES += qml/harbour-sextant.qml \
qml/cover/CoverPage.qml \
rpm/harbour-sextant.changes.in \
rpm/harbour-sextant.changes.run.in \
rpm/harbour-sextant.spec \
# rpm/harbour-sextant.yaml \
# translations/*.ts \
harbour-sextant.desktop
SAILFISHAPP_ICONS = 86x86 108x108 128x128 172x172
# to disable building translations every time, comment out the
# following CONFIG line
# CONFIG += sailfishapp_i18n
# German translation is enabled as an example. If you aren't
# planning to localize your app, remember to comment out the
# following TRANSLATIONS line. And also do not forget to
# modify the localized app name in the the .desktop file.
# TRANSLATIONS += translations/harbour-sextant-de.ts