Difference between revisions of "CMake"

From UFRC
Jump to navigation Jump to search
m (Text replace - "<!--Versions--> ==Available versions== .* <!--Modules-->" to "<!--Modules-->")
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 policy==
+
{{#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 website  

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