-
Notifications
You must be signed in to change notification settings - Fork 3
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.
Download the dmg CMake and install it!
Download the exe CMake and install it!
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:
- Download the unix/linux source for CMake.
- Unarchive it to $CMAKE_HOME
- A good example of $CMAKE_HOME is: /home/username/Programming/Tools/cmake-2.8.10.2-src
- Open up a terminal
- cd into $CMAKE_HOME
- ./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
- Type "gmake -j 8"
- Type "gmake install"
- Add the $INSTALL_HOME/bin to your $PATH environment variable