BuildingKitchenSinkCSWayWindows - ShamanTcler/Copperspice-examples GitHub Wiki

Building Kitchensink, Win 10 64 bit MSVS 2019,

These instructions are as of 2/24/2021

Now that you have the Kitchensink source from Github.

  1. From the MSVS 2019 start menu folder, open a "x64 Native Tools Command Prompt for VS 2019" console window

  2. Change directories to the one containing the Kitchen sink source.

  3. Lets do a release build, so we will need a cmake command that looks like:

cmake . -B csnative_build/release -G Ninja -DCMAKE_BUILD_TYPE=Release ^
-DCMAKE_PREFIX_PATH=C:\CopperSpice\release\cmake\CopperSpice ^
-DCMAKE_INSTALL_PREFIX=csnative_build/release/install

Now to explain that command a bit:

Command Component Description
-B csnative_build/release part is saying we want an "out of source build" and to put everything in the directory csnative_build/release
-G Ninja Use Ninja as the build tool
-DCMAKE_BUILD_TYPE=Release Build using release mode
-DCMAKE_PREFIX_PATH=C:\CopperSpice\release\cmake\CopperSpice The install location of Copperspice
-DCMAKE_INSTALL_PREFIX=csnative_build/release/install Where the deployable bundle of software will be placed


  1. After running the cmake command it the kitchensink directory, change directories to csnative_build/release

  2. Now execute the ninja command to build the executable. (if you want a more verbose output type "ninja --verbose") This creates an executable in the csnative_build/release/bin directory, but it is missing dlls ... this is done in the next step

  3. Execute the "ninja install" command. This creates the csnative_build/release/install directory and assembles all the parts required to make a version of the kitchensink application that can be distributed to other users



Or if you want to cheat a bit click this link:

Click here

Then cut and paste the code into the bat file of your choice.

⚠️ **GitHub.com Fallback** ⚠️