CMake

From UMIACS
Revision as of 20:41, 1 May 2013 by Savid1 (talk | contribs)
Jump to navigation Jump to search

CMake installation and usage for Windows.

Installing CMake:

  1. Retrieve the appropriate binary from http://www.cmake.org/
  2. Start the installer and choose a directory within your Home directory
  3. You can choose to automatically modify the PATH variable so you can call CMake from the command line.

Using CMake:

There are 2 options:

  • Use CMake from the command line if it has been added to your path.
  • Use the CMake gui located in the bin directory within the install directory.

Configuring the Compiler Option:

  • With the GUI click configure and choose the compiler which has been installed on your system(Some version of Visual Studio).
  • With the command line pass in the right compiler using the -G option. Typing cmake without any options will also display basic help.