Subversion Repositories Scribus

Rev

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