Difference between revisions of "CMake"
Jump to navigation
Jump to search
Moskalenko (talk | contribs) m (Text replace - "<!--Versions--> ==Available versions== .* <!--Modules-->" to "<!--Modules-->") |
Moskalenko (talk | contribs) m (Text replace - "Usage policy" to "Usage Policy") |
||
Line 42: | Line 42: | ||
See the [[{{PAGENAME}}_PBS]] page for {{#var: app}} PBS script examples.|}} | See the [[{{PAGENAME}}_PBS]] page for {{#var: app}} PBS script examples.|}} | ||
<!--Policy--> | <!--Policy--> | ||
− | {{#if: {{#var: policy}}|==Usage | + | {{#if: {{#var: policy}}|==Usage Policy== |
WRITE USAGE POLICY HERE (perhaps templates for a couple of main licensing schemes can be used) | WRITE USAGE POLICY HERE (perhaps templates for a couple of main licensing schemes can be used) | ||
|}} | |}} |
Revision as of 16:30, 10 August 2012
Description
CMake is a cross-platform, open-source build system. CMake is a family of tools designed to build, test and package software. CMake is used to control the software compilation process using simple platform and compiler independent configuration files. CMake generates native makefiles and workspaces that can be used in the compiler environment of your choice.
Execution Environment and Modules
To use cmake with the environment modules system at HPC the following commands are available:
Get module information for cmake:
$module spider cmake
Load the default application module:
$module load cmake
The modulefile for this software adds the directory with executable files to the shell execution PATH and sets the following environment variables:
- HPC_CMAKE_DIR - directory where cmake is located.
- HPC_CMAKE_BIN - executable directory
- HPC_CMAKE_DOC - documentation directory
- HPC_CMAKE_INC - includes directory