Here is a simple template project that demonstrates how to build a Rocky application!
Follow the instructions here to install vcpkg on your system.
Set your VCPKG_DIR
environment variable to your vcpkg install location. Then run the included bootstrap script.
set VCPKG_DIR=C:\vcpkg\install
bootstrap-vcpkg.bat
The script will pick defaults for you and ask you to confirm them. You can change them on the command line if you like. Just press 'N' and you will see the options.
You can always use the CMake GUI application instead if you like - just be sure to pick the vcpkg toolchain!
The initial bootstrap may take a while as vcpkg builds all your dependencies.
Load the rocky-demo.sln
file in your build folder and build the INSTALL target. The executable should end up in your install folder.
Set a couple environment variables to Rocky knows where to find its data.
set ROCKY_FILE_PATH=%rocky_install_dir%/share
set PROJ_DATA=%proj_install_dir%/share/proj
rocky-demo.exe
Enjoy 😄