Subversion Repositories Scribus

Rev

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