Subversion Repositories Scribus

Rev

Rev 6657 | Rev 6683 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
5142 cbradney 1
#Subdirectories
2
ADD_SUBDIRECTORY(dicts)
3
ADD_SUBDIRECTORY(doc)
4
ADD_SUBDIRECTORY(dtd)
5
ADD_SUBDIRECTORY(icons)
6
ADD_SUBDIRECTORY(keysets)
5159 cbradney 7
IF(RENDER_LIB STREQUAL "LIBART")
8
  ADD_SUBDIRECTORY(libart)
9
ENDIF(RENDER_LIB STREQUAL "LIBART")
5142 cbradney 10
ADD_SUBDIRECTORY(loremipsum)
11
ADD_SUBDIRECTORY(manpages)
12
ADD_SUBDIRECTORY(pixbuf)
13
ADD_SUBDIRECTORY(plugins)
14
ADD_SUBDIRECTORY(profiles)
15
ADD_SUBDIRECTORY(qm)
6662 cbradney 16
ADD_SUBDIRECTORY(styles)
5142 cbradney 17
ADD_SUBDIRECTORY(swatches)
18
ADD_SUBDIRECTORY(templates)
19
ADD_SUBDIRECTORY(text)
5980 avox 20
ADD_SUBDIRECTORY(fonts)
5691 avox 21
ADD_SUBDIRECTORY(desaxe)
5142 cbradney 22
 
23
 
24
SET(SCRIBUS_UI_SRC
25
aboutpluginsbase.ui
6467 cbradney 26
aligndistributebase.ui
6657 cbradney 27
createrangebase.ui
5142 cbradney 28
docitemattrprefsbase.ui
29
docsectionsbase.ui
30
guidemanagerbase.ui
6083 cbradney 31
insertaframebase.ui
6442 cbradney 32
multipleduplicatebase.ui
5142 cbradney 33
multiprogressdialogbase.ui
34
pageitemattributesbase.ui
6368 fschmid 35
patterndialogbase.ui
6655 subik 36
picsearchbase.ui
5142 cbradney 37
smlinestylewbase.ui
5155 tsoots 38
smreplacediabase.ui
5850 tsoots 39
smpstylewbase.ui
40
smcstylewbase.ui
5142 cbradney 41
stylemanagerbase.ui
5329 cbradney 42
tabexternaltoolswidgetbase.ui
5352 cbradney 43
tabkeyboardshortcutswidgetbase.ui
5142 cbradney 44
tocindexprefsbase.ui
45
useprintermarginsdialogbase.ui
5851 subik 46
tabdisplaybase.ui
47
tabgeneralbase.ui
48
tabmiscellaneousbase.ui
49
tabscrapbookbase.ui
5142 cbradney 50
)
51
 
