"Fossies" - the Fresh Open Source Software Archive

Member "scribus-1.5.6.1/scribus/CMakeLists.txt" (14 Nov 2020, 34056 Bytes) of package /linux/misc/scribus-1.5.6.1.tar.xz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "CMakeLists.txt": 1.5.6_vs_1.5.6.1.

    1 #For those that want it, show the SVN version in the About dialog
    2 if (WANT_SVNVERSION)
    3 	add_definitions(-DHAVE_SVNVERSION)
    4 	message(STATUS "SVN Version requested in About dialog")
    5 	# a custom target that is always built
    6 
    7 	if (NOT CMAKE_VERSION VERSION_LESS "3.2.0")
    8 		add_custom_target(svnheader ALL COMMAND ${CMAKE_COMMAND} -DSOURCE_DIR=${CMAKE_CURRENT_SOURCE_DIR} -P ${CMAKE_MODULE_PATH}/getsvn.cmake BYPRODUCTS ${CMAKE_CURRENT_BINARY_DIR}/svnversion.h)
    9 	else ()
   10 		add_custom_target(svnheader ALL DEPENDS svn_header ) # svn_header is nothing more than a unique string
   11 		# creates svnheader.h using cmake script
   12 		add_custom_command(OUTPUT svn_header ${CMAKE_CURRENT_BINARY_DIR}/svnversion.h
   13 		COMMAND ${CMAKE_COMMAND} -DSOURCE_DIR=${CMAKE_CURRENT_SOURCE_DIR} -P ${CMAKE_MODULE_PATH}/getsvn.cmake)
   14 		set_source_files_properties(${CMAKE_CURRENT_BINARY_DIR}/svnversion.h
   15 			PROPERTIES GENERATED TRUE
   16 			HEADER_FILE_ONLY TRUE)
   17 	endif ()
   18 endif ()
   19 
   20 if(WIN32)
   21 	add_definitions(-DQT_DLL)
   22 endif()
   23 
   24 
   25 include_directories(
   26 	${CMAKE_SOURCE_DIR}
   27 	${CMAKE_CURRENT_BINARY_DIR}
   28 	${CMAKE_CURRENT_SOURCE_DIR}
   29 	${FREETYPE_INCLUDE_DIRS}
   30 	${HARFBUZZ_INCLUDE_DIRS}
   31 )
   32 
   33 include(text/CMakeLists.txt)
   34 
   35 add_subdirectory(dtd)
   36 add_subdirectory(colormgmt)
   37 add_subdirectory(desaxe)
   38 add_subdirectory(fonts)
   39 add_subdirectory(styles)
   40 add_subdirectory(ui/qml)
   41 if(WITH_TESTS)
   42 	add_subdirectory(tests)
   43 endif()
   44 if (WANT_DESIGNER)
   45 	add_subdirectory(designer)
   46 endif ()
   47 add_subdirectory(third_party)
   48 
   49 if(HAVE_OSG)
   50 	set(SCRIBUS_OSG_UI_SRC
   51 		ui/osgeditor.ui
   52 	)
   53 	set(SCRIBUS_OSG_CLASS
   54 		ui/AdapterWidget.h
   55 		ui/osgeditor.h
   56 		pageitem_osgframe.h
   57 	)
   58 	set(SCRIBUS_OSG_SRC
   59 		ui/AdapterWidget.cpp
   60 		ui/osgeditor.cpp
   61 		pageitem_osgframe.cpp
   62 	)
   63 endif ()
   64 
   65 if (GMAGICK_FOUND)
   66 	set(SCRIBUS_GMAGICK_SRC imagedataloaders/scimgdataloader_gmagick.cpp)
   67 else()
   68 	set(SCRIBUS_GMAGICK_SRC)
   69 endif()
   70 
   71 # We setup something like a group to gather setter related stuff
   72 # because it could expand into a huge amount of files at some point.
   73 set(SCRIBUS_ITEMSETTERS_UI_SRC
   74 	ui/positionsetter.ui
   75 	ui/rotationsetter.ui
   76 )
   77 
   78 set(SCRIBUS_ITEMSETTERS_CLASS
   79 	openpalettemanager.h
   80 	openpalettemodel.h
   81 	pageitemsettersmanager.h
   82 	ui/openpalette.h
   83 	ui/openpaletteview.h
   84 	ui/pageitempositionsetter.h
   85 	ui/pageitemrotationsetter.h
   86 )
   87 
   88 set(SCRIBUS_ITEMSETTERS_SRC
   89 	openpalettemanager.cpp
   90 	openpalettemodel.cpp
   91 	pageitemsettersmanager.cpp
   92 	ui/openpalette.cpp
   93 	ui/openpaletteview.cpp
   94 	ui/pageitemsetterbase.cpp
   95 	ui/pageitempositionsetter.cpp
   96 	ui/pageitemrotationsetter.cpp
   97 )
   98 
   99 set(SCRIBUS_UI_SRC
  100 	ui/aboutplugins.ui
  101 	ui/actionsearchdialog.ui
  102 	ui/aligndistribute.ui
  103 	ui/annot.ui
  104 	ui/arcvectorbase.ui
  105 	ui/arcwidgetbase.ui
  106 	ui/charselect.ui
  107 	ui/charselectenhanced.ui
  108 	ui/cmsprefsbase.ui
  109 	ui/cmykfwbase.ui
  110 	ui/colorpalette.ui
  111 	ui/colorsandfillsbase.ui
  112 	ui/contentpalette_defaultbase.ui
  113 	ui/contentpalette_pagebase.ui
  114 	ui/cxfimportdialogbase.ui
  115 	ui/downloadspalettebase.ui
  116 	ui/gradientaddedit.ui
  117 	ui/gradienteditor.ui
  118 	ui/gradientvectorbase.ui
  119 	ui/gtfiledialog.ui
  120 	ui/guidemanager.ui
  121 	ui/insertaframe.ui
  122 	ui/inserttablecolumnsdialog.ui
  123 	ui/inserttablerowsdialog.ui
  124 	ui/latexeditor.ui
  125 	ui/newmarginwidgetbase.ui
  126 	ui/mark2item.ui
  127 	ui/mark2mark.ui
  128 	ui/markanchor.ui
  129 	ui/marknote.ui
  130 	ui/marksmanager.ui
  131 	ui/markvariabletext.ui
  132 	ui/measurementsbase.ui
  133 	ui/multipleduplicate.ui
  134 	ui/multiprogressdialog.ui
  135 	ui/nftdialog.ui
  136 	ui/nftwidget.ui
  137 	ui/notesstyleseditor.ui
  138 	ui/outputpreview_pdf.ui
  139 	ui/outputpreview_ps.ui
  140 	ui/outputpreviewbase.ui
  141 	ui/pageitemattributes.ui
  142 	ui/pagepalette_pagesbase.ui
  143 	ui/pagepalette_masterpagesbase.ui
  144 	ui/picsearch.ui
  145 	ui/picsearchoptions.ui
  146 	ui/picstatus.ui
  147 	ui/polygonwidgetbase.ui
  148 	ui/preferencesdialogbase.ui
  149 	ui/prefs_colormanagementbase.ui
  150 	ui/prefs_displaybase.ui
  151 	ui/prefs_documentinformationbase.ui
  152 	ui/prefs_documentsectionsbase.ui
  153 	ui/prefs_documentsetupbase.ui
  154 	ui/prefs_externaltoolsbase.ui
  155 	ui/prefs_fontsbase.ui
  156 	ui/prefs_guidesbase.ui
  157 	ui/prefs_hyphenatorbase.ui
  158 	ui/prefs_imagecachebase.ui
  159 	ui/prefs_keyboardshortcutsbase.ui
  160 	ui/prefs_miscellaneousbase.ui
  161 	ui/prefs_pathsbase.ui
  162 	ui/prefs_pagesizesbase.ui
  163 	ui/prefs_pluginsbase.ui
  164 	ui/prefs_preflightverifierbase.ui
  165 	ui/prefs_printerbase.ui
  166 	ui/prefs_scrapbookbase.ui
  167 	ui/prefs_spellingbase.ui
  168 	ui/prefs_typographybase.ui
  169 	ui/prefs_userinterfacebase.ui
  170 	ui/prefs_itemtoolsbase.ui
  171 	ui/prefs_operatortoolsbase.ui
  172 	ui/prefs_pdfexportbase.ui
  173 	ui/prefs_tableofcontentsbase.ui
  174 	ui/prefs_documentitemattributesbase.ui
  175 	ui/printdialogbase.ui
  176 	ui/printpreviewbase.ui
  177 	ui/propertiespalette_groupbase.ui
  178 	ui/propertiespalette_imagebase.ui
  179 	ui/propertiespalette_linebase.ui
  180 	ui/propertiespalette_shapebase.ui
  181 	ui/propertiespalette_tablebase.ui
  182 	ui/propertiespalette_textbase.ui
  183 	ui/propertiespalette_xyzbase.ui
  184 	ui/propertywidget_advancedbase.ui
  185 	ui/propertywidget_distancebase.ui
  186 	ui/propertywidget_pareffectbase.ui
  187 	ui/propertywidget_flopbase.ui
  188 	ui/propertywidget_fontfeaturesbase.ui
  189 	ui/propertywidget_hyphenationbase.ui
  190 	ui/propertywidget_optmarginsbase.ui
  191 	ui/propertywidget_orphansbase.ui
  192 	ui/propertywidget_pathtextbase.ui
  193 	ui/propertywidget_textcolorbase.ui
  194 	ui/recoverdialog.ui
  195 	ui/replacecolors.ui
  196 	ui/replaceonecolor.ui
  197 	ui/resourcemanagerbase.ui
  198 	ui/resourcemanagerlicensebase.ui
  199 	ui/selectobjects.ui
  200 	ui/shortcutwidget.ui
  201 	ui/smcellstylewidget.ui
  202 	ui/smcstylewidget.ui
  203 	ui/smfontfeaturesbase.ui
  204 	ui/smlinestylewidget.ui
  205 	ui/smtablestylewidget.ui
  206 	ui/smpstylewidget.ui
  207 	ui/smreplacedia.ui
  208 	ui/smstyleimport.ui
  209 	ui/spiralvectorbase.ui
  210 	ui/spiralwidgetbase.ui
  211 	ui/stylemanager.ui
  212 	ui/tablecolumnwidthsdialog.ui
  213 	ui/tablerowheightsdialog.ui
  214 	ui/tabpdfoptions.ui
  215 	ui/transformdialogbase.ui
  216 	ui/transparencypalette.ui
  217 	ui/copypagetomasterpage.ui
  218 	ui/createrange.ui
  219 	ui/helpbrowser.ui
  220 	ui/helpbrowsernavigation.ui
  221 	ui/unicodesearch.ui
  222 	ui/useprintermarginsdialog.ui
  223 	ui/weldeditbase.ui
  224 #	#{SCRIBUS_ITEMSETTERS_UI_SRC}
  225 	${SCRIBUS_OSG_UI_SRC}
  226 )
  227 
  228 set(SCRIBUS_MOC_CLASSES
  229 	actionmanager.h
  230 	appmodehelper.h
  231 	canvas.h
  232 	canvasgesture.h
  233 	canvasgesture_cellselect.h
  234 	canvasgesture_columnresize.h
  235 	canvasgesture_rowresize.h
  236 	canvasgesture_rulermove.h
  237 	canvasgesture_table.h
  238 	canvasgesture_tableresize.h
  239 	canvasmode.h
  240 	canvasmode_create.h
  241 	canvasmode_edit.h
  242 	canvasmode_editarc.h
  243 	canvasmode_editpolygon.h
  244 	canvasmode_editspiral.h
  245 	canvasmode_edittable.h
  246 	canvasmode_editweldpoint.h
  247 	canvasmode_eyedropper.h
  248 	canvasmode_framelinks.h
  249 	canvasmode_imageimport.h
  250 	canvasmode_measurements.h
  251 	canvasmode_normal.h
  252 	canvasmode_objimport.h
  253 	chartablemodel.h
  254 	chartableview.h
  255 	collect4output.h
  256 	colorblind.h
  257 	commonstrings.h
  258 	deferredtask.h
  259 	docinfo.h
  260 	downloadmanager/scdlmgr.h
  261 	downloadmanager/scdlthread.h
  262 	fileloader.h
  263 	filesearch.h
  264 	filewatcher.h
  265 	fontlistmodel.h
  266 	guidesdelegate.h
  267 	guidesmodel.h
  268 	guidesview.h
  269 	hyphenator.h
  270 	iconmanager.h
  271 	latexhelpers.h
  272 	loadsaveplugin.h
  273 	menumanager.h
  274 	navigator.h
  275 	notesstyles.h
  276 	observable.h
  277 	pageitem.h
  278 	pageitem_arc.h
  279 	pageitem_group.h
  280 	pageitem_imageframe.h
  281 	pageitem_latexframe.h
  282 	pageitem_line.h
  283 	pageitem_pathtext.h
  284 	pageitem_polygon.h
  285 	pageitem_polyline.h
  286 	pageitem_regularpolygon.h
  287 	pageitem_spiral.h
  288 	pageitem_symbol.h
  289 	pageitem_table.h
  290 	pageitem_textframe.h
  291 	pageitem_noteframe.h
  292 	pageitempointer.h
  293 	pdf_analyzer.h
  294 	pdflib.h
  295 	pdflib_core.h
  296 	pluginmanager.h
  297 	pp_proxy.h
  298 	prefsmanager.h
  299 	pslib.h
  300 	qtiocompressor.h
  301 	sampleitem.h
  302 	scgtplugin.h
  303 	schelptreemodel.h
  304 	scimagecachedir.h
  305 	scimagecachefile.h
  306 	scimagecachemanager.h
  307 	scmimedata.h
  308 	scplugin.h
  309 	scprintengine.h
  310 	scraction.h
  311 	scribus.h
  312 	scribusapp.h
  313 	scribuscore.h
  314 	scribusdoc.h
  315 	scribusview.h
  316 	scribuswin.h
  317 	selection.h
  318 	selectionrubberband.h
  319 	styleitem.h
  320 	tocgenerator.h
  321 	undogui.h
  322 	undomanager.h
  323 	upgradechecker.h
  324 	urllauncher.h
  325 	ui/about.h
  326 	ui/aboutplugins.h
  327 	ui/actionsearchdialog.h
  328 	ui/adjustcmsdialog.h
  329 	ui/aligndistribute.h
  330 	ui/alignselect.h
  331 	ui/directionselect.h
  332 	ui/annot.h
  333 	ui/annota.h
  334 	ui/applytemplatedialog.h
  335 	ui/arcwidget.h
  336 	ui/arcvectordialog.h
  337 	ui/arrowchooser.h
  338 	ui/autoform.h
  339 	ui/autoformbuttongroup.h
  340 	ui/basepointwidget.h
  341 	ui/bookmarkpalette.h
  342 	ui/bookmwin.h
  343 	ui/buttonicon.h
  344 	ui/charselect.h
  345 	ui/charselectenhanced.h
  346 	ui/charzoom.h
  347 	ui/checkDocument.h
  348 	ui/clockwidget.h
  349 	ui/cmsprefs.h
  350 	ui/cmykfw.h
  351 	ui/collectforoutput_ui.h
  352 	ui/colorchart.h
  353 	ui/colorcombo.h
  354 	ui/colorlistbox.h
  355 	ui/colorlistmodel.h
  356 	ui/colorsandfills.h
  357 	ui/contentpalette.h
  358 	ui/contentpalette_default.h
  359 	ui/contentpalette_page.h
  360 	ui/contextmenu.h
  361 	ui/cpalette.h
  362 	ui/cupsoptions.h
  363 	ui/curvewidget.h
  364 	ui/customfdialog.h
  365 	ui/cxfimportdialog.h
  366 	ui/dasheditor.h
  367 	ui/dcolor.h
  368 	ui/delpages.h
  369 	ui/downloadspalette.h
  370 	ui/editor.h
  371 	ui/effectsdialog.h
  372 	ui/extimageprops.h
  373 	ui/filedialogeventcatcher.h
  374 	ui/fontcombo.h
  375 	ui/fontembeddingcombo.h
  376 	ui/fontembeddingmodel.h
  377 	ui/fontlistview.h
  378 	ui/fontreplacedialog.h
  379 	ui/gradientaddedit.h
  380 	ui/gradienteditor.h
  381 	ui/gradientvectordialog.h
  382 	ui/gradientpreview.h
  383 	ui/gtdialogs.h
  384 	ui/gtfiledialog.h
  385 	ui/guidemanager.h
  386 	ui/helpbrowser.h
  387 	ui/helpnavigation.h
  388 	ui/hruler.h
  389 	ui/hyask.h
  390 	ui/imageinfodialog.h
  391 	ui/inlinepalette.h
  392 	ui/insertTable.h
  393 	ui/insertaframe.h
  394 	ui/inserttablecolumnsdialog.h
  395 	ui/inserttablerowsdialog.h
  396 	ui/inspage.h
  397 	ui/javadocs.h
  398 	ui/latexeditor.h
  399 	ui/layers.h
  400 	ui/linecombo.h
  401 	ui/linkbutton.h
  402 	ui/loremipsum.h
  403 	ui/markinsert.h
  404 	ui/mark2item.h
  405 	ui/mark2mark.h
  406 	ui/markanchor.h
  407 	ui/marknote.h
  408 	ui/marksmanager.h
  409 	ui/markvariabletext.h
  410 	ui/marginpresetlayout.h
  411 	ui/marginwidget.h
  412 	ui/newmarginwidget.h
  413 	ui/measurements.h
  414 	ui/mergedoc.h
  415 	ui/missing.h
  416 	ui/movepage.h
  417 	ui/multipleduplicate.h
  418 	ui/multiprogressdialog.h
  419 	ui/newdocdialog.h
  420 	ui/newtemp.h
  421 	ui/nftdialog.h
  422 	ui/nftwidget.h
  423 	ui/nodeeditpalette.h
  424 	ui/notesstyleseditor.h
  425 	ui/numformatcombo.h
  426 	ui/outlinepalette.h
  427 	ui/outputpreview_pdf.h
  428 	ui/outputpreview_ps.h
  429 	ui/outputpreviewbase.h
  430 	ui/pageitemattributes.h
  431 	ui/pagelayout.h
  432 	ui/pagepalette.h
  433 	ui/pagepalette_pages.h
  434 	ui/pagepalette_masterpages.h
  435 	ui/pagepalette_widgets.h
  436 	ui/pagepropertiesdialog.h
  437 	ui/pageselector.h
  438 	ui/patternpropsdialog.h
  439 	ui/pdfexportdialog.h
  440 	ui/pdfversioncombo.h
  441 	ui/pdfversionmodel.h
  442 	ui/picsearch.h
  443 	ui/picsearchoptions.h
  444 	ui/picstatus.h
  445 	ui/polygonwidget.h
  446 	ui/polyprops.h
  447 	ui/preferencesdialog.h
  448 	ui/prefs_colormanagement.h
  449 	ui/prefs_display.h
  450 	ui/prefs_documentinformation.h
  451 	ui/prefs_documentsections.h
  452 	ui/prefs_documentsetup.h
  453 	ui/prefs_externaltools.h
  454 	ui/prefs_fonts.h
  455 	ui/prefs_guides.h
  456 	ui/prefs_hyphenator.h
  457 	ui/prefs_imagecache.h
  458 	ui/prefs_keyboardshortcuts.h
  459 	ui/prefs_miscellaneous.h
  460 	ui/prefs_pagesizes.h
  461 	ui/prefs_paths.h
  462 	ui/prefs_pane.h
  463 	ui/prefs_plugins.h
  464 	ui/prefs_preflightverifier.h
  465 	ui/prefs_printer.h
  466 	ui/prefs_scrapbook.h
  467 	ui/prefs_spelling.h
  468 	ui/prefs_typography.h
  469 	ui/prefs_userinterface.h
  470 	ui/prefs_itemtools.h
  471 	ui/prefs_operatortools.h
  472 	ui/prefs_pdfexport.h
  473 	ui/prefs_tableofcontents.h
  474 	ui/prefs_documentitemattributes.h
  475 	ui/printdialog.h
  476 	ui/printlanguagecombo.h
  477 	ui/printpreview.h
  478 	ui/propertiespalette.h
  479 	ui/propertiespalette_group.h
  480 	ui/propertiespalette_image.h
  481 	ui/propertiespalette_line.h
  482 	ui/propertiespalette_shadow.h
  483 	ui/propertiespalette_shape.h
  484 	ui/propertiespalette_table.h
  485 	ui/propertiespalette_text.h
  486 	ui/propertiespalette_utils.h
  487 	ui/propertiespalette_xyz.h
  488 	ui/propertywidget_advanced.h
  489 	ui/propertywidget_distance.h
  490 	ui/propertywidget_pareffect.h
  491 	ui/propertywidget_flop.h
  492 	ui/propertywidget_hyphenation.h
  493 	ui/propertywidget_optmargins.h
  494 	ui/propertywidget_orphans.h
  495 	ui/propertywidget_pathtext.h
  496 	ui/propertywidget_textcolor.h
  497 	ui/propertywidget_fontfeatures.h
  498 	ui/proptree.h
  499 	ui/query.h
  500 	ui/recoverdialog.h
  501 	ui/replacecolors.h
  502 	ui/replaceonecolor.h
  503 	ui/resourcemanager.h
  504 	ui/resourcemanagerlicense.h
  505 	ui/rulermover.h
  506 	ui/sccolorslider.h
  507 	ui/scdockpalette.h
  508 	ui/scescapecatcher.h
  509 	ui/scfilewidget.h
  510 	ui/scinputdialog.h
  511 	ui/sclistwidgetdelegate.h
  512 	ui/scmenu.h
  513 	ui/scmessagebox.h
  514 	ui/scmwmenumanager.h
  515 	ui/scrapbookpalette.h
  516 	ui/scrpalettebase.h
  517 	ui/scrspinbox.h
  518 	ui/sctablewidget.h
  519 	ui/sctextbrowser.h
  520 	ui/sctoolbar.h
  521 	ui/sctreewidget.h
  522 	ui/search.h
  523 	ui/selectobjects.h
  524 	ui/selfield.h
  525 	ui/shadebutton.h
  526 	ui/shortcutwidget.h
  527 	ui/smalignselect.h
  528 	ui/smcellstylewidget.h
  529 	ui/smcellstyle.h
  530 	ui/smcheckbox.h
  531 	ui/smcolorcombo.h
  532 	ui/smcstylewidget.h
  533 	ui/smdirectionselect.h
  534 	ui/smfontfeatures.h
  535 	ui/smtablestylewidget.h
  536 	ui/smfontcomboh.h
  537 	ui/smlinestyle.h
  538 	ui/smlinestylewidget.h
  539 	ui/smnumformatcombo.h
  540 	ui/smpstylewidget.h
  541 	ui/smradiobutton.h
  542 	ui/smreplacedia.h
  543 	ui/smsccombobox.h
  544 	ui/smscrspinbox.h
  545 	ui/smshadebutton.h
  546 	ui/smspinbox.h
  547 	ui/smlineedit.h
  548 	ui/smstyleimport.h
  549 	ui/smstyleselect.h
  550 	ui/smtablestyle.h
  551 	ui/smtabruler.h
  552 	ui/smtextstyles.h
  553 	ui/spiralvectordialog.h
  554 	ui/spiralwidget.h
  555 	ui/splash.h
  556 	ui/storyeditor.h
  557 	ui/stylecombos.h
  558 	ui/stylemanager.h
  559 	ui/styleselect.h
  560 	ui/styleview.h
  561 	ui/swatchcombo.h
  562 	ui/symbolpalette.h
  563 	ui/tablecolumnwidthsdialog.h
  564 	ui/tablesideselector.h
  565 	ui/tablerowheightsdialog.h
  566 	ui/tabmanager.h
  567 	ui/tabpdfoptions.h
  568 	ui/tabruler.h
  569 	ui/transformdialog.h
  570 	ui/transparencypalette.h
  571 	tt/simpletreemodel/treemodel.h
  572 	ui/copypagetomasterpagedialog.h
  573 	ui/createrange.h
  574 	ui/edittoolbar.h
  575 	ui/filetoolbar.h
  576 	ui/modetoolbar.h
  577 	ui/pdftoolbar.h
  578 	ui/viewtoolbar.h
  579 	ui/unicodesearch.h
  580 	ui/useprintermarginsdialog.h
  581 	ui/vruler.h
  582 	ui/weldedit.h
  583 #	#{SCRIBUS_ITEMSETTERS_CLASS}
  584 	${SCRIBUS_OSG_CLASS}
  585 	${SCRIBUS_TEXT_MOC_CLASSES}
  586 )
  587 
  588 set(SCRIBUS_SOURCES
  589 	actionmanager.cpp
  590 	actionsearch.cpp
  591 	appmodehelper.cpp
  592 	canvas.cpp
  593 	canvasgesture_cellselect.cpp
  594 	canvasgesture_columnresize.cpp
  595 	canvasgesture_linemove.cpp
  596 	canvasgesture_pan.cpp
  597 	canvasgesture_rectselect.cpp
  598 	canvasgesture_resize.cpp
  599 	canvasgesture_rowresize.cpp
  600 	canvasgesture_rulermove.cpp
  601 	canvasgesture_table.cpp
  602 	canvasgesture_tableresize.cpp
  603 	canvasmode.cpp
  604 	canvasmode_copyproperties.cpp
  605 	canvasmode_create.cpp
  606 	canvasmode_drawbezier.cpp
  607 	canvasmode_drawcalligraphic.cpp
  608 	canvasmode_drawfreehand.cpp
  609 	canvasmode_eyedropper.cpp
  610 	canvasmode_framelinks.cpp
  611 	canvasmode_imageimport.cpp
  612 	canvasmode_edit.cpp
  613 	canvasmode_editarc.cpp
  614 	canvasmode_editgradient.cpp
  615 	canvasmode_editmeshgradient.cpp
  616 	canvasmode_editmeshpatch.cpp
  617 	canvasmode_editpolygon.cpp
  618 	canvasmode_editspiral.cpp
  619 	canvasmode_edittable.cpp
  620 	canvasmode_editweldpoint.cpp
  621 	canvasmode_magnifier.cpp
  622 	canvasmode_measurements.cpp
  623 	canvasmode_nodeedit.cpp
  624 	canvasmode_normal.cpp
  625 	canvasmode_objimport.cpp
  626 	canvasmode_panning.cpp
  627 	canvasmode_rotate.cpp
  628 	cellarea.cpp
  629 	chartablemodel.cpp
  630 	chartableview.cpp
  631 	cmserrorhandling.cpp
  632 	cmsettings.cpp
  633 	collapsedtablepainter.cpp
  634 	collapsedtablepainterex.cpp
  635 	collect4output.cpp
  636 	colorblind.cpp
  637 	colorsetmanager.cpp
  638 	commonstrings.cpp
  639 	deferredtask.cpp
  640 	docinfo.cpp
  641 	documentchecker.cpp
  642 	documentinformation.cpp
  643 	exif.cpp
  644 	fileloader.cpp
  645 	filesearch.cpp
  646 	filewatcher.cpp
  647 	fontlistmodel.cpp
  648 	fpoint.cpp
  649 	fpointarray.cpp
  650 	gtaction.cpp
  651 	gtfont.cpp
  652 	gtframestyle.cpp
  653 	gtgettext.cpp
  654 	gtmeasure.cpp
  655 	gtparagraphstyle.cpp
  656 	gtstyle.cpp
  657 	gtwriter.cpp
  658 	guidemanagercore.cpp
  659 	guidesdelegate.cpp
  660 	guidesmodel.cpp
  661 	guidesview.cpp
  662 	hyphenator.cpp
  663 	iconmanager.cpp
  664 	ioapi.c
  665 	KarbonCurveFit.cpp
  666 	langdef.cpp
  667 	langmgr.cpp
  668 	latexhelpers.cpp
  669 	loadsaveplugin.cpp
  670 	localemgr.cpp
  671 	marks.cpp
  672 	menumanager.cpp
  673 	mesh.cpp
  674 	navigator.cpp
  675 	numeration.cpp
  676 	observable.cpp
  677 	nftrcreader.cpp
  678 	nftsettings.cpp
  679 	nfttemplate.cpp
  680 	nodeeditcontext.cpp
  681 	notesstyles.cpp
  682 	pageitem.cpp
  683 	pageitem_arc.cpp
  684 	pageitem_group.cpp
  685 	pageitem_imageframe.cpp
  686 	pageitem_latexframe.cpp
  687 	pageitem_line.cpp
  688 	pageitem_pathtext.cpp
  689 	pageitem_polygon.cpp
  690 	pageitem_polyline.cpp
  691 	pageitem_regularpolygon.cpp
  692 	pageitem_spiral.cpp
  693 	pageitem_symbol.cpp
  694 	pageitem_table.cpp
  695 	pageitem_textframe.cpp
  696 	pageitem_noteframe.cpp
  697 	pageitemiterator.cpp
  698 	pageitempointer.cpp
  699 	pagesize.cpp
  700 	pdf_analyzer.cpp
  701 	pdflib.cpp
  702 	pdflib_core.cpp
  703 	pdfoptions.cpp
  704 	pdfoptionsio.cpp
  705 	pdfversion.cpp
  706 	pdfwriter.cpp
  707 	pluginmanager.cpp
  708 	pp_proxy.cpp
  709 	prefscontext.cpp
  710 	prefsfile.cpp
  711 	prefsmanager.cpp
  712 	prefsreader.cpp
  713 	prefstable.cpp
  714 	printpreviewcreator.cpp
  715 	printpreviewcreator_pdf.cpp
  716 	printpreviewcreator_ps.cpp
  717 	printpreviewcreatorfactory.cpp
  718 	pslib.cpp
  719 	qtiocompressor.cpp
  720 	rawimage.cpp
  721 	rc4.c
  722 	sampleitem.cpp
  723 	scclocale.cpp
  724 	sccolor.cpp
  725 	sccolorengine.cpp
  726 	sccolorshade.cpp
  727 	sccolorstructs.cpp
  728 	scdocoutput.cpp
  729 	scdocoutput_ps2.cpp
  730 	scdomelement.cpp
  731 	scfonts.cpp
  732 	scgtplugin.cpp
  733 	schelptreemodel.cpp
  734 	scimage.cpp
  735 	scimagecacheproxy.cpp
  736 	scimagecachedir.cpp
  737 	scimagecachefile.cpp
  738 	scimagecachemanager.cpp
  739 	scimagecachewriteaction.cpp
  740 	scimagestructs.cpp
  741 	sclayer.cpp
  742 	sclockedfile.cpp
  743 	scmimedata.cpp
  744 	scpage.cpp
  745 	scpageoutput.cpp
  746 	scpageoutput_ps2.cpp
  747 	scpainter.cpp
  748 	scpainterex_ps2.cpp
  749 	scpainterexbase.cpp
  750 	scpaths.cpp
  751 	scpattern.cpp
  752 	scplugin.cpp
  753 	scpreview.cpp
  754 	scprintengine_pdf.cpp
  755 	scprintengine_ps.cpp
  756 	scraction.cpp
  757 	scribus.cpp
  758 	scribusXml.cpp
  759 	scribusapp.cpp
  760 	scribuscore.cpp
  761 	scribusdoc.cpp
  762 	scribusview.cpp
  763 	scribuswin.cpp
  764 	scslainforeader.cpp
  765 	scstreamfilter.cpp
  766 	scstreamfilter_ascii85.cpp
  767 	scstreamfilter_flate.cpp
  768 	scstreamfilter_jpeg.cpp
  769 	scstreamfilter_rc4.cpp
  770 	sctextstream.cpp
  771 	sctextstruct.cpp
  772 	scxmlstreamreader.cpp
  773 	selection.cpp
  774 	selectionrubberband.cpp
  775 	serializer.cpp
  776 	styleitem.cpp
  777 	tableborder.cpp
  778 	tablecell.cpp
  779 	tableutils.cpp
  780 	textwriter.cpp
  781 	tocgenerator.cpp
  782 	transaction.cpp
  783 	undogui.cpp
  784 	undomanager.cpp
  785 	undoobject.cpp
  786 	undostack.cpp
  787 	undostate.cpp
  788 	undotransaction.cpp
  789 	units.cpp
  790 	updatemanager.cpp
  791 	upgradechecker.cpp
  792 	urllauncher.cpp
  793 	util.cpp
  794 	util_color.cpp
  795 	util_debug.cpp
  796 	util_file.cpp
  797 	util_formats.cpp
  798 	util_ghostscript.cpp
  799 	util_layer.cpp
  800 	util_math.cpp
  801 	util_os.cpp
  802 	util_printer.cpp
  803 	util_text.cpp
  804 	vgradient.cpp
  805 	vgradientex.cpp
  806 	downloadmanager/scdlmgr.cpp
  807 	downloadmanager/scdlthread.cpp
  808 	imagedataloaders/scimgdataloader.cpp
  809 	imagedataloaders/scimgdataloader_gimp.cpp
  810 	imagedataloaders/scimgdataloader_jpeg.cpp
  811 	imagedataloaders/scimgdataloader_kra.cpp
  812 	imagedataloaders/scimgdataloader_ora.cpp
  813 	imagedataloaders/scimgdataloader_pdf.cpp
  814 	imagedataloaders/scimgdataloader_pgf.cpp
  815 	imagedataloaders/scimgdataloader_pict.cpp
  816 	imagedataloaders/scimgdataloader_png.cpp
  817 	imagedataloaders/scimgdataloader_ps.cpp
  818 	imagedataloaders/scimgdataloader_psd.cpp
  819 	imagedataloaders/scimgdataloader_qt.cpp
  820 	imagedataloaders/scimgdataloader_tiff.cpp
  821 	imagedataloaders/scimgdataloader_wpg.cpp
  822 	palettes/cxfcolor.cpp
  823 	palettes/cxfcolorspecification.cpp
  824 	palettes/cxfdocument.cpp
  825 	palettes/cxfobject.cpp
  826 	palettes/cxfmeasurementspec.cpp
  827 	palettes/cxftristimulusspec.cpp
  828 	palettes/cxfutils.cpp
  829 	palettes/paletteloader.cpp
  830 	palettes/paletteloader_adobe_acb.cpp
  831 	palettes/paletteloader_adobe_aco.cpp
  832 	palettes/paletteloader_adobe_ase.cpp
  833 	palettes/paletteloader_autocad_acb.cpp
  834 	palettes/paletteloader_cxf.cpp
  835 	palettes/paletteloader_ps.cpp
  836 	palettes/paletteloader_sk1.cpp
  837 	palettes/paletteloader_swatchbook.cpp
  838 	third_party/fparser/fpoptimizer.cc
  839 	third_party/fparser/fparser.cc
  840 	ui/about.cpp
  841 	ui/aboutplugins.cpp
  842 	ui/actionsearchdialog.cpp
  843 	ui/adjustcmsdialog.cpp
  844 	ui/aligndistribute.cpp
  845 	ui/alignselect.cpp
  846 	ui/directionselect.cpp
  847 	ui/annot.cpp
  848 	ui/annota.cpp
  849 	ui/applytemplatedialog.cpp
  850 	ui/arcwidget.cpp
  851 	ui/arcvectordialog.cpp
  852 	ui/arrowchooser.cpp
  853 	ui/autoform.cpp
  854 	ui/autoformbuttongroup.cpp
  855 	ui/basepointwidget.cpp
  856 	ui/bookmarkpalette.cpp
  857 	ui/bookmwin.cpp
  858 	ui/buttonicon.cpp
  859 	ui/charselect.cpp
  860 	ui/charselectenhanced.cpp
  861 	ui/charzoom.cpp
  862 	ui/checkDocument.cpp
  863 	ui/clockwidget.cpp
  864 	ui/cmsprefs.cpp
  865 	ui/cmykfw.cpp
  866 	ui/collectforoutput_ui.cpp
  867 	ui/colorchart.cpp
  868 	ui/colorcombo.cpp
  869 	ui/colorlistbox.cpp
  870 	ui/colorlistmodel.cpp
  871 	ui/colorsandfills.cpp
  872 	ui/contentpalette.cpp
  873 	ui/contentpalette_default.cpp
  874 	ui/contentpalette_page.cpp
  875 	ui/contextmenu.cpp
  876 	ui/cpalette.cpp
  877 	ui/cupsoptions.cpp
  878 	ui/curvewidget.cpp
  879 	ui/customfdialog.cpp
  880 	ui/cxfimportdialog.cpp
  881 	ui/dasheditor.cpp
  882 	ui/dcolor.cpp
  883 	ui/delpages.cpp
  884 	ui/downloadspalette.cpp
  885 	ui/editor.cpp
  886 	ui/effectsdialog.cpp
  887 	ui/extimageprops.cpp
  888 	ui/filedialogeventcatcher.cpp
  889 	ui/fontcombo.cpp
  890 	ui/fontembeddingcombo.cpp
  891 	ui/fontembeddingmodel.cpp
  892 	ui/fontlistview.cpp
  893 	ui/fontreplacedialog.cpp
  894 	ui/gradientaddedit.cpp
  895 	ui/gradienteditor.cpp
  896 	ui/gradientvectordialog.cpp
  897 	ui/gradientpreview.cpp
  898 	ui/gtdialogs.cpp
  899 	ui/gtfiledialog.cpp
  900 	ui/guidemanager.cpp
  901 	ui/helpbrowser.cpp
  902 	ui/hruler.cpp
  903 	ui/hyask.cpp
  904 	ui/imageinfodialog.cpp
  905 	ui/inlinepalette.cpp
  906 	ui/insertTable.cpp
  907 	ui/insertaframe.cpp
  908 	ui/inserttablecolumnsdialog.cpp
  909 	ui/inserttablerowsdialog.cpp
  910 	ui/inspage.cpp
  911 	ui/javadocs.cpp
  912 	ui/latexeditor.cpp
  913 	ui/layers.cpp
  914 	ui/linecombo.cpp
  915 	ui/linkbutton.cpp
  916 	ui/loremipsum.cpp
  917 	ui/mark2item.cpp
  918 	ui/mark2mark.cpp
  919 	ui/markanchor.cpp
  920 	ui/marknote.cpp
  921 	ui/marksmanager.cpp
  922 	ui/markvariabletext.cpp
  923 	ui/marginpresetlayout.cpp
  924 	ui/marginwidget.cpp
  925 	ui/newmarginwidget.cpp
  926 	ui/mergedoc.cpp
  927 	ui/missing.cpp
  928 	ui/movepage.cpp
  929 	ui/multipleduplicate.cpp
  930 	ui/multiprogressdialog.cpp
  931 	ui/measurements.cpp
  932 	ui/newdocdialog.cpp
  933 	ui/newtemp.cpp
  934 	ui/nftdialog.cpp
  935 	ui/nftwidget.cpp
  936 	ui/nodeeditpalette.cpp
  937 	ui/notesstyleseditor.cpp
  938 	ui/numformatcombo.cpp
  939 	ui/outlinepalette.cpp
  940 	ui/outputpreview_pdf.cpp
  941 	ui/outputpreview_ps.cpp
  942 	ui/outputpreviewbase.cpp
  943 	ui/pageitemattributes.cpp
  944 	ui/pagelayout.cpp
  945 	ui/pagepalette.cpp
  946 	ui/pagepalette_pages.cpp
  947 	ui/pagepalette_masterpages.cpp
  948 	ui/pagepalette_widgets.cpp
  949 	ui/pagepropertiesdialog.cpp
  950 	ui/pageselector.cpp
  951 	ui/patternpropsdialog.cpp
  952 	ui/pdfexportdialog.cpp
  953 	ui/pdfversioncombo.cpp
  954 	ui/pdfversionmodel.cpp
  955 	ui/picsearch.cpp
  956 	ui/picsearchoptions.cpp
  957 	ui/picstatus.cpp
  958 	ui/polygonwidget.cpp
  959 	ui/polyprops.cpp
  960 	ui/preferencesdialog.cpp
  961 	ui/prefs_colormanagement.cpp
  962 	ui/prefs_display.cpp
  963 	ui/prefs_documentinformation.cpp
  964 	ui/prefs_documentsections.cpp
  965 	ui/prefs_documentsetup.cpp
  966 	ui/prefs_externaltools.cpp
  967 	ui/prefs_fonts.cpp
  968 	ui/prefs_guides.cpp
  969 	ui/prefs_hyphenator.cpp
  970 	ui/prefs_imagecache.cpp
  971 	ui/prefs_keyboardshortcuts.cpp
  972 	ui/prefs_miscellaneous.cpp
  973 	ui/prefs_pagesizes.cpp
  974 	ui/prefs_paths.cpp
  975 	ui/prefs_plugins.cpp
  976 	ui/prefs_preflightverifier.cpp
  977 	ui/prefs_printer.cpp
  978 	ui/prefs_scrapbook.cpp
  979 	ui/prefs_spelling.cpp
  980 	ui/prefs_typography.cpp
  981 	ui/prefs_userinterface.cpp
  982 	ui/prefs_itemtools.cpp
  983 	ui/prefs_operatortools.cpp
  984 	ui/prefs_pdfexport.cpp
  985 	ui/prefs_tableofcontents.cpp
  986 	ui/prefs_documentitemattributes.cpp
  987 	ui/printdialog.cpp
  988 	ui/printlanguagecombo.cpp
  989 	ui/printpreview.cpp
  990 	ui/propertiespalette.cpp
  991 	ui/propertiespalette_image.cpp
  992 	ui/propertiespalette_group.cpp
  993 	ui/propertiespalette_line.cpp
  994 	ui/propertiespalette_shadow.cpp
  995 	ui/propertiespalette_shape.cpp
  996 	ui/propertiespalette_table.cpp
  997 	ui/propertiespalette_text.cpp
  998 	ui/propertiespalette_utils.cpp
  999 	ui/propertiespalette_xyz.cpp
 1000 	ui/propertywidget_advanced.cpp
 1001 	ui/propertywidget_distance.cpp
 1002 	ui/propertywidget_pareffect.cpp
 1003 	ui/propertywidget_flop.cpp
 1004 	ui/propertywidget_hyphenation.cpp
 1005 	ui/propertywidget_optmargins.cpp
 1006 	ui/propertywidget_orphans.cpp
 1007 	ui/propertywidget_pathtext.cpp
 1008 	ui/propertywidget_textcolor.cpp
 1009 	ui/propertywidget_fontfeatures.cpp
 1010 	ui/propertywidgetbase.cpp
 1011 	ui/proptree.cpp
 1012 	ui/query.cpp
 1013 	ui/recoverdialog.cpp
 1014 	ui/replacecolors.cpp
 1015 	ui/replaceonecolor.cpp
 1016 	ui/resourcemanager.cpp
 1017 	ui/resourcemanagerlicense.cpp
 1018 	ui/rulermover.cpp
 1019 	ui/sccolorslider.cpp
 1020 	ui/scdockpalette.cpp
 1021 	ui/scescapecatcher.cpp
 1022 	ui/scfilewidget.cpp
 1023 	ui/scinputdialog.cpp
 1024 	ui/sclistwidgetdelegate.cpp
 1025 	ui/scmenu.cpp
 1026 	ui/scmessagebox.cpp
 1027 	ui/scmwmenumanager.cpp
 1028 	ui/scrapbookpalette.cpp
 1029 	ui/scresizecursor.cpp
 1030 	ui/scrpalettebase.cpp
 1031 	ui/scrspinbox.cpp
 1032 	ui/sctablewidget.cpp
 1033 	ui/sctextbrowser.cpp
 1034 	ui/sctoolbar.cpp
 1035 	ui/sctreewidget.cpp
 1036 	ui/search.cpp
 1037 	ui/selectobjects.cpp
 1038 	ui/selfield.cpp
 1039 	ui/shadebutton.cpp
 1040 	ui/shortcutwidget.cpp
 1041 	ui/smalignselect.cpp
 1042 	ui/smcellstylewidget.cpp
 1043 	ui/smcellstyle.cpp
 1044 	ui/smcheckbox.cpp
 1045 	ui/smcolorcombo.cpp
 1046 	ui/smcstylewidget.cpp
 1047 	ui/smdirectionselect.cpp
 1048 	ui/smfontfeatures.cpp
 1049 	ui/smfontcomboh.cpp
 1050 	ui/smlinestyle.cpp
 1051 	ui/smlinestylewidget.cpp
 1052 	ui/smnumformatcombo.cpp
 1053 	ui/smpstylewidget.cpp
 1054 	ui/smradiobutton.cpp
 1055 	ui/smreplacedia.cpp
 1056 	ui/smsccombobox.cpp
 1057 	ui/smscrspinbox.cpp
 1058 	ui/smshadebutton.cpp
 1059 	ui/smspinbox.cpp
 1060 	ui/smlineedit.cpp
 1061 	ui/smstyleimport.cpp
 1062 	ui/smstyleselect.cpp
 1063 	ui/smtablestylewidget.cpp
 1064 	ui/smtablestyle.cpp
 1065 	ui/smtabruler.cpp
 1066 	ui/smtextstyles.cpp
 1067 	ui/spiralvectordialog.cpp
 1068 	ui/spiralwidget.cpp
 1069 	ui/splash.cpp
 1070 	ui/storyeditor.cpp
 1071 	ui/stylecombos.cpp
 1072 	ui/stylemanager.cpp
 1073 	ui/styleselect.cpp
 1074 	ui/styleview.cpp
 1075 	ui/swatchcombo.cpp
 1076 	ui/symbolpalette.cpp
 1077 	ui/tablecolumnwidthsdialog.cpp
 1078 	ui/tablerowheightsdialog.cpp
 1079 	ui/tablesideselector.cpp
 1080 	ui/tabmanager.cpp
 1081 	ui/tabpdfoptions.cpp
 1082 	ui/tabruler.cpp
 1083 	ui/transformdialog.cpp
 1084 	ui/transparencypalette.cpp
 1085 	tt/simpletreemodel/treeitem.cpp
 1086 	tt/simpletreemodel/treemodel.cpp
 1087 	ui/copypagetomasterpagedialog.cpp
 1088 	ui/createrange.cpp
 1089 	ui/edittoolbar.cpp
 1090 	ui/filetoolbar.cpp
 1091 	ui/helpnavigation.cpp
 1092 	ui/modetoolbar.cpp
 1093 	ui/pdftoolbar.cpp
 1094 	ui/viewtoolbar.cpp
 1095 	ui/unicodesearch.cpp
 1096 	ui/vruler.cpp
 1097 	ui/useprintermarginsdialog.cpp
 1098 	ui/weldedit.cpp
 1099 #	#{SCRIBUS_ITEMSETTERS_SRC}
 1100 	${SCRIBUS_OSG_SRC}
 1101 	${SCRIBUS_GMAGICK_SRC}
 1102 	${SCRIBUS_TEXT_LIB_SOURCES}
 1103 )
 1104 
 1105 if(NOT HAVE_HYPHEN)
 1106 	include_directories(third_party/hyphen)
 1107 	set(SCRIBUS_SOURCES
 1108 	${SCRIBUS_SOURCES}
 1109 	third_party/hyphen/hnjalloc.c
 1110 	third_party/hyphen/hyphen.c
 1111 	)
 1112 endif()
 1113 
 1114 
 1115 
 1116 if(WIN32)
 1117 	set(SCRIBUS_MOC_WIN32_ONLY_CLASSES scprintengine_gdi.h)
 1118 	set(SCRIBUS_WIN32_ONLY_SOURCES
 1119 		printpreviewcreator_gdi.cpp
 1120 		scpainterex_cairo.cpp
 1121 		scprintengine_gdi.cpp
 1122 		)
 1123 	set(SCRIBUS_MAIN_CPP main_win32.cpp)
 1124 else()
 1125 	set(SCRIBUS_MOC_WIN32_ONLY_CLASSES)
 1126 	set(SCRIBUS_WIN32_ONLY_SOURCES)
 1127 	set(SCRIBUS_MAIN_CPP main.cpp)
 1128 endif()
 1129 
 1130 QT5_WRAP_UI(SCRIBUS_UI_SOURCES ${SCRIBUS_UI_SRC} )
 1131 
 1132 QT5_WRAP_CPP(SCRIBUS_MOC_SOURCES
 1133 	${SCRIBUS_MOC_CLASSES}
 1134 	${SCRIBUS_MOC_WIN32_ONLY_CLASSES}
 1135 	)
 1136 
 1137 link_directories(
 1138 	${CMAKE_CURRENT_BINARY_DIR}/colormgmt
 1139 	${CMAKE_CURRENT_BINARY_DIR}/desaxe
 1140 	${CMAKE_CURRENT_BINARY_DIR}/fonts
 1141 	${CMAKE_CURRENT_BINARY_DIR}/styles
 1142 	${CMAKE_CURRENT_BINARY_DIR}/third_party/wpg
 1143 	${CMAKE_CURRENT_BINARY_DIR}/third_party/pgf
 1144 	${CMAKE_CURRENT_BINARY_DIR}/third_party/rtf-qt
 1145 	${CMAKE_CURRENT_BINARY_DIR}/third_party/zip
 1146 	${HARFBUZZ_LIBRARY_DIRS}
 1147 	${ICU_LIBRARY_DIRS}
 1148 )
 1149 
 1150 if(WITH_TESTS)
 1151 	link_directories( ${CMAKE_CURRENT_BINARY_DIR}/tests )
 1152 endif()
 1153 
 1154 if(HAVE_OSG)
 1155 	link_directories( ${CMAKE_CURRENT_BINARY_DIR}/third_party/prc )
 1156 endif ()
 1157 
 1158 if(HAVE_BOOST)
 1159 	link_directories( ${CMAKE_CURRENT_BINARY_DIR}/third_party/lib2geom )
 1160 endif ()
 1161 
 1162 set(SCRIBUS_COLORMGMT_LIB "scribus_colormgmt_lib")
 1163 
 1164 if(WITH_TESTS)
 1165 	set(SCRIBUS_TESTS_LIB "scribus_tests_lib")
 1166 else()
 1167 	set(SCRIBUS_TESTS_LIB "")
 1168 endif()
 1169 set(SCRIBUS_STYLES_LIB "scribus_styles_lib")
 1170 set(SCRIBUS_FONTS_LIB "scribus_fonts_lib")
 1171 set(SCRIBUS_DESAXE_LIB "scribus_desaxe_lib")
 1172 if(HAVE_OSG)
 1173 	set(SCRIBUS_PRC_LIB "scribus_prc_lib")
 1174 endif ()
 1175 if(HAVE_BOOST)
 1176 	set(SCRIBUS_2GEOM_LIB "scribus_2geom_lib")
 1177 endif ()
 1178 set(SCRIBUS_WPG_LIB "scribus_wpg_lib")
 1179 set(SCRIBUS_PGF_LIB "scribus_pgf_lib")
 1180 set(SCRIBUS_ZIP_LIB "scribus_zip_lib")
 1181 set(SCRIBUS_RTF_LIB "scribus_rtf_lib")
 1182 
 1183 if (GMAGICK_FOUND)
 1184 	message(STATUS "GMAGICK: Libs: ${GMAGICK_LDFLAGS}, Inc: ${GMAGICK_INCLUDE_DIRS}, Ldflags: ${GMAGICK_LDFLAGS}")
 1185 	include_directories(
 1186 		BEFORE ${GMAGICK_INCLUDE_DIRS}
 1187 	)
 1188 	link_directories(
 1189 		${GMAGICK_LIBRARY}
 1190 	)
 1191 endif()
 1192 
 1193 if(HAVE_PODOFO)
 1194 	if(OPENSSL_FOUND)
 1195 		message(STATUS "Including OpenSSL files for PoDoFo >= 0.9.5")
 1196 		include_directories(
 1197 			${OPENSSL_INCLUDE_DIR}
 1198 		)
 1199 	else()
 1200 #		message(STATUS "Not including OpenSSL files because this system's PoDoFo does not require them")
 1201 	endif()
 1202 	include_directories(
 1203 		${LIBPODOFO_INCLUDE_DIR}
 1204 	)
 1205 
 1206 endif()
 1207 
 1208 if(HAVE_HYPHEN)
 1209 	target_link_libraries(${EXE_NAME}
 1210 	${HYPHEN_LIBRARY}
 1211 	)
 1212 endif()
 1213 
 1214 
 1215 if(GESTURE_FRAME_PREVIEW)
 1216 	 message(STATUS "Enable gesture frame preview [experimental]")
 1217 	 set(GESTURE_FRAME_PREVIEW_SOURCES	pageitempreview.cpp)
 1218 	 add_definitions(-DGESTURE_FRAME_PREVIEW)
 1219 endif()
 1220 
 1221 if(APPLEBUNDLE)
 1222 	set(EXE_NAME "Scribus${TAG_VERSION}" CACHE STRING "Scribus version")
 1223 else()
 1224 	set(EXE_NAME "scribus${TAG_VERSION}" CACHE STRING "Scribus version")
 1225 endif()
 1226 
 1227 if(COMMAND cmake_policy)
 1228 	cmake_policy(SET CMP0003 OLD)
 1229 endif()
 1230 
 1231 if(HAVE_OSG)
 1232 	add_executable(${EXE_NAME}
 1233 		${SCRIBUS_MOC_SOURCES}
 1234 		${SCRIBUS_SOURCES}
 1235 		${SCRIBUS_MAIN_CPP}
 1236 		${SCRIBUS_UI_SOURCES}
 1237 		${SCRIBUS_STYLES_SOURCES}
 1238 		${SCRIBUS_COLORMGMT_SOURCES}
 1239 		${SCRIBUS_FONTS_SOURCES}
 1240 		${SCRIBUS_DESAXE_SOURCES}
 1241 		${SCRIBUS_WIN32_ONLY_SOURCES}
 1242 		${GESTURE_FRAME_PREVIEW_SOURCES}
 1243 		${SCRIBUS_PRC_SOURCES}
 1244 	)
 1245 else()
 1246 	add_executable(${EXE_NAME}
 1247 		${SCRIBUS_MOC_SOURCES}
 1248 		${SCRIBUS_SOURCES}
 1249 		${SCRIBUS_MAIN_CPP}
 1250 		${SCRIBUS_UI_SOURCES}
 1251 		${SCRIBUS_STYLES_SOURCES}
 1252 		${SCRIBUS_COLORMGMT_SOURCES}
 1253 		${SCRIBUS_FONTS_SOURCES}
 1254 		${SCRIBUS_DESAXE_SOURCES}
 1255 		${SCRIBUS_WIN32_ONLY_SOURCES}
 1256 		${GESTURE_FRAME_PREVIEW_SOURCES}
 1257 	)
 1258 endif ()
 1259 
 1260 if(WIN32)
 1261 	set_target_properties(${EXE_NAME}
 1262 		PROPERTIES
 1263 		COMPILE_FLAGS -DCOMPILE_SCRIBUS_MAIN_APP
 1264 		ENABLE_EXPORTS TRUE
 1265 	)
 1266 	set(WIN32_ONLY_LIBS mscms.lib)
 1267 else()
 1268 	set(WIN32_ONLY_LIBS)
 1269 endif()
 1270 
 1271 ##TEST FIX FOR 6897
 1272 if (CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" OR CMAKE_SYSTEM_NAME STREQUAL "OpenBSD")
 1273 # Use the -E / --export-dynamic flag to ensure that symbols in the Scribus
 1274 # binary are in the public symbol table for plugins. The symbols must also
 1275 # be set as SCRIBUS_API if we're building with -fvisibility=hidden .
 1276 # Should fix bug 6897 .
 1277 	set_target_properties(${EXE_NAME} PROPERTIES LINK_FLAGS -Wl,-E)
 1278 endif ()
 1279 if (GCC AND NOT WIN32)
 1280 # Use the -E / --export-dynamic flag to ensure that symbols in the Scribus
 1281 # binary are in the public symbol table for plugins. The symbols must also
 1282 # be set as SCRIBUS_API if we're building with -fvisibility=hidden .
 1283 # Should fix bug 6897 .
 1284 	set_target_properties(${EXE_NAME} PROPERTIES LINK_FLAGS -Wl,-E)
 1285 endif ()
 1286 ##
 1287 
 1288 
 1289 #Set up libraries to link with all found packages
 1290 include_directories(${CAIRO_INCLUDE_DIR})
 1291 target_link_libraries(${EXE_NAME} ${CAIRO_LIBRARIES})
 1292 link_directories(${PREFIX_CAIRO_LIB})
 1293 set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_RPATH};${PREFIX_CAIRO_LIB}")
 1294 
 1295 message("RPATH: ${CMAKE_INSTALL_RPATH}")
 1296 
 1297 target_link_libraries(${EXE_NAME}
 1298 	${Qt5Core_LIBRARIES}
 1299 	${Qt5Widgets_LIBRARIES}
 1300 	${Qt5Gui_LIBRARIES}
 1301 	${Qt5Xml_LIBRARIES}
 1302 	${Qt5Network_LIBRARIES}
 1303 	${Qt5OpenGL_LIBRARIES}
 1304 	${Qt5PrintSupport_LIBRARIES}
 1305 #	${Qt5Quick_LIBRARIES}
 1306 	${CUPS_LIBRARIES}
 1307 	${FREETYPE_LIBRARIES}
 1308 	${HARFBUZZ_LIBRARIES}
 1309 	${ICU_LIBRARIES}
 1310 #	${FONTCONFIG_LIBRARIES}
 1311 	${LIBXML2_LIBRARIES}
 1312 	${TIFF_LIBRARIES}
 1313 	${PNG_LIBRARIES}
 1314 	${JPEG_LIBRARIES}
 1315 	${ZLIB_LIBRARIES}
 1316 	${WIN32_ONLY_LIBS}
 1317 	${GMAGICK_LIBRARIES}
 1318 )
 1319 
 1320 if (TARGET Fontconfig::Fontconfig)
 1321 	target_link_libraries(${EXE_NAME}
 1322 		Fontconfig::Fontconfig
 1323 	)
 1324 endif()
 1325 
 1326 
 1327 
 1328 if (NOT WIN32 AND NOT HAIKU)
 1329 	target_link_libraries(${EXE_NAME}
 1330 		${CUPS_LIBRARIES}
 1331 	)
 1332 endif ()
 1333 
 1334 # required to resolve symbols from libdl when ld is called with --no-add-needed
 1335 # #9310 for the OpenBSD addition
 1336 if(UNIX AND NOT CMAKE_SYSTEM_NAME STREQUAL "OpenBSD" AND NOT CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" AND NOT HAIKU)
 1337 	target_link_libraries(${EXE_NAME} dl)
 1338 endif()
 1339 
 1340 # #9311 for the OpenBSD addition
 1341 if(CMAKE_SYSTEM_NAME STREQUAL "OpenBSD" OR CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
 1342 	target_link_libraries(${EXE_NAME} util execinfo)
 1343 endif()
 1344 
 1345 if(HAIKU)
 1346 	target_link_libraries(${EXE_NAME} execinfo)
 1347 endif(HAIKU)
 1348 
 1349 if(WIN32)
 1350 	target_link_libraries(${EXE_NAME} ${QT_QTMAIN_LIBRARY})
 1351 endif()
 1352 
 1353 if(APPLE)
 1354 	target_link_libraries(${EXE_NAME}
 1355 	"-undefined dynamic_lookup"
 1356 	"-framework CoreFoundation" )
 1357 endif()
 1358 
 1359 if (WANT_SVNVERSION)
 1360 	add_dependencies(${EXE_NAME} svnheader)
 1361 endif ()
 1362 
 1363 target_link_libraries(${EXE_NAME}
 1364 	${SCRIBUS_COLORMGMT_LIB}
 1365 	${SCRIBUS_DESAXE_LIB}
 1366 	${SCRIBUS_STYLES_LIB}
 1367 	${SCRIBUS_FONTS_LIB}
 1368 	${SCRIBUS_WPG_LIB}
 1369 	${SCRIBUS_PGF_LIB}
 1370 	${SCRIBUS_ZIP_LIB}
 1371 	${SCRIBUS_RTF_LIB}
 1372 	${LCMS2_LIBRARIES}
 1373 )
 1374 
 1375 if(WITH_TESTS)
 1376 	target_link_libraries(${EXE_NAME}
 1377 		${QT_QTTEST_LIBRARY}
 1378 		${SCRIBUS_TESTS_LIB}
 1379 	)
 1380 endif()
 1381 
 1382 if(HAVE_PODOFO)
 1383 	target_link_libraries(${EXE_NAME}
 1384 		${LIBPODOFO_LIBRARY}
 1385 	)
 1386 endif()
 1387 
 1388 if(HAVE_OSG)
 1389 	target_link_libraries(${EXE_NAME}
 1390 		${OPENTHREADS_LIBRARY}
 1391 		${OSG_LIBRARY}
 1392 		${OSGGA_LIBRARY}
 1393 		${OSGUTIL_LIBRARY}
 1394 		${OSGDB_LIBRARY}
 1395 		${OSGVIEWER_LIBRARY}
 1396 		${OSGTEXT_LIBRARY}
 1397 		${SCRIBUS_PRC_LIB}
 1398 	)
 1399 endif()
 1400 
 1401 if (HAVE_BOOST)
 1402 	target_link_libraries(${EXE_NAME}
 1403 		${SCRIBUS_2GEOM_LIB}
 1404 	)
 1405 endif()
 1406 
 1407 # Now build plugins
 1408 
 1409 set(PLUGIN_LIBRARIES
 1410 	${Qt5Core_LIBRARIES}
 1411 	${Qt5Widgets_LIBRARIES}
 1412 	${Qt5Gui_LIBRARIES}
 1413 	${Qt5Xml_LIBRARIES}
 1414 	${Qt5Network_LIBRARIES}
 1415 	${Qt5OpenGL_LIBRARIES}
 1416 	${LIBXML2_LIBRARIES}
 1417 	${ZLIB_LIBRARIES}
 1418 )
 1419 
 1420 if(WIN32)
 1421 	# IF your plugin needs more than this, please link them privately
 1422 	# in the CMakeLists.txt for your plugin.
 1423 	set(PLUGIN_LIBRARIES
 1424 #		${QT_LIBRARIES} part of #7210
 1425 		${PLUGIN_LIBRARIES}
 1426 		${EXE_NAME}
 1427 	)
 1428 endif()
 1429 if(APPLE)
 1430 	set(PLUGIN_LIBRARIES
 1431 		${PLUGIN_LIBRARIES}
 1432 		"-undefined dynamic_lookup"
 1433 	)
 1434 endif()
 1435 message(STATUS ${PLUGIN_LIBRARIES})
 1436 
 1437 add_subdirectory(plugins)
 1438 
 1439 #do we want a lib suffix on osx? doubt it
 1440 if(APPLEBUNDLE)
 1441 	install(DIRECTORY DESTINATION MacOS)
 1442 	install(TARGETS ${EXE_NAME}
 1443 	RUNTIME DESTINATION MacOS
 1444 	LIBRARY DESTINATION lib
 1445 	)
 1446 #	add_custom_command(TARGET ${EXE_NAME} POST_BUILD
 1447 #	COMMAND ${CMAKE_COMMAND} ARGS -Dinput_file=${CMAKE_CURRENT_BINARY_DIR}/${EXE_NAME}.app/Contents/MacOS/${EXE_NAME} -P ${CMAKE_MODULE_PATH}/ScribusIngestOSXBundleLibraries.cmake
 1448 #	)
 1449 #message(STATUS "Installing apple bundle")
 1450 
 1451 #	set(APPS "${APPLE_APP_DIR}")
 1452 #	set(DIRS ${QT_LIBRARY_DIRS})
 1453 #	install(CODE "
 1454 #		file(GLOB_RECURSE QTPLUGINS
 1455 #		  \"\${CMAKE_INSTALL_PREFIX}/${LIBDIR}/plugins/*${CMAKE_SHARED_LIBRARY_SUFFIX}\")
 1456 #		include(BundleUtilities)
 1457 #		fixup_bundle(\"${APPS}\" \"\${QTPLUGINS}\" \"${DIRS}\")
 1458 #		" COMPONENT Runtime)
 1459 
 1460 
 1461 else()
 1462 	if(WIN32)
 1463 		install(TARGETS ${EXE_NAME}
 1464 			RUNTIME DESTINATION .
 1465 			LIBRARY DESTINATION ${LIB_DIR_NAME}
 1466 		)
 1467 	else()
 1468 		install(TARGETS ${EXE_NAME}
 1469 			RUNTIME DESTINATION bin
 1470 			LIBRARY DESTINATION ${LIB_DIR_NAME}
 1471 		)
 1472 	endif()
 1473 endif()
 1474 
 1475 #Install our header files, selected from all existing dirs, excluding unwanted directories and svn files
 1476 if(WANT_HEADERINSTALL)
 1477 	message(STATUS "Source header files will be installed")
 1478 	install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/ DESTINATION ${INCLUDEDIR}
 1479 		FILES_MATCHING
 1480 		PATTERN "*.h"
 1481 		PATTERN "dicts" EXCLUDE
 1482 		PATTERN "doc" EXCLUDE
 1483 		PATTERN "dtd" EXCLUDE
 1484 		PATTERN "editorconfig" EXCLUDE
 1485 		PATTERN "icon*" EXCLUDE
 1486 		PATTERN "manpages" EXCLUDE
 1487 		PATTERN "old" EXCLUDE
 1488 		PATTERN ".svn" EXCLUDE
 1489 	)
 1490 else()
 1491 	message(STATUS "No source header files will be installed")
 1492 endif()
 1493 
 1494 #Install our stylesheet
 1495 install(FILES
 1496 	scribus.css
 1497 	DESTINATION ${LIBDIR}
 1498 )