/ror-dependencies

CMake Meta-Project to build dependencies of Rigs of Rods

Primary LanguageC

ror-dependencies

Dependencies that will be needed to compile the source.

How to build on Windows

Prerequisites

  • Install Windows Visual Studio 2017 Community Edition
  • Install cmake
  • Install git

Install with Chocolatey: choco install cmake git

Create Visual Studio solution file

  • Launch cmake-gui and point the source directory to the ror-dependencies repository
  • Set the build directory to any folder where the resulting dependencies should be placed
  • Press Configure and select Visual Studio 15 2017 as generator (Notice: Win64 target not supported yet)
  • Press Generate to create the solution file

Build dependencies

  • Open the ror-dependencies.sln file inside the chosen build directory with Visual Studio
  • Select Release configuration (currently the only tested configuration)
  • Run Build->Build Solution (Ctrl-Shift-B)
  • This will populate the Dependencies_Windows_Visual-Studio-15-2017 directory with the freshly built dependencies

How to build on Linux

Prerequisites

  • Install cmake, git

Configure && build

cmake <Path-to-ror-dependencies-repository>
make

The resulting dependencies will be placed inside the Dependencies_Linux directory.