CMake: Difference between revisions

From UMIACS
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
# Retrieve the appropriate binary from http://www.cmake.org/
# Retrieve the appropriate binary from http://www.cmake.org/
# Start the installer and choose a directory within your Home directory
# 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.
# You can choose to automatically modify the [[PATH]] variable so you can call CMake from the command line.


Using CMake:
Using CMake:


There are 2 options:
There are 2 options:
* Use CMake from the command line if it has been added to your path. More info here: [[PATH]]
* 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.  
* Use the CMake gui located in the bin directory within the install directory.  
Configuring the Compiler Option:
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 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.
* 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:41, 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.
  • 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.