Skip to content

MAPSWorks/rocky-demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⛰️ 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 😄

About

Rocky quickstart demo project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CMake 46.4%
  • Batchfile 41.0%
  • C++ 12.6%