Rev 16021 | Rev 16105 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
10778 | craig | 1 | IF(WIN32) |
2 | ADD_DEFINITIONS(-DQT_DLL) |
||
3 | ENDIF(WIN32) |
||
4 | |||
5142 | cbradney | 5 | ADD_SUBDIRECTORY(dtd) |
6 | ADD_SUBDIRECTORY(manpages) |
||
14491 | jghali | 7 | ADD_SUBDIRECTORY(colormgmt) |
14170 | jghali | 8 | ADD_SUBDIRECTORY(desaxe) |
9 | ADD_SUBDIRECTORY(fonts) |
||
6662 | cbradney | 10 | ADD_SUBDIRECTORY(styles) |
5142 | cbradney | 11 | ADD_SUBDIRECTORY(text) |
6830 | subik | 12 | ADD_SUBDIRECTORY(unicodemap) |
8908 | subik | 13 | IF (WANT_DESIGNER) |
14 | ADD_SUBDIRECTORY(designer) |
||
15 | ENDIF (WANT_DESIGNER) |
||
14930 | fschmid | 16 | ADD_SUBDIRECTORY(third_party) |
5142 | cbradney | 17 | |
13839 | fschmid | 18 | |
19 | IF(HAVE_OSG) |
||
20 | SET(SCRIBUS_OSG_UI_SRC |
||
21 | ui/osgeditor.ui |
||
22 | ) |
||
23 | SET(SCRIBUS_OSG_CLASS |
||
24 | ui/AdapterWidget.h |
||
25 | ui/osgeditor.h |
||
26 | pageitem_osgframe.h |
||
27 | ) |
||
28 | SET(SCRIBUS_OSG_SRC |
||
29 | ui/AdapterWidget.cpp |
||
30 | ui/osgeditor.cpp |
||
31 | pageitem_osgframe.cpp |
||
32 | ) |
||
33 | ENDIF (HAVE_OSG) |
||
13962 | herm | 34 | |
35 | IF (GMAGICK_FOUND) |
||
36 | SET(SCRIBUS_GMAGICK_SRC scimgdataloader_gmagick.cpp) |
||
37 | ELSE(GMAGICK_FOUND) |
||
38 | SET(SCRIBUS_GMAGICK_SRC) |
||
39 | ENDIF(GMAGICK_FOUND) |
||
40 | |||
13808 | pierre | 41 | # We setup something like a group to gather setter related stuff |
42 | # because it could expand into a huge amount of file at some point. |
||
43 | SET(SCRIBUS_ITEMSETTERS_UI_SRC |
||
44 | ui/positionsetter.ui |
||
45 | ui/rotationsetter.ui |
||
46 | ) |
||
47 | SET(SCRIBUS_ITEMSETTERS_CLASS |
||
14509 | cbradney | 48 | openpalettemanager.h |
49 | openpalettemodel.h |
||
50 | pageitemsettersmanager.h |
||
51 | ui/openpalette.h |
||
52 | ui/openpaletteview.h |
||
53 | ui/pageitempositionsetter.h |
||
54 | ui/pageitemrotationsetter.h |
||
13808 | pierre | 55 | ) |
56 | SET(SCRIBUS_ITEMSETTERS_SRC |
||
14509 | cbradney | 57 | openpalettemanager.cpp |
58 | openpalettemodel.cpp |
||
59 | pageitemsettersmanager.cpp |
||
60 | ui/openpalette.cpp |
||
61 | ui/openpaletteview.cpp |
||
62 | ui/pageitemsetterbase.cpp |
||
63 | ui/pageitempositionsetter.cpp |
||
64 | ui/pageitemrotationsetter.cpp |
||
13808 | pierre | 65 | ) |
66 | |||
5142 | cbradney | 67 | SET(SCRIBUS_UI_SRC |
13544 | cbradney | 68 | ui/aboutplugins.ui |
69 | ui/aligndistribute.ui |
||
70 | ui/charselect.ui |
||
71 | ui/charselectenhanced.ui |
||
72 | ui/cmsprefsbase.ui |
||
14126 | fschmid | 73 | ui/colorpalette.ui |
15834 | fschmid | 74 | # ui/docitemattrprefs.ui |
75 | # ui/docsections.ui |
||
14150 | fschmid | 76 | ui/gradientaddedit.ui |
14126 | fschmid | 77 | ui/gradienteditor.ui |
14952 | fschmid | 78 | ui/gradientvectorbase.ui |
13544 | cbradney | 79 | ui/gtfiledialog.ui |
80 | ui/guidemanager.ui |
||
15834 | fschmid | 81 | # ui/hysettingsBase.ui |
13544 | cbradney | 82 | ui/insertaframe.ui |
83 | ui/latexeditor.ui |
||
13761 | cbradney | 84 | ui/newmarginwidgetbase.ui |
13544 | cbradney | 85 | ui/measurementsbase.ui |
86 | ui/multipleduplicate.ui |
||
87 | ui/multiprogressdialog.ui |
||
88 | ui/nftdialog.ui |
||
89 | ui/nftwidget.ui |
||
90 | ui/pageitemattributes.ui |
||
15623 | craig | 91 | ui/paintmanagerbase.ui |
16016 | fschmid | 92 | # ui/patterndialog.ui |
13544 | cbradney | 93 | ui/picsearch.ui |
94 | ui/picsearchoptions.ui |
||
95 | ui/picstatus.ui |
||
96 | ui/pluginmanagerprefsgui.ui |
||
97 | ui/polygonwidgetbase.ui |
||
13761 | cbradney | 98 | ui/preferencesdialogbase.ui |
99 | ui/prefs_colormanagementbase.ui |
||
100 | ui/prefs_displaybase.ui |
||
15015 | cbradney | 101 | ui/prefs_documentinformationbase.ui |
102 | ui/prefs_documentsectionsbase.ui |
||
13761 | cbradney | 103 | ui/prefs_documentsetupbase.ui |
104 | ui/prefs_externaltoolsbase.ui |
||
105 | ui/prefs_fontsbase.ui |
||
106 | ui/prefs_guidesbase.ui |
||
107 | ui/prefs_hyphenatorbase.ui |
||
14539 | jghali | 108 | ui/prefs_imagecachebase.ui |
13761 | cbradney | 109 | ui/prefs_keyboardshortcutsbase.ui |
110 | ui/prefs_miscellaneousbase.ui |
||
111 | ui/prefs_pathsbase.ui |
||
15105 | cbradney | 112 | ui/prefs_pagesizesbase.ui |
13761 | cbradney | 113 | ui/prefs_pluginsbase.ui |
14548 | cbradney | 114 | ui/prefs_preflightverifierbase.ui |
13761 | cbradney | 115 | ui/prefs_printerbase.ui |
116 | ui/prefs_scrapbookbase.ui |
||
117 | ui/prefs_typographybase.ui |
||
118 | ui/prefs_userinterfacebase.ui |
||
119 | ui/prefs_itemtoolsbase.ui |
||
120 | ui/prefs_operatortoolsbase.ui |
||
121 | ui/prefs_pdfexportbase.ui |
||
122 | ui/prefs_tableofcontentsbase.ui |
||
123 | ui/prefs_documentitemattributesbase.ui |
||
13544 | cbradney | 124 | ui/printdialogbase.ui |
125 | ui/replacecolors.ui |
||
126 | ui/replaceonecolor.ui |
||
127 | ui/selectobjects.ui |
||
128 | ui/shortcutwidget.ui |
||
129 | ui/smcstylewidget.ui |
||
130 | ui/smlinestylewidget.ui |
||
131 | ui/smpstylewidget.ui |
||
132 | ui/smreplacedia.ui |
||
133 | ui/smstyleimport.ui |
||
134 | ui/stylemanager.ui |
||
15834 | fschmid | 135 | # ui/tabdisplay.ui |
136 | # ui/tabexternaltoolswidget.ui |
||
137 | # ui/tabgeneral.ui |
||
138 | # ui/tabkeyboardshortcutswidget.ui |
||
139 | # ui/tabmiscellaneous.ui |
||
140 | # ui/tabprinter.ui |
||
141 | # ui/tabscrapbook.ui |
||
142 | # ui/tocindexprefs.ui |
||
15309 | cbradney | 143 | ui/transformdialogbase.ui |
14300 | fschmid | 144 | ui/transparencypalette.ui |
10862 | cbradney | 145 | ui/copypagetomasterpage.ui |
146 | ui/createrange.ui |
||
147 | ui/helpbrowser.ui |
||
13530 | pierre | 148 | ui/helpbrowsernavigation.ui |
13544 | cbradney | 149 | ui/unicodesearch.ui |
150 | ui/useprintermarginsdialog.ui |
||
15839 | fschmid | 151 | # ${SCRIBUS_ITEMSETTERS_UI_SRC} |
13839 | fschmid | 152 | ${SCRIBUS_OSG_UI_SRC} |
5142 | cbradney | 153 | ) |
154 | |||
155 | SET(SCRIBUS_MOC_CLASSES |
||
16021 | jghali | 156 | actionmanager.h |
157 | canvas.h |
||
158 | canvasgesture_rulermove.h |
||
159 | canvasmode.h |
||
160 | canvasmode_edit.h |
||
161 | # canvasmode_legacy.h |
||
162 | canvasmode_measurements.h |
||
163 | canvasmode_normal.h |
||
164 | chartablemodel.h |
||
165 | chartableview.h |
||
166 | collect4output.h |
||
167 | colorblind.h |
||
168 | commonstrings.h |
||
169 | deferredtask.h |
||
170 | docinfo.h |
||
171 | fileloader.h |
||
172 | filesearch.h |
||
173 | filewatcher.h |
||
174 | fontlistmodel.h |
||
175 | guidesdelegate.h |
||
176 | guidesmodel.h |
||
177 | guidesview.h |
||
178 | hyphenator.h |
||
179 | latexhelpers.h |
||
180 | loadsaveplugin.h |
||
181 | menumanager.h |
||
182 | navigator.h |
||
183 | observable.h |
||
184 | pageitem.h |
||
185 | pageitem_imageframe.h |
||
186 | pageitem_latexframe.h |
||
187 | pageitem_line.h |
||
188 | pageitem_pathtext.h |
||
189 | pageitem_polygon.h |
||
190 | pageitem_polyline.h |
||
191 | pageitem_symbol.h |
||
192 | pageitem_textframe.h |
||
193 | pageitempointer.h |
||
194 | pdf_analyzer.h |
||
195 | pdflib.h |
||
196 | pdflib_core.h |
||
197 | pluginmanager.h |
||
198 | prefsmanager.h |
||
199 | pslib.h |
||
200 | sampleitem.h |
||
201 | scgtplugin.h |
||
202 | schelptreemodel.h |
||
203 | scimagecachedir.h |
||
204 | scimagecachefile.h |
||
205 | scimagecachemanager.h |
||
206 | scplugin.h |
||
207 | scprintengine.h |
||
208 | scraction.h |
||
209 | scribus.h |
||
210 | scribusapp.h |
||
211 | scribuscore.h |
||
212 | scribusdoc.h |
||
213 | scribusview.h |
||
214 | scribuswin.h |
||
215 | selection.h |
||
216 | styleitem.h |
||
217 | tocgenerator.h |
||
218 | undogui.h |
||
219 | undomanager.h |
||
220 | upgradechecker.h |
||
221 | urllauncher.h |
||
13552 | cbradney | 222 | ui/about.h |
13544 | cbradney | 223 | ui/aboutplugins.h |
224 | ui/adjustcmsdialog.h |
||
225 | ui/aligndistribute.h |
||
13650 | cbradney | 226 | ui/alignselect.h |
227 | ui/annot.h |
||
228 | ui/annota.h |
||
13552 | cbradney | 229 | ui/applytemplatedialog.h |
13576 | cbradney | 230 | ui/arrowchooser.h |
13650 | cbradney | 231 | ui/autoform.h |
232 | ui/autoformbuttongroup.h |
||
13576 | cbradney | 233 | ui/basepointwidget.h |
13551 | cbradney | 234 | ui/bookmarkpalette.h |
13576 | cbradney | 235 | ui/bookmwin.h |
13650 | cbradney | 236 | ui/buttonicon.h |
13544 | cbradney | 237 | ui/charselect.h |
238 | ui/charselectenhanced.h |
||
13650 | cbradney | 239 | ui/charzoom.h |
240 | ui/checkDocument.h |
||
13544 | cbradney | 241 | ui/cmsprefs.h |
13650 | cbradney | 242 | ui/cmykfw.h |
14798 | cbradney | 243 | ui/collectforoutput_ui.h |
13650 | cbradney | 244 | ui/colorchart.h |
245 | ui/colorcombo.h |
||
246 | ui/colorlistbox.h |
||
13576 | cbradney | 247 | ui/contextmenu.h |
13551 | cbradney | 248 | ui/cpalette.h |
13650 | cbradney | 249 | ui/cupsoptions.h |
13576 | cbradney | 250 | ui/curvewidget.h |
13552 | cbradney | 251 | ui/customfdialog.h |
13650 | cbradney | 252 | ui/dasheditor.h |
253 | ui/dcolor.h |
||
254 | ui/delpages.h |
||
15834 | fschmid | 255 | # ui/docitemattrprefs.h |
256 | # ui/docsections.h |
||
13650 | cbradney | 257 | ui/editor.h |
13552 | cbradney | 258 | ui/effectsdialog.h |
13650 | cbradney | 259 | ui/extimageprops.h |
260 | ui/fontcombo.h |
||
261 | ui/fontlistview.h |
||
15834 | fschmid | 262 | # ui/fontprefs.h |
13552 | cbradney | 263 | ui/fontreplacedialog.h |
14150 | fschmid | 264 | ui/gradientaddedit.h |
13650 | cbradney | 265 | ui/gradienteditor.h |
14300 | fschmid | 266 | ui/gradientvectordialog.h |
14126 | fschmid | 267 | ui/gradientpreview.h |
13552 | cbradney | 268 | ui/gtdialogs.h |
13544 | cbradney | 269 | ui/gtfiledialog.h |
270 | ui/guidemanager.h |
||
13576 | cbradney | 271 | ui/helpbrowser.h |
272 | ui/hruler.h |
||
13650 | cbradney | 273 | ui/hyask.h |
15834 | fschmid | 274 | # ui/hysettings.h |
13552 | cbradney | 275 | ui/imageinfodialog.h |
13650 | cbradney | 276 | ui/insertTable.h |
13544 | cbradney | 277 | ui/insertaframe.h |
13650 | cbradney | 278 | ui/inspage.h |
279 | ui/javadocs.h |
||
13544 | cbradney | 280 | ui/latexeditor.h |
13576 | cbradney | 281 | ui/layers.h |
13650 | cbradney | 282 | ui/loremipsum.h |
14229 | cbradney | 283 | ui/margindialog.h |
14222 | fschmid | 284 | ui/marginpresetlayout.h |
13650 | cbradney | 285 | ui/marginwidget.h |
13761 | cbradney | 286 | ui/newmarginwidget.h |
13551 | cbradney | 287 | ui/masterpagepalette.h |
13544 | cbradney | 288 | ui/measurements.h |
13650 | cbradney | 289 | ui/mergedoc.h |
290 | ui/missing.h |
||
291 | ui/movepage.h |
||
13544 | cbradney | 292 | ui/multipleduplicate.h |
293 | ui/multiprogressdialog.h |
||
13650 | cbradney | 294 | ui/newfile.h |
295 | ui/newtemp.h |
||
13544 | cbradney | 296 | ui/nftdialog.h |
297 | ui/nftwidget.h |
||
13551 | cbradney | 298 | ui/nodeeditpalette.h |
13650 | cbradney | 299 | ui/oneclick.h |
13551 | cbradney | 300 | ui/outlinepalette.h |
13544 | cbradney | 301 | ui/pageitemattributes.h |
13650 | cbradney | 302 | ui/pagelayout.h |
13551 | cbradney | 303 | ui/pagepalette.h |
13576 | cbradney | 304 | ui/pageselector.h |
15599 | fschmid | 305 | ui/paintmanager.h |
16016 | fschmid | 306 | # ui/patterndialog.h |
14308 | fschmid | 307 | ui/patternpropsdialog.h |
13650 | cbradney | 308 | ui/pdfopts.h |
13544 | cbradney | 309 | ui/picsearch.h |
310 | ui/picsearchoptions.h |
||
311 | ui/picstatus.h |
||
312 | ui/pluginmanagerprefsgui.h |
||
313 | ui/polygonwidget.h |
||
13650 | cbradney | 314 | ui/polyprops.h |
15834 | fschmid | 315 | # ui/prefs.h |
316 | # ui/prefsdialogbase.h |
||
13761 | cbradney | 317 | ui/preferencesdialog.h |
318 | ui/prefs_colormanagement.h |
||
319 | ui/prefs_display.h |
||
15015 | cbradney | 320 | ui/prefs_documentinformation.h |
321 | ui/prefs_documentsections.h |
||
13761 | cbradney | 322 | ui/prefs_documentsetup.h |
323 | ui/prefs_externaltools.h |
||
324 | ui/prefs_fonts.h |
||
325 | ui/prefs_guides.h |
||
326 | ui/prefs_hyphenator.h |
||
14539 | jghali | 327 | ui/prefs_imagecache.h |
13761 | cbradney | 328 | ui/prefs_keyboardshortcuts.h |
329 | ui/prefs_miscellaneous.h |
||
15105 | cbradney | 330 | ui/prefs_pagesizes.h |
13761 | cbradney | 331 | ui/prefs_paths.h |
14046 | cbradney | 332 | ui/prefs_pane.h |
13761 | cbradney | 333 | ui/prefs_plugins.h |
14548 | cbradney | 334 | ui/prefs_preflightverifier.h |
13761 | cbradney | 335 | ui/prefs_printer.h |
336 | ui/prefs_scrapbook.h |
||
337 | ui/prefs_typography.h |
||
338 | ui/prefs_userinterface.h |
||
339 | ui/prefs_itemtools.h |
||
340 | ui/prefs_operatortools.h |
||
341 | ui/prefs_pdfexport.h |
||
342 | ui/prefs_tableofcontents.h |
||
343 | ui/prefs_documentitemattributes.h |
||
13650 | cbradney | 344 | ui/prefspanel.h |
345 | ui/preview.h |
||
13544 | cbradney | 346 | ui/printdialog.h |
13551 | cbradney | 347 | ui/propertiespalette.h |
13650 | cbradney | 348 | ui/query.h |
15834 | fschmid | 349 | # ui/reformdoc.h |
13544 | cbradney | 350 | ui/replacecolors.h |
351 | ui/replaceonecolor.h |
||
13650 | cbradney | 352 | ui/rulermover.h |
353 | ui/scfilewidget.h |
||
13552 | cbradney | 354 | ui/scinputdialog.h |
13576 | cbradney | 355 | ui/scmenu.h |
356 | ui/scmessagebox.h |
||
13551 | cbradney | 357 | ui/scrapbookpalette.h |
14509 | cbradney | 358 | ui/scmwmenumanager.h |
13551 | cbradney | 359 | ui/scrpalettebase.h |
13650 | cbradney | 360 | ui/scrspinbox.h |
361 | ui/sctablewidget.h |
||
13576 | cbradney | 362 | ui/sctextbrowser.h |
363 | ui/sctoolbar.h |
||
13650 | cbradney | 364 | ui/sctreewidget.h |
365 | ui/search.h |
||
13544 | cbradney | 366 | ui/selectobjects.h |
13650 | cbradney | 367 | ui/selfield.h |
368 | ui/shadebutton.h |
||
13544 | cbradney | 369 | ui/shortcutwidget.h |
370 | ui/smalignselect.h |
||
371 | ui/smcheckbox.h |
||
372 | ui/smcolorcombo.h |
||
373 | ui/smcstylewidget.h |
||
374 | ui/smfontcomboh.h |
||
375 | ui/smlinestyle.h |
||
376 | ui/smlinestylewidget.h |
||
377 | ui/smpstylewidget.h |
||
378 | ui/smreplacedia.h |
||
379 | ui/smsccombobox.h |
||
380 | ui/smscrspinbox.h |
||
381 | ui/smshadebutton.h |
||
382 | ui/smspinbox.h |
||
383 | ui/smstyleimport.h |
||
384 | ui/smstyleselect.h |
||
385 | ui/smtabruler.h |
||
386 | ui/smtextstyles.h |
||
13551 | cbradney | 387 | ui/spalette.h |
13576 | cbradney | 388 | ui/storyeditor.h |
13544 | cbradney | 389 | ui/stylemanager.h |
13650 | cbradney | 390 | ui/styleselect.h |
391 | ui/styleview.h |
||
15635 | fschmid | 392 | ui/swatchcombo.h |
15060 | fschmid | 393 | ui/symbolpalette.h |
15834 | fschmid | 394 | # ui/tabcheckdoc.h |
395 | # ui/tabdisplay.h |
||
396 | # ui/tabdocument.h |
||
397 | # ui/tabexternaltoolswidget.h |
||
398 | # ui/tabgeneral.h |
||
399 | # ui/tabguides.h |
||
400 | # ui/tabkeyboardshortcutswidget.h |
||
13544 | cbradney | 401 | ui/tabmanager.h |
15834 | fschmid | 402 | # ui/tabmiscellaneous.h |
13544 | cbradney | 403 | ui/tabpdfoptions.h |
15834 | fschmid | 404 | # ui/tabprinter.h |
13544 | cbradney | 405 | ui/tabruler.h |
15834 | fschmid | 406 | # ui/tabscrapbook.h |
407 | # ui/tabtools.h |
||
408 | # ui/tabtypography.h |
||
409 | # ui/tocindexprefs.h |
||
15309 | cbradney | 410 | ui/transformdialog.h |
14300 | fschmid | 411 | ui/transparencypalette.h |
10066 | cbradney | 412 | tt/simpletreemodel/treemodel.h |
10862 | cbradney | 413 | ui/copypagetomasterpagedialog.h |
414 | ui/createrange.h |
||
10976 | cbradney | 415 | ui/edittoolbar.h |
416 | ui/filetoolbar.h |
||
417 | ui/modetoolbar.h |
||
418 | ui/pdftoolbar.h |
||
13544 | cbradney | 419 | ui/unicodesearch.h |
420 | ui/useprintermarginsdialog.h |
||
13576 | cbradney | 421 | ui/vruler.h |
15839 | fschmid | 422 | # ${SCRIBUS_ITEMSETTERS_CLASS} |
13839 | fschmid | 423 | ${SCRIBUS_OSG_CLASS} |
5142 | cbradney | 424 | ) |
425 | |||
426 | SET(SCRIBUS_SOURCES |
||
9681 | cbradney | 427 | actionmanager.cpp |
428 | annotation.cpp |
||
10532 | avox | 429 | canvas.cpp |
11339 | avox | 430 | canvasgesture_linemove.cpp |
13184 | jghali | 431 | canvasgesture_pan.cpp |
10701 | avox | 432 | canvasgesture_rectselect.cpp |
10869 | avox | 433 | canvasgesture_resize.cpp |
434 | canvasgesture_rulermove.cpp |
||
10532 | avox | 435 | canvasmode.cpp |
12844 | jghali | 436 | canvasmode_copyproperties.cpp |
10978 | avox | 437 | canvasmode_create.cpp |
438 | canvasmode_drawbezier.cpp |
||
15847 | fschmid | 439 | canvasmode_drawcalligraphic.cpp |
10978 | avox | 440 | canvasmode_drawfreehand.cpp |
13229 | jghali | 441 | canvasmode_eyedropper.cpp |
12825 | jghali | 442 | canvasmode_framelinks.cpp |
12775 | jghali | 443 | canvasmode_edit.cpp |
12770 | jghali | 444 | canvasmode_editgradient.cpp |
15024 | fschmid | 445 | canvasmode_editmeshgradient.cpp |
15839 | fschmid | 446 | # canvasmode_legacy.cpp |
12825 | jghali | 447 | canvasmode_magnifier.cpp |
11190 | avox | 448 | canvasmode_measurements.cpp |
10532 | avox | 449 | canvasmode_nodeedit.cpp |
12765 | jghali | 450 | canvasmode_normal.cpp |
12971 | jghali | 451 | canvasmode_objimport.cpp |
13184 | jghali | 452 | canvasmode_panning.cpp |
12633 | jghali | 453 | canvasmode_rotate.cpp |
10113 | subik | 454 | chartablemodel.cpp |
455 | chartableview.cpp |
||
9681 | cbradney | 456 | cmserrorhandling.cpp |
10862 | cbradney | 457 | cmsettings.cpp |
9681 | cbradney | 458 | collect4output.cpp |
459 | colorblind.cpp |
||
460 | colorsetmanager.cpp |
||
461 | commonstrings.cpp |
||
462 | deferredtask.cpp |
||
463 | docinfo.cpp |
||
464 | documentchecker.cpp |
||
465 | documentinformation.cpp |
||
466 | exif.cpp |
||
467 | fileloader.cpp |
||
468 | filesearch.cpp |
||
469 | fileunzip.cpp |
||
470 | filewatcher.cpp |
||
13650 | cbradney | 471 | ui/fontcombo.cpp |
11234 | subik | 472 | fontlistmodel.cpp |
9681 | cbradney | 473 | fparser.cpp |
10862 | cbradney | 474 | fpoint.cpp |
9681 | cbradney | 475 | fpointarray.cpp |
476 | fpoptimizer.cpp |
||
477 | gtaction.cpp |
||
478 | gtfont.cpp |
||
479 | gtframestyle.cpp |
||
480 | gtgettext.cpp |
||
481 | gtmeasure.cpp |
||
482 | gtparagraphstyle.cpp |
||
483 | gtstyle.cpp |
||
484 | gtwriter.cpp |
||
10862 | cbradney | 485 | guidemanagercore.cpp |
10205 | subik | 486 | guidesdelegate.cpp |
487 | guidesmodel.cpp |
||
13583 | subik | 488 | guidesview.cpp |
9681 | cbradney | 489 | hnjalloc.c |
490 | hyphen.c |
||
491 | hyphenator.cpp |
||
492 | ioapi.c |
||
11041 | fschmid | 493 | KarbonCurveFit.cpp |
9681 | cbradney | 494 | langmgr.cpp |
11504 | mrdocs | 495 | latexhelpers.cpp |
9681 | cbradney | 496 | loadsaveplugin.cpp |
497 | menumanager.cpp |
||
15024 | fschmid | 498 | mesh.cpp |
9681 | cbradney | 499 | navigator.cpp |
16021 | jghali | 500 | observable.cpp |
13192 | fschmid | 501 | nftrcreader.cpp |
502 | nftsettings.cpp |
||
503 | nfttemplate.cpp |
||
9681 | cbradney | 504 | page.cpp |
505 | pageitem.cpp |
||
506 | pageitem_desaxe.cpp |
||
507 | pageitem_imageframe.cpp |
||
10862 | cbradney | 508 | pageitem_latexframe.cpp |
9681 | cbradney | 509 | pageitem_line.cpp |
510 | pageitem_pathtext.cpp |
||
511 | pageitem_polygon.cpp |
||
512 | pageitem_polyline.cpp |
||
15060 | fschmid | 513 | pageitem_symbol.cpp |
9681 | cbradney | 514 | pageitem_textframe.cpp |
12850 | pierre | 515 | pageitempointer.cpp |
9681 | cbradney | 516 | pagesize.cpp |
14043 | jghali | 517 | pdf_analyzer.cpp |
9681 | cbradney | 518 | pdflib.cpp |
10054 | craig | 519 | pdflib_core.cpp |
9681 | cbradney | 520 | pdfoptions.cpp |
521 | pdfoptionsio.cpp |
||
522 | pluginmanager.cpp |
||
523 | prefscontext.cpp |
||
524 | prefsfile.cpp |
||
10862 | cbradney | 525 | prefsmanager.cpp |
9681 | cbradney | 526 | prefsreader.cpp |
527 | prefstable.cpp |
||
528 | pslib.cpp |
||
529 | rawimage.cpp |
||
530 | rc4.c |
||
531 | sampleitem.cpp |
||
13453 | pierre | 532 | scclocale.cpp |
9681 | cbradney | 533 | sccolor.cpp |
534 | sccolorengine.cpp |
||
535 | sccolorshade.cpp |
||
10086 | craig | 536 | scdocoutput.cpp |
537 | scdocoutput_ps2.cpp |
||
9681 | cbradney | 538 | scfonts.cpp |
539 | scgtplugin.cpp |
||
540 | scgzfile.cpp |
||
10862 | cbradney | 541 | schelptreemodel.cpp |
9681 | cbradney | 542 | scimage.cpp |
14539 | jghali | 543 | scimagecacheproxy.cpp |
544 | scimagecachedir.cpp |
||
545 | scimagecachefile.cpp |
||
546 | scimagecachemanager.cpp |
||
547 | scimagecachewriteaction.cpp |
||
9681 | cbradney | 548 | scimagestructs.cpp |
549 | scimgdataloader.cpp |
||
550 | scimgdataloader_gimp.cpp |
||
551 | scimgdataloader_jpeg.cpp |
||
552 | scimgdataloader_pdf.cpp |
||
15796 | fschmid | 553 | scimgdataloader_pgf.cpp |
14036 | fschmid | 554 | scimgdataloader_pict.cpp |
9681 | cbradney | 555 | scimgdataloader_ps.cpp |
556 | scimgdataloader_psd.cpp |
||
557 | scimgdataloader_qt.cpp |
||
558 | scimgdataloader_tiff.cpp |
||
14087 | fschmid | 559 | scimgdataloader_wpg.cpp |
10140 | jghali | 560 | sclayer.cpp |
14539 | jghali | 561 | sclockedfile.cpp |
12841 | jghali | 562 | scmimedata.cpp |
10086 | craig | 563 | scpageoutput.cpp |
564 | scpageoutput_ps2.cpp |
||
9681 | cbradney | 565 | scpainter.cpp |
10862 | cbradney | 566 | scpainterex_ps2.cpp |
10086 | craig | 567 | scpainterexbase.cpp |
9681 | cbradney | 568 | scpaths.cpp |
569 | scpattern.cpp |
||
570 | scplugin.cpp |
||
571 | scpreview.cpp |
||
10967 | jghali | 572 | scprintengine_ps.cpp |
9681 | cbradney | 573 | scraction.cpp |
574 | scribus.cpp |
||
10862 | cbradney | 575 | scribusXml.cpp |
9681 | cbradney | 576 | scribusapp.cpp |
577 | scribuscore.cpp |
||
578 | scribusdoc.cpp |
||
579 | scribusview.cpp |
||
580 | scribuswin.cpp |
||
11731 | jghali | 581 | scslainforeader.cpp |
11551 | jghali | 582 | scstreamfilter.cpp |
583 | scstreamfilter_ascii85.cpp |
||
584 | scstreamfilter_flate.cpp |
||
15165 | jghali | 585 | scstreamfilter_jpeg.cpp |
11591 | jghali | 586 | scstreamfilter_rc4.cpp |
16021 | jghali | 587 | sctextstream.cpp |
588 | sctextstruct.cpp |
||
589 | scxmlstreamreader.cpp |
||
590 | selection.cpp |
||
591 | serializer.cpp |
||
592 | stencilreader.cpp |
||
593 | styleitem.cpp |
||
594 | textwriter.cpp |
||
595 | tocgenerator.cpp |
||
596 | transaction.cpp |
||
597 | undogui.cpp |
||
598 | undomanager.cpp |
||
599 | undoobject.cpp |
||
600 | undostack.cpp |
||
601 | undostate.cpp |
||
602 | units.cpp |
||
603 | unzip.c |
||
604 | updatemanager.cpp |
||
605 | upgradechecker.cpp |
||
606 | urllauncher.cpp |
||
607 | util.cpp |
||
608 | util_color.cpp |
||
609 | util_file.cpp |
||
610 | util_formats.cpp |
||
611 | util_ghostscript.cpp |
||
612 | util_icon.cpp |
||
613 | util_layer.cpp |
||
614 | util_math.cpp |
||
615 | util_printer.cpp |
||
616 | util_text.cpp |
||
617 | vgradient.cpp |
||
618 | vgradientex.cpp |
||
619 | ui/about.cpp |
||
620 | ui/aboutplugins.cpp |
||
621 | ui/adjustcmsdialog.cpp |
||
622 | ui/aligndistribute.cpp |
||
623 | ui/alignselect.cpp |
||
624 | ui/annot.cpp |
||
625 | ui/annota.cpp |
||
626 | ui/applytemplatedialog.cpp |
||
627 | ui/arrowchooser.cpp |
||
628 | ui/autoform.cpp |
||
629 | ui/autoformbuttongroup.cpp |
||
630 | ui/basepointwidget.cpp |
||
631 | ui/bookmarkpalette.cpp |
||
632 | ui/bookmwin.cpp |
||
633 | ui/buttonicon.cpp |
||
634 | ui/charselect.cpp |
||
635 | ui/charselectenhanced.cpp |
||
636 | ui/charzoom.cpp |
||
637 | ui/checkDocument.cpp |
||
638 | ui/cmsprefs.cpp |
||
639 | ui/cmykfw.cpp |
||
640 | ui/collectforoutput_ui.cpp |
||
641 | ui/colorchart.cpp |
||
642 | ui/colorcombo.cpp |
||
643 | ui/colorlistbox.cpp |
||
644 | ui/contextmenu.cpp |
||
645 | ui/cpalette.cpp |
||
646 | ui/cupsoptions.cpp |
||
647 | ui/curvewidget.cpp |
||
648 | ui/customfdialog.cpp |
||
649 | ui/dasheditor.cpp |
||
650 | ui/dcolor.cpp |
||
651 | ui/delpages.cpp |
||
652 | # ui/docitemattrprefs.cpp |
||
653 | # ui/docsections.cpp |
||
654 | ui/editor.cpp |
||
655 | ui/effectsdialog.cpp |
||
656 | ui/extimageprops.cpp |
||
657 | ui/fontlistview.cpp |
||
658 | # ui/fontprefs.cpp |
||
659 | ui/fontreplacedialog.cpp |
||
660 | ui/gradientaddedit.cpp |
||
661 | ui/gradienteditor.cpp |
||
662 | ui/gradientvectordialog.cpp |
||
663 | ui/gradientpreview.cpp |
||
664 | ui/gtdialogs.cpp |
||
665 | ui/gtfiledialog.cpp |
||
666 | ui/guidemanager.cpp |
||
667 | ui/helpbrowser.cpp |
||
668 | ui/hruler.cpp |
||
669 | ui/hyask.cpp |
||
670 | # ui/hysettings.cpp |
||
671 | ui/imageinfodialog.cpp |
||
672 | ui/insertTable.cpp |
||
673 | ui/insertaframe.cpp |
||
674 | ui/inspage.cpp |
||
675 | ui/javadocs.cpp |
||
676 | ui/latexeditor.cpp |
||
677 | ui/layers.cpp |
||
678 | ui/linecombo.cpp |
||
679 | ui/linkbutton.cpp |
||
680 | ui/loremipsum.cpp |
||
681 | ui/margindialog.cpp |
||
682 | ui/marginpresetlayout.cpp |
||
683 | ui/marginwidget.cpp |
||
684 | ui/newmarginwidget.cpp |
||
685 | ui/masterpagepalette.cpp |
||
686 | ui/mergedoc.cpp |
||
687 | ui/missing.cpp |
||
688 | ui/movepage.cpp |
||
689 | ui/multipleduplicate.cpp |
||
690 | ui/multiprogressdialog.cpp |
||
691 | ui/measurements.cpp |
||
692 | ui/newfile.cpp |
||
693 | ui/newtemp.cpp |
||
694 | ui/nftdialog.cpp |
||
695 | ui/nftwidget.cpp |
||
696 | ui/nodeeditpalette.cpp |
||
697 | ui/oneclick.cpp |
||
698 | ui/outlinepalette.cpp |
||
699 | ui/pageitemattributes.cpp |
||
700 | ui/pagelayout.cpp |
||
701 | ui/pagepalette.cpp |
||
702 | ui/pageselector.cpp |
||
703 | ui/paintmanager.cpp |
||
704 | # ui/patterndialog.cpp |
||
705 | ui/patternpropsdialog.cpp |
||
706 | ui/pdfopts.cpp |
||
707 | ui/picsearch.cpp |
||
708 | ui/picsearchoptions.cpp |
||
709 | ui/picstatus.cpp |
||
710 | ui/pluginmanagerprefsgui.cpp |
||
711 | ui/polygonwidget.cpp |
||
712 | ui/polyprops.cpp |
||
713 | # ui/prefs.cpp |
||
714 | ui/preferencesdialog.cpp |
||
715 | ui/prefs_colormanagement.cpp |
||
716 | ui/prefs_display.cpp |
||
717 | ui/prefs_documentinformation.cpp |
||
718 | ui/prefs_documentsections.cpp |
||
719 | ui/prefs_documentsetup.cpp |
||
720 | ui/prefs_externaltools.cpp |
||
721 | ui/prefs_fonts.cpp |
||
722 | ui/prefs_guides.cpp |
||
723 | ui/prefs_hyphenator.cpp |
||
724 | ui/prefs_imagecache.cpp |
||
725 | ui/prefs_keyboardshortcuts.cpp |
||
726 | ui/prefs_miscellaneous.cpp |
||
727 | ui/prefs_pagesizes.cpp |
||
728 | ui/prefs_paths.cpp |
||
729 | ui/prefs_plugins.cpp |
||
730 | ui/prefs_preflightverifier.cpp |
||
731 | ui/prefs_printer.cpp |
||
732 | ui/prefs_scrapbook.cpp |
||
733 | ui/prefs_typography.cpp |
||
734 | ui/prefs_userinterface.cpp |
||
735 | ui/prefs_itemtools.cpp |
||
736 | ui/prefs_operatortools.cpp |
||
737 | ui/prefs_pdfexport.cpp |
||
738 | ui/prefs_tableofcontents.cpp |
||
739 | ui/prefs_documentitemattributes.cpp |
||
740 | # ui/prefsdialogbase.cpp |
||
741 | ui/prefspanel.cpp |
||
742 | ui/preview.cpp |
||
743 | ui/printdialog.cpp |
||
744 | ui/propertiespalette.cpp |
||
745 | ui/query.cpp |
||
746 | # ui/reformdoc.cpp |
||
747 | ui/replacecolors.cpp |
||
748 | ui/replaceonecolor.cpp |
||
749 | ui/rulermover.cpp |
||
750 | ui/sccombobox.cpp |
||
751 | ui/scfilewidget.cpp |
||
752 | ui/scinputdialog.cpp |
||
753 | ui/scmenu.cpp |
||
754 | ui/scmessagebox.cpp |
||
755 | ui/scrapbookpalette.cpp |
||
756 | ui/scresizecursor.cpp |
||
757 | ui/scmwmenumanager.cpp |
||
758 | ui/scrpalettebase.cpp |
||
759 | ui/scrspinbox.cpp |
||
13650 | cbradney | 760 | ui/sctablewidget.cpp |
13576 | cbradney | 761 | ui/sctextbrowser.cpp |
762 | ui/sctoolbar.cpp |
||
13650 | cbradney | 763 | ui/sctreewidget.cpp |
764 | ui/search.cpp |
||
13544 | cbradney | 765 | ui/selectobjects.cpp |
13650 | cbradney | 766 | ui/selfield.cpp |
767 | ui/shadebutton.cpp |
||
13544 | cbradney | 768 | ui/shortcutwidget.cpp |
769 | ui/smalignselect.cpp |
||
770 | ui/smcheckbox.cpp |
||
771 | ui/smcolorcombo.cpp |
||
772 | ui/smcstylewidget.cpp |
||
773 | ui/smfontcomboh.cpp |
||
774 | ui/smlinestyle.cpp |
||
775 | ui/smlinestylewidget.cpp |
||
776 | ui/smpstylewidget.cpp |
||
777 | ui/smradiobutton.cpp |
||
778 | ui/smreplacedia.cpp |
||
779 | ui/smsccombobox.cpp |
||
780 | ui/smscrspinbox.cpp |
||
781 | ui/smshadebutton.cpp |
||
782 | ui/smspinbox.cpp |
||
783 | ui/smstyleimport.cpp |
||
784 | ui/smstyleselect.cpp |
||
785 | ui/smtabruler.cpp |
||
786 | ui/smtextstyles.cpp |
||
13551 | cbradney | 787 | ui/spalette.cpp |
788 | ui/splash.cpp |
||
13576 | cbradney | 789 | ui/storyeditor.cpp |
13544 | cbradney | 790 | ui/stylemanager.cpp |
13650 | cbradney | 791 | ui/styleselect.cpp |
792 | ui/styleview.cpp |
||
15635 | fschmid | 793 | ui/swatchcombo.cpp |
15060 | fschmid | 794 | ui/symbolpalette.cpp |
15834 | fschmid | 795 | # ui/tabcheckdoc.cpp |
796 | # ui/tabdisplay.cpp |
||
797 | # ui/tabdocument.cpp |
||
798 | # ui/tabexternaltoolswidget.cpp |
||
799 | # ui/tabgeneral.cpp |
||
800 | # ui/tabguides.cpp |
||
801 | # ui/tabkeyboardshortcutswidget.cpp |
||
13544 | cbradney | 802 | ui/tabmanager.cpp |
15834 | fschmid | 803 | # ui/tabmiscellaneous.cpp |
13544 | cbradney | 804 | ui/tabpdfoptions.cpp |
15834 | fschmid | 805 | # ui/tabprinter.cpp |
13544 | cbradney | 806 | ui/tabruler.cpp |
15834 | fschmid | 807 | # ui/tabscrapbook.cpp |
808 | # ui/tabtools.cpp |
||
809 | # ui/tabtypography.cpp |
||
810 | # ui/tocindexprefs.cpp |
||
15309 | cbradney | 811 | ui/transformdialog.cpp |
14300 | fschmid | 812 | ui/transparencypalette.cpp |
10066 | cbradney | 813 | tt/simpletreemodel/treeitem.cpp |
814 | tt/simpletreemodel/treemodel.cpp |
||
10862 | cbradney | 815 | ui/copypagetomasterpagedialog.cpp |
816 | ui/createrange.cpp |
||
10976 | cbradney | 817 | ui/edittoolbar.cpp |
818 | ui/filetoolbar.cpp |
||
13530 | pierre | 819 | ui/helpnavigation.cpp |
10976 | cbradney | 820 | ui/modetoolbar.cpp |
821 | ui/pdftoolbar.cpp |
||
13544 | cbradney | 822 | ui/unicodesearch.cpp |
16021 | jghali | 823 | ui/vruler.cpp |
13544 | cbradney | 824 | ui/useprintermarginsdialog.cpp |
15839 | fschmid | 825 | # ${SCRIBUS_ITEMSETTERS_SRC} |
13839 | fschmid | 826 | ${SCRIBUS_OSG_SRC} |
13962 | herm | 827 | ${SCRIBUS_GMAGICK_SRC} |
5142 | cbradney | 828 | ) |
829 | |||
10778 | craig | 830 | IF(WIN32) |
10967 | jghali | 831 | SET(SCRIBUS_MOC_WIN32_ONLY_CLASSES scprintengine_gdi.h) |
10778 | craig | 832 | SET(SCRIBUS_WIN32_ONLY_SOURCES |
11882 | jghali | 833 | scpainterex_cairo.cpp |
10967 | jghali | 834 | scprintengine_gdi.cpp |
10778 | craig | 835 | ) |
836 | SET(SCRIBUS_MAIN_CPP main_win32.cpp) |
||
837 | ELSE(WIN32) |
||
838 | SET(SCRIBUS_MOC_WIN32_ONLY_CLASSES) |
||
839 | SET(SCRIBUS_WIN32_ONLY_SOURCES) |
||
840 | SET(SCRIBUS_MAIN_CPP main.cpp) |
||
841 | ENDIF(WIN32) |
||
842 | |||
9681 | cbradney | 843 | QT4_WRAP_UI(SCRIBUS_UI_SOURCES ${SCRIBUS_UI_SRC} ) |
5142 | cbradney | 844 | |
10778 | craig | 845 | QT4_WRAP_CPP(SCRIBUS_MOC_SOURCES |
846 | ${SCRIBUS_MOC_CLASSES} |
||
847 | ${SCRIBUS_MOC_WIN32_ONLY_CLASSES} |
||
848 | ) |
||
849 | |||
5142 | cbradney | 850 | LINK_DIRECTORIES( |
14491 | jghali | 851 | ${CMAKE_CURRENT_BINARY_DIR}/colormgmt |
10783 | craig | 852 | ${CMAKE_CURRENT_BINARY_DIR}/desaxe |
14170 | jghali | 853 | ${CMAKE_CURRENT_BINARY_DIR}/fonts |
854 | ${CMAKE_CURRENT_BINARY_DIR}/styles |
||
10783 | craig | 855 | ${CMAKE_CURRENT_BINARY_DIR}/text |
14935 | fschmid | 856 | ${CMAKE_CURRENT_BINARY_DIR}/third_party/wpg |
15796 | fschmid | 857 | ${CMAKE_CURRENT_BINARY_DIR}/third_party/pgf |
5142 | cbradney | 858 | ) |
859 | |||
13839 | fschmid | 860 | IF(HAVE_OSG) |
14930 | fschmid | 861 | LINK_DIRECTORIES( ${CMAKE_CURRENT_BINARY_DIR}/third_party/prc ) |
13839 | fschmid | 862 | ENDIF (HAVE_OSG) |
863 | |||
14937 | fschmid | 864 | IF(HAVE_BOOST) |
865 | LINK_DIRECTORIES( ${CMAKE_CURRENT_BINARY_DIR}/third_party/lib2geom ) |
||
866 | ENDIF (HAVE_BOOST) |
||
867 | |||
14491 | jghali | 868 | SET(SCRIBUS_COLORMGMT_LIB "scribus_colormgmt_lib") |
5142 | cbradney | 869 | SET(SCRIBUS_TEXT_LIB "scribus_text_lib") |
6733 | avox | 870 | SET(SCRIBUS_STYLES_LIB "scribus_styles_lib") |
5980 | avox | 871 | SET(SCRIBUS_FONTS_LIB "scribus_fonts_lib") |
5691 | avox | 872 | SET(SCRIBUS_DESAXE_LIB "scribus_desaxe_lib") |
13839 | fschmid | 873 | IF(HAVE_OSG) |
874 | SET(SCRIBUS_PRC_LIB "scribus_prc_lib") |
||
875 | ENDIF (HAVE_OSG) |
||
14937 | fschmid | 876 | IF(HAVE_BOOST) |
877 | SET(SCRIBUS_2GEOM_LIB "scribus_2geom_lib") |
||
878 | ENDIF (HAVE_BOOST) |
||
14935 | fschmid | 879 | SET(SCRIBUS_WPG_LIB "scribus_wpg_lib") |
5142 | cbradney | 880 | |
15796 | fschmid | 881 | SET(SCRIBUS_PGF_LIB "scribus_pgf_lib") |
882 | |||
5142 | cbradney | 883 | INCLUDE_DIRECTORIES( |
9681 | cbradney | 884 | ${CMAKE_SOURCE_DIR} |
885 | ${CMAKE_CURRENT_SOURCE_DIR} |
||
12233 | cbradney | 886 | ${FREETYPE_INCLUDE_DIRS} |
5142 | cbradney | 887 | ) |
888 | |||
13962 | herm | 889 | IF (GMAGICK_FOUND) |
890 | MESSAGE(STATUS "GMAGICK: Libs: ${GMAGICK_LIBRARIES}, Inc: ${GMAGICK_INCLUDES}, Ldflags: ${GMAGICK_LDFLAGS}") |
||
891 | INCLUDE_DIRECTORIES( |
||
892 | BEFORE ${GMAGICK_INCLUDES} |
||
893 | ) |
||
894 | LINK_DIRECTORIES( |
||
895 | ${GMAGICK_LDFLAGS} #TODO |
||
896 | ) |
||
897 | ENDIF(GMAGICK_FOUND) |
||
898 | |||
11956 | avox | 899 | IF(HAVE_PODOFO) |
900 | INCLUDE_DIRECTORIES( |
||
901 | ${LIBPODOFO_INCLUDE_DIR} |
||
902 | ) |
||
903 | ENDIF(HAVE_PODOFO) |
||
904 | |||
13034 | pierre | 905 | IF(GESTURE_FRAME_PREVIEW) |
906 | MESSAGE(STATUS "Enable gesture frame preview [experimental]") |
||
907 | SET(GESTURE_FRAME_PREVIEW_SOURCES pageitempreview.cpp) |
||
908 | ADD_DEFINITIONS(-DGESTURE_FRAME_PREVIEW) |
||
909 | ENDIF(GESTURE_FRAME_PREVIEW) |
||
11956 | avox | 910 | |
9681 | cbradney | 911 | IF(APPLEBUNDLE) |
9487 | cbradney | 912 | SET(EXE_NAME "Scribus${TAG_VERSION}" CACHE TYPE STRING) |
9681 | cbradney | 913 | ELSE(APPLEBUNDLE) |
9487 | cbradney | 914 | SET(EXE_NAME "scribus${TAG_VERSION}" CACHE TYPE STRING) |
9681 | cbradney | 915 | ENDIF(APPLEBUNDLE) |
5142 | cbradney | 916 | |
12373 | malex | 917 | IF(COMMAND cmake_policy) |
918 | cmake_policy(SET CMP0003 OLD) |
||
919 | ENDIF(COMMAND cmake_policy) |
||
920 | |||
13839 | fschmid | 921 | IF(HAVE_OSG) |
5379 | cbradney | 922 | ADD_EXECUTABLE(${EXE_NAME} |
5157 | cbradney | 923 | ${SCRIBUS_MOC_SOURCES} |
924 | ${SCRIBUS_SOURCES} |
||
10778 | craig | 925 | ${SCRIBUS_MAIN_CPP} |
8499 | cbradney | 926 | ${SCRIBUS_UI_SOURCES} |
5157 | cbradney | 927 | ${SCRIBUS_TEXT_SOURCES} |
6733 | avox | 928 | ${SCRIBUS_STYLES_SOURCES} |
14491 | jghali | 929 | ${SCRIBUS_COLORMGMT_SOURCES} |
5980 | avox | 930 | ${SCRIBUS_FONTS_SOURCES} |
5691 | avox | 931 | ${SCRIBUS_DESAXE_SOURCES} |
10778 | craig | 932 | ${SCRIBUS_WIN32_ONLY_SOURCES} |
13034 | pierre | 933 | ${GESTURE_FRAME_PREVIEW_SOURCES} |
13839 | fschmid | 934 | ${SCRIBUS_PRC_SOURCES} |
5142 | cbradney | 935 | ) |
13839 | fschmid | 936 | ELSE(HAVE_OSG) |
937 | ADD_EXECUTABLE(${EXE_NAME} |
||
938 | ${SCRIBUS_MOC_SOURCES} |
||
939 | ${SCRIBUS_SOURCES} |
||
940 | ${SCRIBUS_MAIN_CPP} |
||
941 | ${SCRIBUS_UI_SOURCES} |
||
942 | ${SCRIBUS_TEXT_SOURCES} |
||
943 | ${SCRIBUS_STYLES_SOURCES} |
||
14491 | jghali | 944 | ${SCRIBUS_COLORMGMT_SOURCES} |
13839 | fschmid | 945 | ${SCRIBUS_FONTS_SOURCES} |
946 | ${SCRIBUS_DESAXE_SOURCES} |
||
947 | ${SCRIBUS_WIN32_ONLY_SOURCES} |
||
948 | ${GESTURE_FRAME_PREVIEW_SOURCES} |
||
949 | ) |
||
950 | ENDIF (HAVE_OSG) |
||
5142 | cbradney | 951 | |
10778 | craig | 952 | IF(WIN32) |
953 | SET_TARGET_PROPERTIES(${EXE_NAME} |
||
954 | PROPERTIES |
||
955 | COMPILE_FLAGS -DCOMPILE_SCRIBUS_MAIN_APP |
||
956 | ENABLE_EXPORTS TRUE |
||
957 | ) |
||
11945 | jghali | 958 | SET(WIN32_ONLY_LIBS mscms.lib) |
10778 | craig | 959 | ELSE(WIN32) |
960 | SET(WIN32_ONLY_LIBS) |
||
961 | ENDIF(WIN32) |
||
962 | |||
12176 | cbradney | 963 | ##TEST FIX FOR 6897 |
15437 | craig | 964 | IF (CMAKE_SYSTEM_NAME STREQUAL "FreeBSD") |
12176 | cbradney | 965 | # Use the -E / --export-dynamic flag to ensure that symbols in the Scribus |
966 | # binary are in the public symbol table for plugins. The symbols must also |
||
967 | # be set as SCRIBUS_API if we're building with -fvisibility=hidden . |
||
968 | # Should fix bug 6897 . |
||
15431 | craig | 969 | SET_TARGET_PROPERTIES(${EXE_NAME} PROPERTIES LINK_FLAGS -Wl,-E) |
15437 | craig | 970 | ENDIF (CMAKE_SYSTEM_NAME STREQUAL "FreeBSD") |
971 | IF (GCC AND NOT WIN32) |
||
972 | # Use the -E / --export-dynamic flag to ensure that symbols in the Scribus |
||
973 | # binary are in the public symbol table for plugins. The symbols must also |
||
974 | # be set as SCRIBUS_API if we're building with -fvisibility=hidden . |
||
975 | # Should fix bug 6897 . |
||
976 | SET_TARGET_PROPERTIES(${EXE_NAME} PROPERTIES LINK_FLAGS -Wl,-E) |
||
977 | ENDIF (GCC AND NOT WIN32) |
||
12176 | cbradney | 978 | ## |
979 | |||
980 | |||
8729 | cbradney | 981 | #Set up libraries to link with all found packages |
982 | |||
14993 | fschmid | 983 | IF(WANT_PRIVATE_CAIRO) |
14952 | fschmid | 984 | SET(SCRIBUS_CAIRO_LIB "scribus_cairo_lib") |
15142 | fschmid | 985 | INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/third_party/cairo) |
14952 | fschmid | 986 | LINK_DIRECTORIES(${CMAKE_CURRENT_BINARY_DIR}/third_party/cairo) |
987 | TARGET_LINK_LIBRARIES(${EXE_NAME} ${PIXMAN_LIBRARIES} ${SCRIBUS_CAIRO_LIB}) |
||
14993 | fschmid | 988 | ELSE(WANT_PRIVATE_CAIRO) |
14952 | fschmid | 989 | #Select Libart_LGPL or Cairo |
990 | IF(RENDER_LIB STREQUAL "CAIRO") |
||
991 | INCLUDE_DIRECTORIES(${CAIRO_INCLUDE_DIR}) |
||
992 | TARGET_LINK_LIBRARIES(${EXE_NAME} ${CAIRO_LIBRARIES}) |
||
993 | LINK_DIRECTORIES(${PREFIX_CAIRO_LIB}) |
||
994 | SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_RPATH};${PREFIX_CAIRO_LIB}") |
||
995 | ENDIF(RENDER_LIB STREQUAL "CAIRO") |
||
14993 | fschmid | 996 | ENDIF(WANT_PRIVATE_CAIRO) |
8729 | cbradney | 997 | |
998 | MESSAGE("RPATH: ${CMAKE_INSTALL_RPATH}") |
||
999 | |||
5758 | cbradney | 1000 | TARGET_LINK_LIBRARIES(${EXE_NAME} |
9681 | cbradney | 1001 | ${QT_LIBRARIES} |
1002 | ${CUPS_LIBRARIES} |
||
1003 | ${FREETYPE_LIBRARIES} |
||
1004 | ${FONTCONFIG_LIBRARIES} |
||
1005 | ${LIBXML2_LIBRARIES} |
||
1006 | ${PYTHON_LIBRARIES} |
||
1007 | ${TIFF_LIBRARIES} |
||
1008 | ${JPEG_LIBRARIES} |
||
1009 | ${ZLIB_LIBRARIES} |
||
10778 | craig | 1010 | ${WIN32_ONLY_LIBS} |
13957 | herm | 1011 | ${GMAGICK_LIBRARIES} |
8729 | cbradney | 1012 | ) |
1013 | |||
15244 | cbradney | 1014 | # required to resolve symbols from libdl when ld is called with --no-add-needed |
15397 | craig | 1015 | # #9310 for the OpenBSD addition |
15419 | craig | 1016 | IF(UNIX AND NOT CMAKE_SYSTEM_NAME STREQUAL "OpenBSD" AND NOT CMAKE_SYSTEM_NAME STREQUAL "FreeBSD") |
15244 | cbradney | 1017 | TARGET_LINK_LIBRARIES(${EXE_NAME} dl) |
15425 | craig | 1018 | ENDIF(UNIX AND NOT CMAKE_SYSTEM_NAME STREQUAL "OpenBSD" AND NOT CMAKE_SYSTEM_NAME STREQUAL "FreeBSD") |
15244 | cbradney | 1019 | |
15403 | craig | 1020 | # #9311 for the OpenBSD addition |
15419 | craig | 1021 | IF(CMAKE_SYSTEM_NAME STREQUAL "OpenBSD" OR CMAKE_SYSTEM_NAME STREQUAL "FreeBSD") |
15431 | craig | 1022 | TARGET_LINK_LIBRARIES(${EXE_NAME} util execinfo) |
15419 | craig | 1023 | ENDIF(CMAKE_SYSTEM_NAME STREQUAL "OpenBSD" OR CMAKE_SYSTEM_NAME STREQUAL "FreeBSD") |
15403 | craig | 1024 | |
8729 | cbradney | 1025 | IF(WIN32) |
9681 | cbradney | 1026 | TARGET_LINK_LIBRARIES(${EXE_NAME} ${QT_QTMAIN_LIBRARY}) |
8729 | cbradney | 1027 | ENDIF(WIN32) |
1028 | |||
1029 | IF(APPLE) |
||
1030 | TARGET_LINK_LIBRARIES(${EXE_NAME} |
||
9681 | cbradney | 1031 | "-undefined dynamic_lookup" |
8729 | cbradney | 1032 | "-framework CoreFoundation" ) |
1033 | ENDIF(APPLE) |
||
1034 | |||
1035 | TARGET_LINK_LIBRARIES(${EXE_NAME} |
||
14491 | jghali | 1036 | ${SCRIBUS_COLORMGMT_LIB} |
9681 | cbradney | 1037 | ${SCRIBUS_DESAXE_LIB} |
1038 | ${SCRIBUS_TEXT_LIB} |
||
1039 | ${SCRIBUS_STYLES_LIB} |
||
1040 | ${SCRIBUS_FONTS_LIB} |
||
14935 | fschmid | 1041 | ${SCRIBUS_WPG_LIB} |
15796 | fschmid | 1042 | ${SCRIBUS_PGF_LIB} |
16071 | craig | 1043 | ${LCMS_LIBRARIES} |
8917 | avox | 1044 | ) |
1045 | |||
11956 | avox | 1046 | IF(HAVE_PODOFO) |
1047 | TARGET_LINK_LIBRARIES(${EXE_NAME} |
||
1048 | ${LIBPODOFO_LIBRARY} |
||
1049 | ) |
||
1050 | ENDIF(HAVE_PODOFO) |
||
1051 | |||
13839 | fschmid | 1052 | IF(HAVE_OSG) |
1053 | TARGET_LINK_LIBRARIES(${EXE_NAME} |
||
1054 | ${OSG_LIBRARY} |
||
1055 | ${OSGGA_LIBRARY} |
||
1056 | ${OSGUTIL_LIBRARY} |
||
1057 | ${OSGDB_LIBRARY} |
||
1058 | ${OSGVIEWER_LIBRARY} |
||
1059 | ${OSGTEXT_LIBRARY} |
||
1060 | ${SCRIBUS_PRC_LIB} |
||
1061 | ) |
||
1062 | ENDIF(HAVE_OSG) |
||
1063 | |||
14937 | fschmid | 1064 | IF (HAVE_BOOST) |
1065 | TARGET_LINK_LIBRARIES(${EXE_NAME} |
||
1066 | ${SCRIBUS_2GEOM_LIB} |
||
1067 | ) |
||
1068 | ENDIF(HAVE_BOOST) |
||
1069 | |||
10778 | craig | 1070 | # Now build plugins |
15496 | craig | 1071 | SET(PLUGIN_LIBRARIES |
1072 | ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTXML_LIBRARY} |
||
1073 | ${LIBXML2_LIBRARIES} |
||
1074 | ${ZLIB_LIBRARIES} |
||
1075 | ) |
||
10778 | craig | 1076 | IF(WIN32) |
10800 | craig | 1077 | # IF your plugin needs more than this, please link them privately |
1078 | # in the CMakeLists.txt for your plugin. |
||
10778 | craig | 1079 | SET(PLUGIN_LIBRARIES |
12473 | mrdocs | 1080 | # ${QT_LIBRARIES} part of #7210 |
15496 | craig | 1081 | ${PLUGIN_LIBRARIES} |
10778 | craig | 1082 | ${EXE_NAME} |
1083 | ) |
||
1084 | ENDIF(WIN32) |
||
1085 | IF(APPLE) |
||
15496 | craig | 1086 | SET(PLUGIN_LIBRARIES |
1087 | ${PLUGIN_LIBRARIES} |
||
1088 | "-undefined dynamic_lookup" |
||
1089 | ) |
||
10778 | craig | 1090 | ENDIF(APPLE) |
15496 | craig | 1091 | MESSAGE(STATUS ${PLUGIN_LIBRARIES}) |
10778 | craig | 1092 | |
1093 | ADD_SUBDIRECTORY(plugins) |
||
1094 | |||
10311 | cbradney | 1095 | #do we want a lib suffix on osx? doubt it |
9681 | cbradney | 1096 | IF(APPLEBUNDLE) |
9487 | cbradney | 1097 | INSTALL(DIRECTORY DESTINATION MacOS) |
1098 | INSTALL(TARGETS ${EXE_NAME} |
||
1099 | RUNTIME DESTINATION MacOS |
||
1100 | LIBRARY DESTINATION lib |
||
1101 | ) |
||
12457 | avox | 1102 | # ADD_CUSTOM_COMMAND(TARGET ${EXE_NAME} POST_BUILD |
1103 | # COMMAND ${CMAKE_COMMAND} ARGS -Dinput_file=${CMAKE_CURRENT_BINARY_DIR}/${EXE_NAME}.app/Contents/MacOS/${EXE_NAME} -P ${CMAKE_MODULE_PATH}/ScribusIngestOSXBundleLibraries.cmake |
||
1104 | # ) |
||
1105 | |||
1106 | # INSTALL( |
||
1107 | # CODE "SET(input_file ${CMAKE_INSTALL_PREFIX}/MacOS/${EXE_NAME})" |
||
1108 | # SCRIPT ${CMAKE_MODULE_PATH}/ScribusIngestOSXBundleLibraries.cmake ) |
||
9681 | cbradney | 1109 | ELSE(APPLEBUNDLE) |
10778 | craig | 1110 | IF(WIN32) |
1111 | INSTALL(TARGETS ${EXE_NAME} |
||
1112 | RUNTIME DESTINATION . |
||
1113 | LIBRARY DESTINATION ${LIB_DIR_NAME} |
||
1114 | ) |
||
1115 | ELSE(WIN32) |
||
1116 | INSTALL(TARGETS ${EXE_NAME} |
||
1117 | RUNTIME DESTINATION bin |
||
1118 | LIBRARY DESTINATION ${LIB_DIR_NAME} |
||
1119 | ) |
||
1120 | ENDIF(WIN32) |
||
9681 | cbradney | 1121 | ENDIF(APPLEBUNDLE) |
5758 | cbradney | 1122 | |
13794 | cbradney | 1123 | #Install our header files, selected from all existing dirs, excluding unwanted directories and svn files |
10802 | cbradney | 1124 | IF(NOT WANT_NOHEADERINSTALL) |
13794 | cbradney | 1125 | MESSAGE(STATUS "Source header files will be installed") |
1126 | INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/ DESTINATION ${INCLUDEDIR} |
||
1127 | FILES_MATCHING |
||
1128 | PATTERN "*.h" |
||
1129 | PATTERN "dicts" EXCLUDE |
||
1130 | PATTERN "doc" EXCLUDE |
||
1131 | PATTERN "dtd" EXCLUDE |
||
1132 | PATTERN "editorconfig" EXCLUDE |
||
1133 | PATTERN "icon*" EXCLUDE |
||
1134 | PATTERN "manpages" EXCLUDE |
||
1135 | PATTERN "old" EXCLUDE |
||
1136 | PATTERN ".svn" EXCLUDE |
||
1137 | ) |
||
13401 | cbradney | 1138 | ELSE(NOT WANT_NOHEADERINSTALL) |
1139 | MESSAGE(STATUS "No source header files will be installed") |
||
10802 | cbradney | 1140 | ENDIF(NOT WANT_NOHEADERINSTALL) |