Subversion Repositories Scribus

Rev

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