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 06:52:02 +00:00
|
|
|
RBBASE_DIR = $$_PRO_FILE_PWD_
|
|
|
|
RBBASE_DIR = $$replace(RBBASE_DIR,/utils/themeeditor,)
|
|
|
|
|
2010-06-17 20:44:11 +00:00
|
|
|
# Include directories
|
2010-06-17 05:37:01 +00:00
|
|
|
INCLUDEPATH += gui
|
|
|
|
INCLUDEPATH += models
|
2010-06-17 20:44:11 +00:00
|
|
|
INCLUDEPATH += graphics
|
2010-06-17 06:52:02 +00:00
|
|
|
|
|
|
|
# Stuff for the parse lib
|
|
|
|
libskin_parser.commands = @$(MAKE) \
|
2010-06-17 20:44:11 +00:00
|
|
|
BUILDDIR=$$OBJECTS_DIR \
|
|
|
|
-C \
|
|
|
|
$$RBBASE_DIR/lib/skin_parser \
|
|
|
|
CC=\"$$QMAKE_CC\"
|
2010-06-17 06:52:02 +00:00
|
|
|
QMAKE_EXTRA_TARGETS += libskin_parser
|
|
|
|
PRE_TARGETDEPS += libskin_parser
|
|
|
|
INCLUDEPATH += $$RBBASE_DIR/lib/skin_parser
|
2010-06-17 20:44:11 +00:00
|
|
|
LIBS += -L$$OBJECTS_DIR \
|
|
|
|
-lskin_parser
|
2010-06-17 06:52:02 +00:00
|
|
|
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 \
|
2010-06-17 20:44:11 +00:00
|
|
|
gui/skinviewer.h \
|
2010-06-18 21:10:01 +00:00
|
|
|
graphics/rbscreen.h \
|
|
|
|
graphics/rbviewport.h \
|
2010-06-22 07:55:50 +00:00
|
|
|
graphics/rbrenderinfo.h \
|
2010-06-23 20:18:31 +00:00
|
|
|
graphics/rbimage.h \
|
2010-06-23 20:46:43 +00:00
|
|
|
graphics/rbfont.h \
|
2010-06-26 07:59:23 +00:00
|
|
|
gui/devicestate.h \
|
2010-07-02 00:20:36 +00:00
|
|
|
graphics/rbalbumart.h \
|
2010-07-03 06:08:59 +00:00
|
|
|
graphics/rbprogressbar.h \
|
|
|
|
gui/findreplacedialog.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 \
|
2010-06-17 20:44:11 +00:00
|
|
|
gui/skinviewer.cpp \
|
2010-06-18 21:10:01 +00:00
|
|
|
graphics/rbscreen.cpp \
|
|
|
|
graphics/rbviewport.cpp \
|
2010-06-22 07:55:50 +00:00
|
|
|
graphics/rbrenderinfo.cpp \
|
2010-06-23 20:18:31 +00:00
|
|
|
graphics/rbimage.cpp \
|
2010-06-23 20:46:43 +00:00
|
|
|
graphics/rbfont.cpp \
|
2010-06-26 07:59:23 +00:00
|
|
|
gui/devicestate.cpp \
|
2010-07-02 00:20:36 +00:00
|
|
|
graphics/rbalbumart.cpp \
|
2010-07-03 06:08:59 +00:00
|
|
|
graphics/rbprogressbar.cpp \
|
|
|
|
gui/findreplacedialog.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 \
|
2010-06-24 07:59:41 +00:00
|
|
|
resources/document-new.png \
|
2010-06-30 21:28:11 +00:00
|
|
|
resources/deviceoptions \
|
|
|
|
resources/render/statusbar.png \
|
|
|
|
resources/render/scenebg.png
|
2010-06-17 05:37:01 +00:00
|
|
|
FORMS += gui/editorwindow.ui \
|
|
|
|
gui/preferencesdialog.ui \
|
|
|
|
gui/configdocument.ui \
|
2010-06-26 07:59:23 +00:00
|
|
|
gui/skinviewer.ui \
|
2010-07-03 06:08:59 +00:00
|
|
|
gui/findreplacedialog.ui
|
2010-06-03 20:51:17 +00:00
|
|
|
RESOURCES += resources.qrc
|