52
SET(SCRIBUS_MOC_CLASSES
53
about.h
54
aboutplugins.h
55
actionmanager.h
56
aligndistribute.h
57
alignselect.h
58
annota.h
59
annot.h
60
applytemplatedialog.h
61
arrowchooser.h
62
autoform.h
63
autoformbuttongroup.h
64
bookmwin.h
65
bookpalette.h
66
buttonicon.h
67
charselect.h
68
checkDocument.h
69
cmsprefs.h
70
cmykfw.h
71
collect4output.h
6549 fschmid 72
colorblind.h
5142 cbradney 73
colorchart.h
74
colorm.h
75
colorsetmanager.h
76
colorcombo.h
77
commonstrings.h
78
cpalette.h
6657 cbradney 79
createrange.h
5142 cbradney 80
cupsoptions.h
6129 fschmid 81
curvewidget.h
5142 cbradney 82
customfdialog.h
83
dcolor.h
84
deferredtask.h
85
delpages.h
86
docinfo.h
87
docitemattrprefs.h
88
docsections.h
89
documentinformation.h
90
druck.h
91
edit1format.h
92
editformats.h
93
editor.h
94
effectsdialog.h
95
extimageprops.h
96
fileloader.h
97
filesearch.h
98
filewatcher.h
99
fontcombo.h
100
fontprefs.h
101
fontreplacedialog.h
102
frameedit.h
103
gradienteditor.h
104
gtdialogs.h
105
guidemanager.h
106
helpbrowser.h
107
hruler.h
108
hyask.h
109
hyphenator.h
110
hysettings.h
111
imageinfodialog.h
6083 cbradney 112
insertaframe.h
5142 cbradney 113
insertTable.h
114
inspage.h
115
javadocs.h
116
layers.h
117
lineformats.h
118
loadsaveplugin.h
119
loremipsum.h
120
margindialog.h
121
marginWidget.h
122
mdup.h
123
measurements.h
124
menumanager.h
125
mergedoc.h
126
movepage.h
127
missing.h
128
mpalette.h
129
mspinbox.h
130
multiline.h
6442 cbradney 131
multipleduplicate.h
5142 cbradney 132
multiprogressdialog.h
133
muster.h
134
navigator.h
135
newfile.h
136
newtemp.h
137
pageitem.h
138
pageitemattributes.h
139
pageitem_imageframe.h
140
pageitem_line.h
141
pageitem_pathtext.h
142
pageitem_polygon.h
143
pageitem_polyline.h
144
pageitem_textframe.h
145
pagelayout.h
146
pageselector.h
6368 fschmid 147
patterndialog.h
5142 cbradney 148
pdflib.h
149
pdfopts.h
150
picsearch.h
151
picstatus.h
152
pluginmanager.h
153
pluginmanagerprefsgui.h
154
polygonwidget.h
155
polyprops.h
156
prefs.h
157
prefsdialogbase.h
158
prefsmanager.h
159
prefspanel.h
160
preview.h
161
pslib.h
162
query.h
163
reformdoc.h
164
rulermover.h
165
sampleitem.h
166
sccolorshade.h
5903 subik 167
scinputdialog.h
5142 cbradney 168
scmenu.h
169
scmessagebox.h
5715 tsoots 170
scgtplugin.h
5142 cbradney 171
scplugin.h
172
scpreview.h
5378 cbradney 173
scprogressbar.h
5142 cbradney 174
scraction.h
175
scrap.h
176
scribus.h
177
scribusapp.h
5245 cbradney 178
scribuscore.h
5142 cbradney 179
scribusdoc.h
180
scribusview.h
181
scribusXml.h
182
scribuswin.h
183
scrpalettebase.h
184
sctoolbar.h
185
search.h
186
seiten.h
187
selection.h
188
selfield.h
189
shadebutton.h
190
smlinestyle.h
5155 tsoots 191
smreplacedia.h
5850 tsoots 192
smtextstyles.h
6023 tsoots 193
smtextstylewidgets.h
6091 tsoots 194
smwidgets.h
5142 cbradney 195
spalette.h
196
story.h
197
styleitem.h
198
stylemanager.h
199
styleselect.h
200
tabcheckdoc.h
5329 cbradney 201
tabexternaltoolswidget.h
5352 cbradney 202
tabkeyboardshortcutswidget.h
5851 subik 203
tabdisplay.h
204
tabdocument.h
205
tabgeneral.h
5142 cbradney 206
tabguides.h
207
tabmanager.h
5851 subik 208
tabmiscellaneous.h
5142 cbradney 209
tabpdfoptions.h
210
tabruler.h
5851 subik 211
tabscrapbook.h
5142 cbradney 212
tabtools.h
213
tabtypography.h
214
tocgenerator.h
215
tocindexprefs.h
216
tree.h
217
undogui.h
218
undomanager.h
5855 cbradney 219
upgradechecker.h
5142 cbradney 220
useprintermarginsdialog.h
221
vruler.h
222
werktoolb.h
223
)
224
 
225
# linkbutton.h
226
 
