2010-07-07 09:33:47 +00:00
|
|
|
# Enabling profiling
|
|
|
|
QMAKE_CXXFLAGS_DEBUG += -pg
|
|
|
|
QMAKE_LFLAGS_DEBUG += -pg
|
|
|
|
|
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-07-07 08:41:36 +00:00
|
|
|
TARGET_DIR=$$MYBUILDDIR \
|
|
|
|
CC=\"$$QMAKE_CC\" \
|
2010-06-17 20:44:11 +00:00
|
|
|
BUILDDIR=$$OBJECTS_DIR \
|
2010-07-07 08:41:36 +00:00
|
|
|
-C \
|
|
|
|
$$RBBASE_DIR/lib/skin_parser \
|
2010-07-06 21:08:16 +00:00
|
|
|
libskin_parser.a
|
2010-06-17 06:52:02 +00:00
|
|
|
QMAKE_EXTRA_TARGETS += libskin_parser
|
|
|
|
PRE_TARGETDEPS += libskin_parser
|
|
|
|
INCLUDEPATH += $$RBBASE_DIR/lib/skin_parser
|
2010-07-07 08:41:36 +00:00
|
|
|
LIBS += -L$$MYBUILDDIR \
|
|
|
|
-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 \
|
2010-07-06 19:19:11 +00:00
|
|
|
gui/findreplacedialog.h \
|
2010-07-07 08:41:36 +00:00
|
|
|
graphics/rbtext.h \
|
2010-07-07 09:33:47 +00:00
|
|
|
graphics/rbfontcache.h \
|
2010-07-08 21:53:27 +00:00
|
|
|
graphics/rbtextcache.h \
|
2010-07-10 06:43:50 +00:00
|
|
|
gui/skintimer.h \
|
2010-07-15 21:39:09 +00:00
|
|
|
graphics/rbtoucharea.h \
|
2010-07-16 20:47:23 +00:00
|
|
|
gui/newprojectdialog.h \
|
|
|
|
models/targetdata.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 \
|
2010-07-06 19:19:11 +00:00
|
|
|
gui/findreplacedialog.cpp \
|
2010-07-07 08:41:36 +00:00
|
|
|
graphics/rbtext.cpp \
|
2010-07-07 09:33:47 +00:00
|
|
|
graphics/rbfontcache.cpp \
|
2010-07-08 21:53:27 +00:00
|
|
|
graphics/rbtextcache.cpp \
|
2010-07-10 06:43:50 +00:00
|
|
|
gui/skintimer.cpp \
|
2010-07-15 21:39:09 +00:00
|
|
|
graphics/rbtoucharea.cpp \
|
2010-07-16 20:47:23 +00:00
|
|
|
gui/newprojectdialog.cpp \
|
|
|
|
models/targetdata.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 \
|
2010-07-08 21:53:27 +00:00
|
|
|
resources/render/scenebg.png \
|
|
|
|
resources/play.xcf \
|
|
|
|
resources/play.png \
|
|
|
|
resources/rwnd.png \
|
|
|
|
resources/pause.xcf \
|
|
|
|
resources/pause.png \
|
|
|
|
resources/ffwd.xcf \
|
2010-07-14 07:38:09 +00:00
|
|
|
resources/ffwd.png \
|
|
|
|
resources/lines.xcf \
|
|
|
|
resources/lines.png \
|
|
|
|
resources/cursor.xcf \
|
2010-07-16 20:47:23 +00:00
|
|
|
resources/cursor.png \
|
|
|
|
resources/targetdb
|
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-08 21:53:27 +00:00
|
|
|
gui/findreplacedialog.ui \
|
2010-07-15 21:39:09 +00:00
|
|
|
gui/skintimer.ui \
|
|
|
|
gui/newprojectdialog.ui
|
2010-06-03 20:51:17 +00:00
|
|
|
RESOURCES += resources.qrc
|
2010-07-07 08:41:36 +00:00
|
|
|
win32:RC_FILE = themeeditor.rc
|
|
|
|
macx {
|
|
|
|
QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.4u.sdk
|
|
|
|
QMAKE_LFLAGS_PPC = -mmacosx-version-min=10.4 \
|
|
|
|
-arch \
|
|
|
|
ppc
|
|
|
|
QMAKE_LFLAGS_X86 = -mmacosx-version-min=10.4 \
|
|
|
|
-arch \
|
|
|
|
i386
|
|
|
|
CONFIG += x86 \
|
|
|
|
ppc
|
2010-07-06 21:46:53 +00:00
|
|
|
QMAKE_INFO_PLIST = Info.plist
|
|
|
|
RC_FILE = resources/windowicon.icns
|
2010-07-06 21:08:16 +00:00
|
|
|
}
|