CopperSpice Overview
|
KitchenSink is a standalone program which combines multiple demos in one executable. The purpose of KitchenSink is to demonstrate the capabilities and functionality of the CopperSpice libraries. These demos are basic examples and the code is intentionally simplistic and not optimized.
KitchenSink is built using the CMake build system. You must build CopperSpice with the same build tool used for KitchenSink. This applies to your applications as well.
The source distribution includes all source files, header files, and files for building with CMake.
Click the following link to download the binary files or source code. KitchenSink
Before you build KitchenSink
or any other CopperSpice project, you must have a copy of the CopperSpice files accessible on your computer. On option is to download our pre-built CopperSpice
binary files. The other option is to build and install from source. Make sure to run the "ninja install" step so the appropriate folders for your platform are copied to the install directory. The install folder will typically contain the following folders: bin, cmake, include, and lib.
The build script shown below is used to build KitchenSink from the command line. The value for the [path_to_copperspice] parameter must be the path to the CopperSpice CMake files which are located in the CS install directory. The following values are based on an install path of /cs_lib.
Platform | Value for [path_to_copperspice] |
---|---|
Unix Systems | ~/cs_lib/lib/cmake/CopperSpice |
Windows (MinGW) | /c/cs_lib/cmake/CopperSpice |
Windows (MSVC) | c:\\cs_lib\\cmake\\CopperSpice |
The ninja install step creates the deploy folder and copies the necessary files for running the application. You run KitchenSink from the deploy folder. If you omit the install step the platform files will be missing and the program will not start correctly.