227
SET(SCRIBUS_SOURCES
228
about.cpp
229
aboutplugins.cpp
230
actionmanager.cpp
231
aligndistribute.cpp
232
alignselect.cpp
233
annota.cpp
234
annot.cpp
235
applytemplatedialog.cpp
236
arrowchooser.cpp
237
autoformbuttongroup.cpp
238
autoform.cpp
239
bookmwin.cpp
240
bookpalette.cpp
241
buttonicon.cpp
242
charselect.cpp
243
checkDocument.cpp
244
cmserrorhandling.cpp
245
cmykfw.cpp
246
cmsprefs.cpp
6070 jghali 247
cmsutil.cpp
5782 cbradney 248
cmsettings.cpp
5142 cbradney 249
collect4output.cpp
6549 fschmid 250
colorblind.cpp
5142 cbradney 251
colorchart.cpp
252
colorcombo.cpp
253
colorm.cpp
254
colorsetmanager.cpp
6125 cbradney 255
colorutil.cpp
5142 cbradney 256
commonstrings.cpp
257
cpalette.cpp
6657 cbradney 258
createrange.cpp
5142 cbradney 259
cupsoptions.cpp
6129 fschmid 260
curvewidget.cpp
5142 cbradney 261
customfdialog.cpp
262
dcolor.cpp
263
deferredtask.cpp
264
delpages.cpp
265
docinfo.cpp
266
docitemattrprefs.cpp
267
docsections.cpp
268
documentchecker.cpp
269
documentinformation.cpp
270
druck.cpp
271
dynamictip.cpp
272
editor.cpp
273
edit1format.cpp
274
editformats.cpp
275
effectsdialog.cpp
276
exif.cpp
277
extimageprops.cpp
278
fileloader.cpp
279
filesearch.cpp
280
fileunzip.cpp
281
filewatcher.cpp
282
fmitem.cpp
283
fontcombo.cpp
284
fontprefs.cpp
285
fontreplacedialog.cpp
286
fparser.cpp
287
fpointarray.cpp
288
fpoint.cpp
289
fpoptimizer.cpp
290
frameedit.cpp
291
gradienteditor.cpp
292
gsutil.cpp
293
gtaction.cpp
294
gtdialogs.cpp
295
gtfont.cpp
296
gtframestyle.cpp
297
gtgettext.cpp
298
gtmeasure.cpp
299
gtparagraphstyle.cpp
300
gtstyle.cpp
301
gtwriter.cpp
302
guidemanager.cpp
303
guidemanagercore.cpp
304
helpbrowser.cpp
305
hnjalloc.c
306
hruler.cpp
307
hyask.cpp
308
hyphen.c
309
hyphenator.cpp
310
hysettings.cpp
311
imageinfodialog.cpp
6083 cbradney 312
insertaframe.cpp
5142 cbradney 313
insertTable.cpp
314
inspage.cpp
315
ioapi.c
316
javadocs.cpp
317
langmgr.cpp
318
layers.cpp
319
linecombo.cpp
320
lineformats.cpp
321
linkbutton.cpp
322
loadsaveplugin.cpp
323
loremipsum.cpp
324
main.cpp
325
margindialog.cpp
326
marginWidget.cpp
327
md5.c
328
mdup.cpp
329
measurements.cpp
330
menumanager.cpp
331
mergedoc.cpp
332
movepage.cpp
333
missing.cpp
334
mpalette.cpp
335
mspinbox.cpp
336
multiline.cpp
6442 cbradney 337
multipleduplicate.cpp
5142 cbradney 338
multiprogressdialog.cpp
339
muster.cpp
340
navigator.cpp
341
newfile.cpp
342
newtemp.cpp
343
page.cpp
344
pageitem.cpp
345
pageitemattributes.cpp
346
pageitem_imageframe.cpp
347
pageitem_line.cpp
348
pageitem_pathtext.cpp
349
pageitem_polygon.cpp
350
pageitem_polyline.cpp
351
pageitem_textframe.cpp
352
pagelayout.cpp
353
pageselector.cpp
354
pagesize.cpp
6368 fschmid 355
patterndialog.cpp
5142 cbradney 356
pdflib.cpp
357
pdfoptions.cpp
358
pdfoptionsio.cpp
359
pdfopts.cpp
360
picsearch.cpp
361
picstatus.cpp
362
pluginmanager.cpp
363
pluginmanagerprefsgui.cpp
364
polygonwidget.cpp
365
polyprops.cpp
366
prefs.cpp
367
prefscontext.cpp
368
prefsdialogbase.cpp
369
prefsfile.cpp
370
prefspanel.cpp
371
prefsreader.cpp
372
prefsmanager.cpp
373
prefstable.cpp
374
preview.cpp
375
printerutil.cpp
376
pslib.cpp
377
query.cpp
378
rc4.c
379
reformdoc.cpp
380
rulermover.cpp
381
sampleitem.cpp
382
sccolor.cpp
383
sccolorshade.cpp
384
sccombobox.cpp
5903 subik 385
scinputdialog.cpp
5142 cbradney 386
scfonts.cpp
387
scimage.cpp
5937 jghali 388
scimagestructs.cpp
389
scimgdataloader.cpp
6412 fschmid 390
scimgdataloader_gimp.cpp
5937 jghali 391
scimgdataloader_jpeg.cpp
392
scimgdataloader_pdf.cpp
393
scimgdataloader_ps.cpp
394
scimgdataloader_psd.cpp
395
scimgdataloader_qt.cpp
396
scimgdataloader_tiff.cpp
5715 tsoots 397
scgtplugin.cpp
5142 cbradney 398
scpainter.cpp
399
scpaths.cpp
6368 fschmid 400
scpattern.cpp
5142 cbradney 401
scplugin.cpp
402
scpreview.cpp
5378 cbradney 403
scprogressbar.cpp
5142 cbradney 404
scraction.cpp
405
scrap.cpp
406
scribus.cpp
407
scribusapp.cpp
5245 cbradney 408
scribuscore.cpp
5142 cbradney 409
scribusdoc.cpp
410
scribusview.cpp
411
scribusXml.cpp
412
scribuswin.cpp
413
scrpalettebase.cpp
414
scmenu.cpp
415
scmessagebox.cpp
5196 cbradney 416
sctextstruct.cpp
5142 cbradney 417
sctoolbar.cpp
418
search.cpp
419
seiten.cpp
420
selection.cpp
421
selfield.cpp
422
serializer.cpp
423
shadebutton.cpp
424
smlinestyle.cpp
5155 tsoots 425
smreplacedia.cpp
5850 tsoots 426
smtextstyles.cpp
6023 tsoots 427
smtextstylewidgets.cpp
6091 tsoots 428
smwidgets.cpp
5142 cbradney 429
spalette.cpp
430
splash.cpp
431
stencilreader.cpp
432
story.cpp
5698 avox 433
style.cpp
5142 cbradney 434
styleitem.cpp
435
stylemanager.cpp
436
styleselect.cpp
437
tabcheckdoc.cpp
5329 cbradney 438
tabexternaltoolswidget.cpp
5352 cbradney 439
tabkeyboardshortcutswidget.cpp
5851 subik 440
tabdisplay.cpp
441
tabdocument.cpp
442
tabgeneral.cpp
5142 cbradney 443
tabguides.cpp
444
tabmanager.cpp
5851 subik 445
tabmiscellaneous.cpp
5142 cbradney 446
tabpdfoptions.cpp
447
tabruler.cpp
5851 subik 448
tabscrapbook.cpp
5142 cbradney 449
tabtools.cpp
450
tabtypography.cpp
451
tocgenerator.cpp
452
tocindexprefs.cpp
453
tree.cpp
454
undogui.cpp
455
undomanager.cpp
456
undoobject.cpp
457
undostack.cpp
458
undostate.cpp
459
units.cpp
460
unzip.c
5855 cbradney 461
upgradechecker.cpp
5142 cbradney 462
useprintermarginsdialog.cpp
463
util.cpp
464
vgradient.cpp
465
vgradientex.cpp
466
vruler.cpp
467
werktoolb.cpp
468
)
469
 
