CMake: Difference between revisions

From UMIACS
Jump to navigation Jump to search
(Created page with "Stub")
 
No edit summary
Line 1: Line 1:
Stub
CMake installation and usage for Windows.
 
Installing CMake:
# Retrieve the appropriate binary from http://www.cmake.org/
# Start the installer and choose a directory within your Home directory
# 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. More info here: [[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.

Revision as of 20:31, 1 May 2013

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. More info here: 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.