CMake Build Options

From Scribus Wiki
Revision as of 22:58, 14 June 2012 by Owencook (talk | contribs) (Probable fix for segfaults from some qt themes)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


These are the options for the CMake command line supported by Scribus:

Confirmed working

  • WITH_PODOFO : BOOL: Enable support for PDF embedded in AI import
  • WANT_QT3SUPPORT: BOOL: Turn on Qt3 support in Qt when building, defaults to off, we don't need Qt3 support
  • WANT_DEBUG : BOOL : Turn on debugging and turn off stripping of debug information
  • WANT_RELEASEWITHDEBUG : BOOL : Set release mode but keep debugging information
  • WANT_DISTROBUILD : Turn off RPATH (SET(CMAKE_SKIP_RPATH TRUE) and SET(CMAKE_INSTALL_RPATH ""))
  • WANT_NORPATH : Turn off RPATH (SET(CMAKE_SKIP_RPATH TRUE) and SET(CMAKE_INSTALL_RPATH ""))
  • WANT_NO_EXAMPLES (1.4.2+, 1.5.0+) : BOOL :Set this to not install the scripter examples scripts
  • WANT_NO_TEMPLATES (1.4.2+, 1.5.0+) : BOOL: Set this to not install the document templates
  • WANT_VERSIONING (prior to 1.4.0, and higher) : BOOL :Add version tags to the installation directories for installations allowing multiple versions to be installed
  • APPLICATION_DATA_DIR : PATH : specify the user configuration directory at compile time
  • WANT_CAIRO : BOOL : Turn on using cairo as the rendering library, default
  • WANT_QTARTHUR : BOOL: Turn on Qt Arthur as the rendering library (DEPRECATED WITH 1.5.x)
  • WANT_NOHEADERINSTALL : BOOL: Do not install the headers (if you don't intend to develop with Scribus, turn this off)
  • WITH_ASPELL : BOOL : Turn on aspell spelling support
  • WANT_HUNSPELL: BOOL : Turn on hunspell spelling support (1.4.2 and higher)
  • WANT_GUI_LANG: STRING : Select GUI languages to install. Useful for speeding up regular build processes or limiting install size, eg: WANT_GUI_LANG="en_GB;de;fr"
  • WANT_SYSTEM_CAIRO=1 : Removes the internal cairo,(may not be necessary). See Resolved Bug 9753

OS X Specific

  • BUILD_OSX_BUNDLE : Set some options relating to building the OSX bundle
  • WANT_UNIVERSAL_BUNDLE : BOOL : Attempt to build a PPC/Intel binary bundle for OSX
  • WANT_QT4MAC_COCOA : BOOL : Where the OSX build machine supports Carbon and Cocoa, use Cocoa

Unversioned or prior to 1.4.0 (work in progress)

  • WANT_GRAPHICSMAGICK: BOOL :
  • WANT_NOOSG : BOOL :
  • WANT_SYSTEM_CAIRO: BOOL :
  • WITH_BOOST: BOOL :
  • WANT_LIB64 :