diff options
Diffstat (limited to 'utils/themeeditor/themeeditor.pro')
-rw-r--r-- | utils/themeeditor/themeeditor.pro | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/utils/themeeditor/themeeditor.pro b/utils/themeeditor/themeeditor.pro index 213bcd82d3..bf48bda7f2 100644 --- a/utils/themeeditor/themeeditor.pro +++ b/utils/themeeditor/themeeditor.pro | |||
@@ -5,17 +5,26 @@ UI_DIR = $$MYBUILDDIR/ui | |||
5 | MOC_DIR = $$MYBUILDDIR/moc | 5 | MOC_DIR = $$MYBUILDDIR/moc |
6 | RCC_DIR = $$MYBUILDDIR/rcc | 6 | RCC_DIR = $$MYBUILDDIR/rcc |
7 | 7 | ||
8 | RBBASE_DIR = $$_PRO_FILE_PWD_ | ||
9 | RBBASE_DIR = $$replace(RBBASE_DIR,/utils/themeeditor,) | ||
10 | |||
8 | #Include directories | 11 | #Include directories |
9 | INCLUDEPATH += gui | 12 | INCLUDEPATH += gui |
10 | INCLUDEPATH += parser | ||
11 | INCLUDEPATH += models | 13 | INCLUDEPATH += models |
12 | 14 | ||
13 | HEADERS += parser/tag_table.h \ | 15 | |
14 | parser/symbols.h \ | 16 | # Stuff for the parse lib |
15 | parser/skin_parser.h \ | 17 | libskin_parser.commands = @$(MAKE) \ |
16 | parser/skin_scan.h \ | 18 | BUILDDIR=$$OBJECTS_DIR -C $$RBBASE_DIR/lib/skin_parser CC=\"$$QMAKE_CC\" |
17 | parser/skin_debug.h \ | 19 | QMAKE_EXTRA_TARGETS += libskin_parser |
18 | models/parsetreemodel.h \ | 20 | PRE_TARGETDEPS += libskin_parser |
21 | INCLUDEPATH += $$RBBASE_DIR/lib/skin_parser | ||
22 | LIBS += -L$$OBJECTS_DIR -lskin_parser | ||
23 | |||
24 | |||
25 | DEPENDPATH = $$INCLUDEPATH | ||
26 | |||
27 | HEADERS += models/parsetreemodel.h \ | ||
19 | models/parsetreenode.h \ | 28 | models/parsetreenode.h \ |
20 | gui/editorwindow.h \ | 29 | gui/editorwindow.h \ |
21 | gui/skinhighlighter.h \ | 30 | gui/skinhighlighter.h \ |
@@ -26,11 +35,7 @@ HEADERS += parser/tag_table.h \ | |||
26 | gui/tabcontent.h \ | 35 | gui/tabcontent.h \ |
27 | gui/configdocument.h \ | 36 | gui/configdocument.h \ |
28 | gui/skinviewer.h | 37 | gui/skinviewer.h |
29 | SOURCES += parser/tag_table.c \ | 38 | SOURCES += main.cpp \ |
30 | parser/skin_parser.c \ | ||
31 | parser/skin_scan.c \ | ||
32 | parser/skin_debug.c \ | ||
33 | main.cpp \ | ||
34 | models/parsetreemodel.cpp \ | 39 | models/parsetreemodel.cpp \ |
35 | models/parsetreenode.cpp \ | 40 | models/parsetreenode.cpp \ |
36 | gui/editorwindow.cpp \ | 41 | gui/editorwindow.cpp \ |