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
https://www.copperspice.com/docs/cs_overview/demo-ks.html
Code: Select all
cmake -G "Ninja" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_PREFIX_PATH=[path_to_copperspice] \
-DCMAKE_INSTALL_PREFIX=../deploy ..
Barbara