2010-06-02 20:36:30 +00:00
|
|
|
# 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
|
2010-06-17 05:37:01 +00:00
|
|
|
|
2010-06-17 06:52:02 +00:00
|
|
|
RBBASE_DIR = $$_PRO_FILE_PWD_
|
|
|
|
RBBASE_DIR = $$replace(RBBASE_DIR,/utils/themeeditor,)
|
|
|
|
|
2010-06-17 05:37:01 +00:00
|
|
|
#Include directories
|
|
|
|
INCLUDEPATH += gui
|
|
|
|
INCLUDEPATH += models
|
|
|
|
|
2010-06-17 06:52:02 +00:00
|
|
|
|
|
|
|
# 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 \
|
2010-06-17 05:37:01 +00:00
|
|
|
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
|
2010-06-17 06:52:02 +00:00
|
|
|
SOURCES += main.cpp \
|
2010-06-17 05:37:01 +00:00
|
|
|
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
|
2010-06-03 20:51:17 +00:00
|
|
|
OTHER_FILES += README \
|
|
|
|
resources/windowicon.png \
|
2010-06-05 19:47:49 +00:00
|
|
|
resources/appicon.xcf \
|
|
|
|
resources/COPYING \
|
|
|
|
resources/document-save.png \
|
|
|
|
resources/document-open.png \
|
|
|
|
resources/document-new.png
|
2010-06-17 05:37:01 +00:00
|
|
|
FORMS += gui/editorwindow.ui \
|
|
|
|
gui/preferencesdialog.ui \
|
|
|
|
gui/configdocument.ui \
|
|
|
|
gui/skinviewer.ui
|
2010-06-03 20:51:17 +00:00
|
|
|
RESOURCES += resources.qrc
|