rockbox/utils/themeeditor/themeeditor.pro

61 lines
1.6 KiB
Prolog
Raw Normal View History

# build in a separate folder.
MYBUILDDIR = $$OUT_PWD/build/
OBJECTS_DIR = $$MYBUILDDIR/o
UI_DIR = $$MYBUILDDIR/ui
MOC_DIR = $$MYBUILDDIR/moc
RCC_DIR = $$MYBUILDDIR/rcc
RBBASE_DIR = $$_PRO_FILE_PWD_
RBBASE_DIR = $$replace(RBBASE_DIR,/utils/themeeditor,)
#Include directories
INCLUDEPATH += gui
INCLUDEPATH += models
# Stuff for the parse lib
libskin_parser.commands = @$(MAKE) \
BUILDDIR=$$OBJECTS_DIR -C $$RBBASE_DIR/lib/skin_parser CC=\"$$QMAKE_CC\"
QMAKE_EXTRA_TARGETS += libskin_parser
PRE_TARGETDEPS += libskin_parser
INCLUDEPATH += $$RBBASE_DIR/lib/skin_parser
LIBS += -L$$OBJECTS_DIR -lskin_parser
DEPENDPATH = $$INCLUDEPATH
HEADERS += models/parsetreemodel.h \
models/parsetreenode.h \
gui/editorwindow.h \
gui/skinhighlighter.h \
gui/skindocument.h \
gui/preferencesdialog.h \
gui/codeeditor.h \
models/projectmodel.h \
gui/tabcontent.h \
gui/configdocument.h \
gui/skinviewer.h
SOURCES += main.cpp \
models/parsetreemodel.cpp \
models/parsetreenode.cpp \
gui/editorwindow.cpp \
gui/skinhighlighter.cpp \
gui/skindocument.cpp \
gui/preferencesdialog.cpp \
gui/codeeditor.cpp \
models/projectmodel.cpp \
gui/configdocument.cpp \
gui/skinviewer.cpp
OTHER_FILES += README \
resources/windowicon.png \
resources/appicon.xcf \
resources/COPYING \
resources/document-save.png \
resources/document-open.png \
resources/document-new.png
FORMS += gui/editorwindow.ui \
gui/preferencesdialog.ui \
gui/configdocument.ui \
gui/skinviewer.ui
RESOURCES += resources.qrc