CIME.build.CmakeTmpBuildDir

class CIME.build.CmakeTmpBuildDir(macroloc=None, rootdir=None, tmpdir=None)[source]

Bases: object

Use to create a temporary cmake build dir for the purposes of querying Macros.

Methods

__init__

macroloc: The dir containing the cmake macros, default is pwd.

get_full_tmpdir

get_makefile_vars

Run cmake and process output to a list of variable settings

get_makefile_vars(case=None, comp=None, cmake_args=None)[source]

Run cmake and process output to a list of variable settings

case can be None if caller is providing their own cmake args