470
IF(QT_WRAP_UI)
471
QT_WRAP_UI(scribus SCRIBUS_UI_H SCRIBUS_UI_CPP ${SCRIBUS_UI_SRC} )
472
ENDIF(QT_WRAP_UI)
473
 
474
IF(QT_WRAP_CPP)
5905 cbradney 475
  SCRIBUS_QT_WRAP_CPP(SCRIBUS_MOC_SOURCES ${SCRIBUS_MOC_CLASSES})
5142 cbradney 476
ENDIF(QT_WRAP_CPP)
477
 
478
LINK_DIRECTORIES(
5691 avox 479
desaxe
5142 cbradney 480
text
5980 avox 481
fonts
5142 cbradney 482
pixbuf
483
)
484
 
5644 cbradney 485
IF(RENDER_LIB STREQUAL "LIBART")
486
  LINK_DIRECTORIES(libart)
487
ENDIF(RENDER_LIB STREQUAL "LIBART")
488
 
5142 cbradney 489
SET(SCRIBUS_LIBART_LIB "scribus_libart_lib")
490
SET(SCRIBUS_PIXBUF_LIB "scribus_pixbuf_lib")
491
SET(SCRIBUS_TEXT_LIB "scribus_text_lib")
5980 avox 492
SET(SCRIBUS_FONTS_LIB "scribus_fonts_lib")
5691 avox 493
SET(SCRIBUS_DESAXE_LIB "scribus_desaxe_lib")
5142 cbradney 494
 
