This is part of the Fake.Build.CMake module.

CMake

Contains tasks which allow to use CMake to build CMakeLists files. See Samples/CMakeSupport for usage examples.

Nested types and modules

TypeDescription
CMakeBuildParams

The CMakeBuild parameter type.

CMakeGenerateParams

The CMakeGenerate parameter type.

CMakeValue

The possible variable value types for CMake variables.

CMakeVariable

A CMake variable.

Functions and values

Function or valueDescription
CMake.Build(setParams)
Signature: setParams:(CMakeBuildParams -> CMakeBuildParams) -> unit

Calls cmake --build to build a project.

Parameters

  • setParams - Function used to manipulate the default CMake parameters. See CMakeBuildParams.
CMake.CMakeBuildDefaults
Signature: CMakeBuildParams

The default option set given to CMakeBuild.

CMake.CMakeGenerateDefaults
Signature: CMakeGenerateParams

The default option set given to CMakeGenerate.

CMake.Generate(setParams)
Signature: setParams:(CMakeGenerateParams -> CMakeGenerateParams) -> unit

Calls cmake to generate a project.

Parameters

  • setParams - Function used to manipulate the default CMake parameters. See CMakeGenerateParams.