CMake: Difference between revisions
From charlesreid1
(Created page with "Professor James Sutherland's CMake presentation here: File:CMake_Sutherland.pdf") |
No edit summary |
||
| Line 1: | Line 1: | ||
Professor James Sutherland's CMake | = Installing = | ||
== Configuring == | |||
Cmake is straightforward to install. It is intended to replace autotools, but it still uses autotools to build it - but a little differently. | |||
You can configure it by running: | |||
<syntaxhighlight> | |||
./bootstrap \ | |||
--prefix=/path/to/cmake/build | |||
</syntaxhighlight> | |||
Then you can type <code>make</code> and <code>make install</code>, and you're good to go. Don't forget to add <code>/path/to/cmake/build/bin</code> to your <code>$PATH</code>! | |||
= Presentations = | |||
Professor James Sutherland's presentation on using CMake, part of the [[Presentations|2010 Scientific Computing Summer Workshop]], is here: [[File:CMake_Sutherland.pdf]] | |||
This presentation contains an example of a "Hello World" program built with CMake. | |||
Revision as of 18:20, 25 October 2010
Installing
Configuring
Cmake is straightforward to install. It is intended to replace autotools, but it still uses autotools to build it - but a little differently.
You can configure it by running:
./bootstrap \
--prefix=/path/to/cmake/buildThen you can type make and make install, and you're good to go. Don't forget to add /path/to/cmake/build/bin to your $PATH!
Presentations
Professor James Sutherland's presentation on using CMake, part of the 2010 Scientific Computing Summer Workshop, is here: File:CMake Sutherland.pdf
This presentation contains an example of a "Hello World" program built with CMake.