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