Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 1.41 KB

README.md

File metadata and controls

32 lines (24 loc) · 1.41 KB

⛰️ rocky-demo

Here is a simple template project that demonstrates how to build a Rocky application!Screenshot 2023-02-22 124318

Step 1 - Install vcpkg package manager

Follow the instructions here to install vcpkg on your system.

Step 2 - Set up the project to use vcpkg

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.

Step 3 - Build the project

Load the rocky-demo.sln file in your build folder and build the INSTALL target. The executable should end up in your install folder.

Step 4 - Try it.

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 😄