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
-DCMAKE_DISABLE_FIND_PACKAGE_OpenSSL=TRUE Do not build CsNetwork with OpenSSL
-DWITH_OPENGL=NO Do not build CsOpenGL
-DWITH_WEBKIT=NO Do not build CsWebKit
-DOPENSSL_ROOT_DIR=/C/OPENSSL/DEPLOY OpenSSL (Optional 3rd Party Library)
-DPostgreSQL_ROOT="C:/Program Files/PostgreSQL/10" PostgreSQL (Optional DBMS Library)
-DCMAKE_BUILD_TYPE=Debug Builds in debug 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.