forked from pasnox/qodeedit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
QodeEdit.pro
131 lines (121 loc) · 4.35 KB
/
QodeEdit.pro
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
###########################################################################################
## Created using Monkey Studio IDE v1.9.0.1 (1.9.0.1)
##
## Author : Filipe Azevedo aka Nox P@sNox <[email protected]> and The QodeEdit development team
## Project : QodeEdit
## FileName : QodeEdit.pro
## Date : 2012-05-27T13:18:50
## License : LGPL3
## Comment : A source code component editor based on QPlainTextEdit/QTextDocument/QSyntaxHighlighter and Kate xml language definition files.
## Home Page : https://github.com/pasnox/qodeedit
##
## This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
## WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
##
###########################################################################################
include( config.pri )
initializeProject( lib, $${BUILD_TARGET}, $${BUILD_MODE}, $${BUILD_PATH}/$${TARGET_NAME}, $${BUILD_TARGET_PATH}, $${BUILD_TYPE}, $${BUILD_VERSION} )
autoGenerateFile( "QodeEditConfig.h.in", "src/QodeEditConfig.h" )
QT *= xml
greaterThan( QT_MAJOR_VERSION, 4 ):QT *= widgets
INCLUDEPATH *= src
DEPENDPATH *= $$getFolders( . )
greaterThan( QT_MAJOR_VERSION, 4 ) {
} else:greaterThan( QT_MAJOR_VERSION, 3 ) {
MIMETYPES_QT4_ROOT = ./mimetypes-qt4
exists( $${MIMETYPES_QT4_ROOT} ) {
SOURCES_PATHS = $$getFolders( $${MIMETYPES_QT4_ROOT} )
DEPENDPATH *= $${SOURCES_PATHS}
INCLUDEPATH *= $${SOURCES_PATHS}
include( $${MIMETYPES_QT4_ROOT}/mimetypes/mimetypes.pri )
HEADERS *= $${MIMETYPES_QT4_ROOT}/io/qstandardpaths.h
SOURCES *= $${MIMETYPES_QT4_ROOT}/io/qstandardpaths.cpp
macx {
SOURCES *= $${MIMETYPES_QT4_ROOT}/io/*_mac.c*
LIBS *= "-framework Carbon"
} else:unix {
SOURCES *= $${MIMETYPES_QT4_ROOT}/io/*_unix.c*
} else:win32 {
SOURCES *= $${MIMETYPES_QT4_ROOT}/io/*_win.c*
}
} else {
error( Qt 4 build need dependency project mimetypes-qt4 uncompressed in $${MIMETYPES_QT4_ROOT} folder. You can get it here https://github.com/pasnox/mimetypes-qt4 )
}
}
FORMS *=
HEADERS *= \
src/QodeEdit.h \
src/Tools.h \
src/editor/CodeEditor.h \
src/editor/TextDocument.h \
src/editor/PlainTextDocumentLayout.h \
src/editor/TextBlockUserData.h \
src/margin/MarginStacker.h \
src/margin/AbstractMargin.h \
src/margin/LineBookmarkMargin.h \
src/margin/LineNumberMargin.h \
src/margin/LineRevisionMargin.h \
src/margin/LineSpacingMargin.h \
src/syntax/Helpers.h \
src/syntax/List.h \
src/syntax/Document.h \
src/syntax/ItemData.h \
src/syntax/Rule.h \
src/syntax/Comment.h \
src/syntax/Keywords.h \
src/syntax/Highlighting.h \
src/syntax/Context.h \
src/syntax/General.h \
src/syntax/Folding.h \
src/syntax/EmptyLine.h \
src/syntax/Indentation.h \
src/syntax/SpellChecking.h \
src/syntax/Configuration.h \
src/syntax/Encoding.h \
src/syntax/Parser.h \
src/syntax/DocumentBuilder.h \
src/syntax/Model.h \
src/syntax/Highlighter.h \
src/syntax/ComboBox.h \
src/syntax/ContextStack.h \
src/syntax/ContextSwitcher.h \
src/theme/Theme.h \
src/Threading.h \
src/Manager.h
SOURCES *= \
src/QodeEdit.cpp \
src/Tools.cpp \
src/editor/CodeEditor.cpp \
src/editor/TextDocument.cpp \
src/editor/PlainTextDocumentLayout.cpp \
src/editor/TextBlockUserData.cpp \
src/margin/MarginStacker.cpp \
src/margin/AbstractMargin.cpp \
src/margin/LineBookmarkMargin.cpp \
src/margin/LineNumberMargin.cpp \
src/margin/LineRevisionMargin.cpp \
src/margin/LineSpacingMargin.cpp \
src/syntax/Document.cpp \
src/syntax/ItemData.cpp \
src/syntax/Rule.cpp \
src/syntax/Comment.cpp \
src/syntax/Keywords.cpp \
src/syntax/Highlighting.cpp \
src/syntax/Context.cpp \
src/syntax/General.cpp \
src/syntax/Folding.cpp \
src/syntax/EmptyLine.cpp \
src/syntax/Indentation.cpp \
src/syntax/SpellChecking.cpp \
src/syntax/Configuration.cpp \
src/syntax/Encoding.cpp \
src/syntax/Parser.cpp \
src/syntax/DocumentBuilder.cpp \
src/syntax/Model.cpp \
src/syntax/Highlighter.cpp \
src/syntax/ComboBox.cpp \
src/syntax/ContextStack.cpp \
src/syntax/ContextSwitcher.cpp \
src/theme/Theme.cpp \
src/Threading.cpp \
src/Manager.cpp