Skip to content
Lori A. Burns edited this page Apr 28, 2017 · 5 revisions

STOP! This page is out-of-date and is superseded by the docs

CMake and CTest Executables

In Psi4, CMake controls the compilation process, including dependencies, documentation, tests, and internal and external add-ons, while CTest provides testing infrastructure. In order to build Psi4 using CMake, version 3.0 or higher must be used.

Examples

  • #####Build with CMake in $PATH

    setup
    
  • #####Build with Specific CMake

    setup --cmake /name/of/or/path/to/cmake/executable
    
  • #####Build with CMake from Conda Psi4dependencies Package

    setup --conda-dependdir=$CONDA/envs/p4dep
    

Imposing your will upon CMake

  • #####Relevant setup Options:

    --show                show CMake command and exit [default: False]
    --cmake STRING        set the CMake executable to use [default: cmake; e.g.
                        --cmake cmake28] (default: cmake)
    

Notes

  • Dependency Status: CMake Required, CTest Optional

  • Minimum allowed version: 3.0