2 add_definitions( -DKDE_DEFAULT_DEBUG_AREA=9505 )
4 set(kdevplatformlanguage_LIB_SRCS
5 editor/documentrange.cpp
6 editor/documentrangeobject.cpp
7 editor/documentcursor.cpp
8 editor/documentcursorobject.cpp
9 editor/editorintegrator.cpp
10 editor/editorintegratorstatic.cpp
11 editor/hashedstring.cpp
12 editor/modificationrevision.cpp
13 editor/editorrevisiontracker.cpp
14 backgroundparser/backgroundparser.cpp
15 backgroundparser/parsejob.cpp
16 backgroundparser/parserdependencypolicy.cpp
17 backgroundparser/documentchangetracker.cpp
19 duchain/specializationstore.cpp
22 duchain/duchainpointer.cpp
24 duchain/topducontext.cpp
25 duchain/topducontextdynamicdata.cpp
26 duchain/functiondefinition.cpp
27 duchain/declaration.cpp
28 duchain/classmemberdeclaration.cpp
29 duchain/classfunctiondeclaration.cpp
31 duchain/smartconverter.cpp
32 duchain/forwarddeclaration.cpp
33 duchain/duchainbase.cpp
34 duchain/duchainlock.cpp
35 duchain/identifier.cpp
36 duchain/parsingenvironment.cpp
37 duchain/abstractfunctiondeclaration.cpp
38 duchain/functiondeclaration.cpp
39 duchain/stringhelpers.cpp
40 duchain/namespacealiasdeclaration.cpp
41 duchain/aliasdeclaration.cpp
42 duchain/dumpdotgraph.cpp
43 duchain/duchainobserver.cpp
44 duchain/duchainutils.cpp
45 duchain/declarationid.cpp
46 duchain/definitions.cpp
49 duchain/indexedstring.cpp
50 duchain/duchainregister.cpp
51 duchain/persistentsymboltable.cpp
53 duchain/types/typesystem.cpp
54 duchain/types/typeregister.cpp
55 duchain/types/identifiedtype.cpp
56 duchain/types/abstracttype.cpp
57 duchain/types/integraltype.cpp
58 duchain/types/functiontype.cpp
59 duchain/types/structuretype.cpp
60 duchain/types/pointertype.cpp
61 duchain/types/referencetype.cpp
62 duchain/types/delayedtype.cpp
63 duchain/types/arraytype.cpp
64 duchain/types/indexedtype.cpp
65 duchain/types/enumerationtype.cpp
66 duchain/types/constantintegraltype.cpp
67 duchain/types/enumeratortype.cpp
68 duchain/types/typeutils.cpp
70 duchain/repositories/itemrepository.cpp
71 duchain/repositories/typerepository.cpp
73 duchain/navigation/abstractnavigationwidget.cpp
74 duchain/navigation/abstractnavigationcontext.cpp
75 duchain/navigation/abstractdeclarationnavigationcontext.cpp
76 duchain/navigation/useswidget.cpp
78 interfaces/ilanguagesupport.cpp
79 interfaces/quickopendataprovider.cpp
80 interfaces/iproblem.cpp
81 interfaces/iquickopen.cpp
82 interfaces/codecontext.cpp
84 codecompletion/codecompletion.cpp
85 codecompletion/codecompletionworker.cpp
86 codecompletion/codecompletionmodel.cpp
87 codecompletion/codecompletionitem.cpp
88 codecompletion/codecompletioncontext.cpp
90 codegen/createclass.cpp
91 codegen/codegenerator.cpp
95 set( kdevplatformlanguage_LIB_UI
96 codegen/ui/newclass.ui
97 codegen/ui/overridevirtuals.ui
98 codegen/ui/licensechooser.ui
99 codegen/ui/outputlocation.ui
102 kde4_add_ui_files( kdevplatformlanguage_LIB_SRCS ${kdevplatformlanguage_LIB_UI} )
105 kde4_add_library(kdevplatformlanguage SHARED ${kdevplatformlanguage_LIB_SRCS})
106 target_link_libraries(kdevplatformlanguage ${KDE4_KPARTS_LIBS} ${KDE4_KTEXTEDITOR_LIBS} ${KDE4_THREADWEAVER_LIBRARIES}
107 kdevplatforminterfaces)
108 set_target_properties(kdevplatformlanguage PROPERTIES VERSION ${KDEVPLATFORM_LIB_VERSION} SOVERSION ${KDEVPLATFORM_LIB_SOVERSION})
109 install(TARGETS kdevplatformlanguage ${INSTALL_TARGETS_DEFAULT_ARGS} )
111 ########### install files ###############
115 DESTINATION ${INCLUDE_INSTALL_DIR}/kdevplatform/language
119 interfaces/ilanguagesupport.h
120 interfaces/icodehighlighting.h
121 interfaces/quickopendataprovider.h
122 interfaces/quickopenfilter.h
123 interfaces/iquickopen.h
124 interfaces/iproblem.h
125 interfaces/codecontext.h
126 DESTINATION ${INCLUDE_INSTALL_DIR}/kdevplatform/language/interfaces
130 editor/documentrange.h
131 editor/documentrangeobject.h
132 editor/documentcursor.h
133 editor/documentcursorobject.h
134 editor/editorintegrator.h
135 editor/hashedstring.h
136 editor/simplecursor.h
138 editor/modificationrevision.h
139 editor/editorrevisiontracker.h
140 DESTINATION ${INCLUDE_INSTALL_DIR}/kdevplatform/language/editor
144 backgroundparser/backgroundparser.h
145 backgroundparser/parsejob.h
146 backgroundparser/documentchangetracker.h
147 DESTINATION ${INCLUDE_INSTALL_DIR}/kdevplatform/language/backgroundparser
151 duchain/parsingenvironment.h
155 duchain/ducontextdata.h
156 duchain/arrayhelpers.h
157 duchain/topducontext.h
158 duchain/topducontextdata.h
159 duchain/declaration.h
160 duchain/declarationdata.h
161 duchain/classmemberdeclaration.h
162 duchain/classmemberdeclarationdata.h
163 duchain/classfunctiondeclaration.h
164 duchain/functiondefinition.h
166 duchain/smartconverter.h
167 duchain/forwarddeclaration.h
168 duchain/duchainbase.h
169 duchain/duchainpointer.h
170 duchain/duchainobserver.h
171 duchain/duchainlock.h
173 duchain/abstractfunctiondeclaration.h
174 duchain/functiondeclaration.h
175 duchain/stringhelpers.h
176 duchain/safetycounter.h
177 duchain/namespacealiasdeclaration.h
178 duchain/aliasdeclaration.h
179 duchain/dumpdotgraph.h
180 duchain/duchainutils.h
182 duchain/indexedstring.h
183 duchain/declarationid.h
184 duchain/appendedlist.h
185 duchain/duchainregister.h
186 duchain/persistentsymboltable.h
187 duchain/specializationstore.h
188 DESTINATION ${INCLUDE_INSTALL_DIR}/kdevplatform/language/duchain
192 duchain/types/identifiedtype.h
193 duchain/types/typesystem.h
194 duchain/types/typeregister.h
195 duchain/types/typepointer.h
196 duchain/types/typesystemdata.h
197 duchain/types/abstracttype.h
198 duchain/types/integraltype.h
199 duchain/types/functiontype.h
200 duchain/types/structuretype.h
201 duchain/types/pointertype.h
202 duchain/types/referencetype.h
203 duchain/types/delayedtype.h
204 duchain/types/arraytype.h
205 duchain/types/indexedtype.h
206 duchain/types/enumerationtype.h
207 duchain/types/constantintegraltype.h
208 duchain/types/enumeratortype.h
209 duchain/types/alltypes.h
210 duchain/types/typeutils.h
211 DESTINATION ${INCLUDE_INSTALL_DIR}/kdevplatform/language/duchain/types
215 duchain/builders/abstractcontextbuilder.h
216 duchain/builders/abstractdeclarationbuilder.h
217 duchain/builders/abstracttypebuilder.h
218 duchain/builders/abstractusebuilder.h
219 DESTINATION ${INCLUDE_INSTALL_DIR}/kdevplatform/language/duchain/builders
223 duchain/repositories/itemrepository.h
224 duchain/repositories/typerepository.h
225 DESTINATION ${INCLUDE_INSTALL_DIR}/kdevplatform/language/duchain/repositories
229 codecompletion/codecompletion.h
230 codecompletion/codecompletionworker.h
231 codecompletion/codecompletionmodel.h
232 codecompletion/codecompletionitem.h
233 codecompletion/codecompletioncontext.h
234 DESTINATION ${INCLUDE_INSTALL_DIR}/kdevplatform/language/codecompletion
238 codegen/createclass.h
239 codegen/astchangeset.h
240 codegen/duchainchangeset.h
241 codegen/codegenerator.h
242 DESTINATION ${INCLUDE_INSTALL_DIR}/kdevplatform/language/codegen
246 duchain/navigation/abstractnavigationcontext.h
247 duchain/navigation/abstractdeclarationnavigationcontext.h
248 duchain/navigation/abstractnavigationwidget.h
249 duchain/navigation/navigationaction.h
250 duchain/navigation/useswidget.h
251 DESTINATION ${INCLUDE_INSTALL_DIR}/kdevplatform/language/duchain/navigation