CopperSpice Overview  1.5.1
Build Options

The CopperSpice build can be customized by setting the flags shown in the following table. The CFLAGS and CXXFLAGS are valid for both Autotools and CMake.


Option Description Notes
CFLAGS="-D<define>" Add an explicit define to the preprocessor
CFLAGS="-I<path>" Add an explicit include path
CXXFLAGS="-Os" Turns debug OFF and optimizes for size Debug is ON by default
CXXFLAGS="-DCS_Debug" Turns additional CopperSpice debug messages ON Debug messages are OFF by default
LDFLAGS="-L<path>" Add an explicit library path
– –prefix <path> Path is the folder where CopperSpice is installed Default value is the current folder
– –help Display help information
– –disable-openssl Do not build OpenSSL with the CsNetwork library Autotools
– –disable-multimedia Do not compile the CsMultimedia library Autotools
– –disable-phonon Do not compile the CsPhonon library Autotools
– –disable-webkit Do not compile the CsWebKit library Autotools
–DCMAKE_DISABLE_FIND_PACKAGE_OpenSSL=TRUE Do not build OpenSSL with the CsNetwork library CMake
–DWITH_MULTIMEDIA=NO Do not compile the CsMultimedia library CMake
–DWITH_OPENGL=NO Do not compile the CsOpenGL library CMake
–DWITH_PHONON=NO Do not compile the CsPhonon library CMake
–DWITH_WEBKIT=NO Do not compile the CsWebKit library CMake


Bundled Image Libraries

The following image formats are built directly into the CopperSpice CsGui library.

  • bmp
  • gif
  • ico
  • jpeg
  • mng
  • png
  • pbm
  • pgm
  • ppm
  • tiff
  • xbm
  • xpm

Bundled DBMS Support

The following SQL driver is built directly into the CopperSpice CsSql library.

  • QSQLITE

Other SQL Drivers

The CopperSpice build system will automatically detect client libraries installed on your computer. If configure or CMake detects a DBMS the appropriate SQL drivers will be built.

Refer to Building SQL Drivers for more information.

OpenSSL

The CopperSpice build system will automatically detect if OpenSSL is available on your computer. If configure or CMake detects OpenSSL then support for SSL will be directly built into the CopperSpice CsNetwork library.