Skip to content

Latest commit

 

History

History
39 lines (33 loc) · 1.1 KB

BUILD.md

File metadata and controls

39 lines (33 loc) · 1.1 KB

Build Instructions

Windows

Prerequisites

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

With Visual C++ Tools for CMake

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

Command Line:

  1. Open "Developer Command Prompt for Visual Studio 2017"
  2. cd C:/Choose/A/Path
  3. git clone https://github.com/GrinPlusPlus/GrinPlusPlus.git
  4. cd GrinPlusPlus
  5. mkdir build & cd build
  6. cmake ..
  7. cmake --build .

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

Linux/Mac

Prerequisites

  • CMake 3.8+
  • gcc 7.x.x (Tested on gcc 7.4.0)
  • uuid-dev
  1. git clone https://github.com/GrinPlusPlus/GrinPlusPlus.git
  2. cd GrinPlusPlus
  3. mkdir build
  4. cd build
  5. cmake ..
  6. cmake --build .