🛠 Build

Linux & Mac

Prerequisites

  • CMake 3.8+
  • gcc 7.x.x (Tested on gcc 7.4.0)
  • uuid-dev

Instructions

  1. In the terminal, navigate to a location of your choice
  2. git clone https://github.com/GrinPlusPlus/GrinPlusPlus.git
  3. cd GrinPlusPlus
  4. mkdir build
  5. cd build
  6. cmake ..
  7. cmake --build .

Windows

Prerequisites

  • CMake 3.8+
  • Visual Studio 2017+ 64-bit with C++ 2017 Support
  • OPTIONAL: Visual C++ Tools for CMake

Instructions

  1. Open "Developer Command Prompt for Visual Studio 2019"
  2. Navigate to a location of your choice
  3. git clone https://github.com/GrinPlusPlus/GrinPlusPlus.git
  4. cd GrinPlusPlus
  5. mkdir build & cd build
  6. cmake ..
  7. cmake --build .

OPTIONAL: With Visual C++ Tools for CMake

  1. In the terminal, navigate to a location of your choice
  2. git clone https://github.com/GrinPlusPlus/GrinPlusPlus.git
  3. In Visual Studio, go to File>Open>CMake...
  4. Choose CMakeLists.txt from GrinPlusPlus folder
  5. Choose x64-Debug or x64-Release from the build configurations drop-down
  6. Generate CMake Cache and Build All from the CMake menu

Once your code is built, you can just open GrinNode.exe from your bin folder.