CMake

From Rigs of Rods Wiki

Jump to: navigation, search

CMake is a tool used for creating workspaces for cross-platform projects, it means that the workspaces do not need to be updated as they are generated by CMake for the programmer's IDE of choice.

Installing CMake

Rigs of Rods uses CMake to generate it's workspace files across multiple platforms, to use CMake you just have to download it and install. It is then ready to use.

Configuring CMake

CMake after configuring Rigs of Rods
CMake after configuring Rigs of Rods

RoR has several options that you may have to change using CMake

  • ROR_BUILD_BEAMSTATS
    • Profiling for BEAM (?)
  • ROR_BUILD_CONFIGURATOR
    • Chooses whether or not to build the configurator (Will default to off unless you tell CMake where WxWidgets is installed)
  • ROR_BUILD_HYDRAX
    • Chooses whether or not to compile the Hydrax water system
  • ROR_BUILD_PAGED
    • Chooses whether or not to build the Paged Geometry system
  • wxWidgets_ROOT_DIR
    • This is the wxWidgets root directory (E.g. C:\wxWidgets-2.x.x)
  • wxWidgets_LIB_DIR
    • This is the wxWidgets library directory
    • On Windows (using MSVC) this should end with \lib\vc_lib
  • wxWidgets_CONFIGURATION
    • On windows this should be "mswu"
Personal tools