Subversion Repositories Scribus

Rev

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