Subversion Repositories Scribus

Rev

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