Skip to content

Installing CMake

cnoon edited this page Jan 25, 2013 · 4 revisions

Installing CMake is pretty straight forward. The following are the instructions for each operating system.

Mac OS X

Download the dmg CMake and install it!

Windows

Download the exe CMake and install it!

Linux

If you don't have CMake 2.8+ installed on your system, you're going to need to compile CMake from source. Don't by worried though, it's easy...just follow the given steps:

  1. Download the unix/linux source for CMake.
  2. Unarchive it to $CMAKE_HOME
  • A good example of $CMAKE_HOME is: /home/username/Programming/Tools/cmake-2.8.10.2-src
  1. Open up a terminal
  2. cd into $CMAKE_HOME
  3. ./bootstrap --qt-gui --qt-qmake="path_to_qmake_binary" --prefix=$INSTALL_HOME --parallel=8
  • A good example of $CMAKE_HOME is: /home/username/Programming/Tools/cmake-2.8.10.2
  1. Type "gmake -j 8"
  2. Type "gmake install"
  3. Add the $INSTALL_HOME/bin to your $PATH environment variable

Clone this wiki locally