blob: 329500e350b4e9d878effbb5311a9b67c1e81904 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
|
# 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
INCLUDEPATH += graphics
INCLUDEPATH += findreplace
# 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 \
graphics/rbscreen.h \
graphics/rbviewport.h \
graphics/rbrenderinfo.h \
graphics/rbimage.h \
graphics/rbfont.h \
gui/devicestate.h \
findreplace/findreplaceform.h \
findreplace/findreplacedialog.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 \
graphics/rbscreen.cpp \
graphics/rbviewport.cpp \
graphics/rbrenderinfo.cpp \
graphics/rbimage.cpp \
graphics/rbfont.cpp \
gui/devicestate.cpp \
findreplace/findreplaceform.cpp \
findreplace/findreplacedialog.cpp
OTHER_FILES += README \
resources/windowicon.png \
resources/appicon.xcf \
resources/COPYING \
resources/document-save.png \
resources/document-open.png \
resources/document-new.png \
resources/deviceoptions
FORMS += gui/editorwindow.ui \
gui/preferencesdialog.ui \
gui/configdocument.ui \
gui/skinviewer.ui \
findreplace/findreplaceform.ui \
findreplace/findreplacedialog.ui
RESOURCES += resources.qrc
|