Subversion Repositories Scribus

Rev

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