CopperSpice Overview
Build Options

The CopperSpice build can be customized by passing options to CMake as shown in the following table.

Option Description
-DWITH_MULTIMEDIA=NO Do not build CsMultimedia
-DWITH_OPENGL=NO Do not build CsOpenGL
-DWITH_WEBKIT=NO Do not build CsWebKit
-DCMAKE_DISABLE_FIND_PACKAGE_OpenSSL=TRUE Do not build CsNetwork with OpenSSL
-DCMAKE_DISABLE_FIND_PACKAGE_PostgreSQL=TRUE Do not build the CsSqlPsql plugin
-DCMAKE_DISABLE_FIND_PACKAGE_ZLIB=TRUE Do not search for zlib, use the version bundled with CS
-DOPENSSL_ROOT_DIR=/C/OPENSSL/DEPLOY Path to OpenSSL (Optional 3rd Party Library)
-DCMAKE_BUILD_TYPE=Debug Builds in debug mode
-DCMAKE_BUILD_TYPE=Release Builds in release mode
-DCMAKE_C_FLAGS="-D<define>" Add an explicit define for the preprocessor
-DCMAKE_C_FLAGS="-I<path>" Add an explicit include path
-DCMAKE_CXX_FLAGS="-m32" Compile C++ in 32-bit mode on a 64-bit system
-DCMAKE_C_FLAGS="-m32" Compile C files in 32-bit mode on a 64-bit system
-DCMAKE_SHARED_LINKER_FLAGS="-m32" Link in 32-bit mode on a 64-bit system
-DCMAKE_INSTALL_PREFIX=/c/cs_lib Path where the project will be installed


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 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 CMake detects OpenSSL then support for SSL will be automatically built into the CopperSpice CsNetwork library.