Code

02e55762ec352c8c225196c767e3c36ee159971d
[inkscape.git] / src / CMakeLists.txt
1 IF(WIN32)
2 SET(ONLY_WIN
3 registrytool.cpp)
4 ELSEIF(WIN32)
5 SET(ONLY_WIN)
6 ENDIF(WIN32)
8 SET(INKSCAPE_SRC
9 arc-context.cpp
10 attributes.cpp
11 axis-manip.cpp
12 box3d-context.cpp
13 box3d.cpp
14 box3d-side.cpp
15 color.cpp
16 color-profile.cpp
17 composite-undo-stack-observer.cpp
18 conditions.cpp
19 conn-avoid-ref.cpp
20 connector-context.cpp
21 console-output-undo-observer.cpp
22 context-fns.cpp
23 deptool.cpp
24 desktop-affine.cpp
25 desktop.cpp
26 desktop-events.cpp
27 desktop-handles.cpp
28 desktop-style.cpp
29 dir-util.cpp
30 document.cpp
31 document-subset.cpp
32 document-undo.cpp
33 doxygen-main.cpp
34 draw-anchor.cpp
35 draw-context.cpp
36 dropper-context.cpp
37 dyna-draw-context.cpp
38 ege-adjustment-action.cpp
39 ege-color-prof-tracker.cpp
40 ege-output-action.cpp
41 ege-select-one-action.cpp
42 event-context.cpp
43 event-log.cpp
44 extract-uri.cpp
45 file.cpp
46 filter-chemistry.cpp
47 filter-enums.cpp
48 fixes.cpp
49 flood-context.cpp
50 fontsize-expansion.cpp
51 gc-anchored.cpp
52 gc.cpp
53 gc-finalized.cpp
54 gradient-chemistry.cpp
55 gradient-context.cpp
56 gradient-drag.cpp
57 guide-snapper.cpp
58 help.cpp
59 ink-action.cpp
60 inkscape.cpp
61 inkscape-stock.cpp
62 inkview.cpp
63 interface.cpp
64 knot.cpp
65 knotholder.cpp
66 layer-fns.cpp
67 layer-manager.cpp
68 line-geometry.cpp
69 line-snapper.cpp
70 main-cmdlineact.cpp
71 main.cpp
72 marker.cpp
73 media.cpp
74 message-context.cpp
75 message-stack.cpp
76 mod360.cpp
77 node-context.cpp
78 nodepath.cpp
79 object-edit.cpp
80 object-hierarchy.cpp
81 object-snapper.cpp
82 path-chemistry.cpp
83 pencil-context.cpp
84 pen-context.cpp
85 persp3d.cpp
86 persp3d-reference.cpp
87 perspective-line.cpp
88 preferences.cpp
89 prefix.cpp
90 prefs-utils.cpp
91 print.cpp
92 profile-manager.cpp
93 proj_pt.cpp
94 rect-context.cpp
95 rubberband.cpp
96 satisfied-guide-cns.cpp
97 selcue.cpp
98 select-context.cpp
99 selection-chemistry.cpp
100 selection.cpp
101 selection-describer.cpp
102 seltrans.cpp
103 seltrans-handles.cpp
104 shape-editor.cpp
105 shortcuts.cpp
106 snap.cpp
107 snapped-line.cpp
108 snapped-point.cpp
109 snapper.cpp
110 sp-anchor.cpp
111 sp-animation.cpp
112 sp-clippath.cpp
113 sp-conn-end.cpp
114 sp-conn-end-pair.cpp
115 sp-cursor.cpp
116 sp-defs.cpp
117 sp-ellipse.cpp
118 sp-feblend.cpp
119 sp-fecolormatrix.cpp
120 sp-fecomponenttransfer.cpp
121 sp-fecomposite.cpp
122 sp-feconvolvematrix.cpp
123 sp-fediffuselighting.cpp
124 sp-fedisplacementmap.cpp
125 sp-fedistantlight.cpp
126 sp-feflood.cpp
127 sp-feimage.cpp
128 sp-femerge.cpp
129 sp-femergenode.cpp
130 sp-femorphology.cpp
131 sp-feoffset.cpp
132 sp-fepointlight.cpp
133 sp-fespecularlighting.cpp
134 sp-fespotlight.cpp
135 sp-fetile.cpp
136 sp-feturbulence.cpp
137 sp-filter.cpp
138 sp-filter-primitive.cpp
139 sp-filter-reference.cpp
140 sp-flowdiv.cpp
141 sp-flowregion.cpp
142 sp-flowtext.cpp
143 sp-gaussian-blur.cpp
144 sp-gradient.cpp
145 sp-gradient-reference.cpp
146 sp-guide.cpp
147 sp-image.cpp
148 spiral-context.cpp
149 sp-item.cpp
150 sp-item-group.cpp
151 sp-item-notify-moveto.cpp
152 sp-item-rm-unsatisfied-cns.cpp
153 sp-item-transform.cpp
154 sp-item-update-cns.cpp
155 sp-line.cpp
156 splivarot.cpp
157 sp-mask.cpp
158 sp-metadata.cpp
159 sp-metrics.cpp
160 sp-namedview.cpp
161 sp-object.cpp
162 sp-object-group.cpp
163 sp-object-repr.cpp
164 sp-offset.cpp
165 sp-paint-server.cpp
166 sp-path.cpp
167 sp-pattern.cpp
168 sp-polygon.cpp
169 sp-polyline.cpp
170 sp-rect.cpp
171 sp-root.cpp
172 sp-shape.cpp
173 sp-skeleton.cpp
174 sp-spiral.cpp
175 sp-star.cpp
176 sp-string.cpp
177 sp-style-elem.cpp
178 sp-switch.cpp
179 sp-symbol.cpp
180 sp-text.cpp
181 sp-tref.cpp
182 sp-tref-reference.cpp
183 sp-tspan.cpp
184 sp-use.cpp
185 sp-use-reference.cpp
186 star-context.cpp
187 streams-gzip.cpp
188 streams-handles.cpp
189 streams-jar.cpp
190 streams-zlib.cpp
191 style.cpp
192 style-test.cpp
193 svg-view.cpp
194 svg-view-widget.cpp
195 text-chemistry.cpp
196 text-context.cpp
197 text-editing.cpp
198 tools-switch.cpp
199 transf_mat_3x4.cpp
200 tweak-context.cpp
201 uri.cpp
202 uri-references.cpp
203 vanishing-point.cpp
204 verbs.cpp
205 version.cpp
206 winmain.cpp
207 zoom-context.cpp
208 ${ONLY_WIN}
209 ${algorithms}
210 ${api}
211 ${application}
212 ${BIND_SRC}
213 ${debug}
214 ${dialogs}
215 ${display}
216 ${dom_SRC}
217 ${extension_SRC}
218 ${graphlayout_SRC}
219 ${extension_SRC}
220 ${helper_SRC}
221 ${inkjar_SRC}
222 ${io_SRC}
223 ${jabber_whiteboard_SRC}
224 ${live_effects_SRC}
225 ${removeoverlap_SRC}
226 ${svg_SRC}
227 ${trace_SRC}
228 ${traits_SRC}
229 ${ui_SRC}
230 #${utest_SRC}
231 #${util_SRC}
232 #${widgets_SRC}
233 #${xml_SRC}
236 # make executable for INKSCAPE
237 ADD_EXECUTABLE(inkscape ${INKSCAPE_SRC})
238 TARGET_LINK_LIBRARIES(inkscape 
239     gtk+-2.0
240     gtkmm-2.4
241     cairo
242     cairomm-1.0
243     sigc++-2.0
244     lcms
245     libgc1c2
246     libpng
247     glib-2.0
248     glibmm-2.4
249     libxml-2.0
250     libxslt
251     ImageMagick++
252     libpopt
253     freetype2)
254 #INSTALL(TARGETS INKSCAPE
255 #  RUNTIME DESTINATION bin
256 #  LIBRARY DESTINATION lib
257 #  ARCHIVE DESTINATION lib
258 #)
260 #FILE(GLOB files "${CMAKE_CURRENT_SOURCE_DIR}/*.h")
261 #INSTALL(FILES ${files} DESTINATION include/INKSCAPE/INKSCAPE)
263 #CONFIGURE_FILE( ${CMAKE_SOURCE_DIR}/INKSCAPE.pc.in
264 #                ${CMAKE_BINARY_DIR}/INKSCAPE.pc @ONLY IMMEDIATE )
265 #INSTALL(FILES "${CMAKE_BINARY_DIR}/INKSCAPE.pc" DESTINATION lib/pkgconfig)
268 # Add New folders in src folder here
269 SET(srcfolders
270 2geom
271 algorithms
272 api
273 application
274 bind
275 debug
276 dialogs
277 display
278 dom
279 extension
280 graphlayout
281 helper
282 inkjar
283 io
284 jabber_whiteboard
285 libavoid
286 libcola
287 libcroco
288 libgdl
289 libnr
290 libnrtype
291 libvpsc
292 livarot
293 live_effects
294 pedro
295 svg
296 pixmaps
297 trace
298 traits
299 ui
300 removeoverlap
301 utest
302 util
303 widgets
304 xml
306 \r
307 FOREACH(dirlist ${srcfolders})
308 ADD_SUBDIRECTORY(${dirlist})
309 ENDFOREACH(dirlist)