495
INCLUDE_DIRECTORIES(
496
${CMAKE_SOURCE_DIR}
497
${CMAKE_CURRENT_SOURCE_DIR}
498
"${CMAKE_CURRENT_SOURCE_DIR}/text"
5980 avox 499
"${CMAKE_CURRENT_SOURCE_DIR}/fonts"
5691 avox 500
"${CMAKE_CURRENT_SOURCE_DIR}/desaxe"
5142 cbradney 501
)
502
 
5758 cbradney 503
SET(EXE_NAME "scribus${TAG_VERSION}")
5142 cbradney 504
 
5379 cbradney 505
ADD_EXECUTABLE(${EXE_NAME}
5157 cbradney 506
  ${SCRIBUS_MOC_SOURCES}
507
  ${SCRIBUS_SOURCES}
508
  ${SCRIBUS_UI_CPP}
509
  ${SCRIBUS_TEXT_SOURCES}
5980 avox 510
  ${SCRIBUS_FONTS_SOURCES}
5691 avox 511
  ${SCRIBUS_DESAXE_SOURCES}
5142 cbradney 512
)
513
 
5758 cbradney 514
TARGET_LINK_LIBRARIES(${EXE_NAME}
515
${SCRIBUS_DESAXE_LIB}
516
${SCRIBUS_TEXT_LIB}
5980 avox 517
${SCRIBUS_FONTS_LIB}
5758 cbradney 518
${SCRIBUS_PIXBUF_LIB}
519
)
520
 
521
IF(RENDER_LIB STREQUAL "LIBART")
522
  TARGET_LINK_LIBRARIES(${EXE_NAME}
523
  ${SCRIBUS_LIBART_LIB}
524
  )
525
ENDIF(RENDER_LIB STREQUAL "LIBART")
526
 
5379 cbradney 527
INSTALL(TARGETS ${EXE_NAME}
5142 cbradney 528
  RUNTIME DESTINATION bin
5352 cbradney 529
  LIBRARY DESTINATION lib)