You have made a few mistakes in setting up your CMake files for KitchenSink. When building the KitchenSink program CMake needs to know where the CopperSpice files are located. Using the set() command you specified is not the preferred CMake procedure. Instead, you should be using the build script for KS as explained in our CS Overview documentation.In file C:\PrgCS\KitchenSink\Source\CMakeLists.txt I add set( CopperSpice_DIR "C:/CopperSpice/Release/Lib" ). Since CMake can't find the CopperSpice package! The most important directory for Copper Spice is just the folder - C:/CopperSpice/Release/Lib
As per our documentation, the CMake PREFIX PATH is the path to the CopperSpice CMake files. This is more reliable than using the set() you tried. The INSTALL PREFIX is the path where KS will be installed.
Code: Select all
cmake -G "Ninja" \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_PREFIX_PATH=[path_to_copperspice] \ -DCMAKE_INSTALL_PREFIX=../deploy ..