Note: This is the migration API reference for FAKE 5. The new (modularized) API documentation can be found here. If the API is already migrated you can check here if exists in a module. More information regarding the migration can be found here

OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

CMake

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

Functions and values

Function or valueDescription
Build(setParams)
Signature: setParams:(CMakeBuildParams -> CMakeBuildParams) -> unit
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Calls cmake --build to build a project.

Parameters

  • setParams - Function used to manipulate the default CMake parameters. See CMakeBuildParams.
CMakeBuildDefaults
Signature: CMakeBuildParams
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

The default option set given to CMakeBuild.

CMakeGenerateDefaults
Signature: CMakeGenerateParams
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

The default option set given to CMakeGenerate.

Generate(setParams)
Signature: setParams:(CMakeGenerateParams -> CMakeGenerateParams) -> unit
Attributes:
[<Obsolete("This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.")>]
OBSOLETE

This API is obsolete. There is no alternative in FAKE 5 yet. You can help by porting this module.

Calls cmake to generate a project.

Parameters

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