FAKE - F# Make - A DSL for build tasks and more FAKE
6.1.3

Lookig for older versions of the documentation, pre FAKE v6? See 

v5.fake.build

CMake.CMakeGenerateParams Type

The CMakeGenerate parameter type.

Record fields

Record Field Description

AdditionalArgs

Full Usage: AdditionalArgs

Field type: string

A character string containing additional arguments to give to CMake.

Field type: string

BinaryDirectory

Full Usage: BinaryDirectory

Field type: string

The binary build directory where CMake will generate the files.

Field type: string

CacheEntriesToRemove

Full Usage: CacheEntriesToRemove

Field type: string list

Remove matching entries from CMake cache. Equivalent to the `-U ` options.

Field type: string list

Caches

Full Usage: Caches

Field type: string list

A list of the optional CMake cache files to load. Equivalent to the `-C ` options.

Field type: string list

Generator

Full Usage: Generator

Field type: string

The native build system generator to use for writing the files. See `cmake --help` for a list of the available entries. *To avoid unpredictable generator usage, it is recommended to define it.* Equivalent to the `-G ` option.

Field type: string

InstallDirectory

Full Usage: InstallDirectory

Field type: string

The directory where CMake will install the generated files. Equivalent to the `-D CMAKE_INSTALL_PREFIX:DIRPATH=""` CMake option.

Field type: string

Platform

Full Usage: Platform

Field type: string

An optional CMake platform. Equivalent to the `-A ` option. Not supported by every generator.

Field type: string

SourceDirectory

Full Usage: SourceDirectory

Field type: string

The source directory which should include a `CMakeLists.txt` file.

Field type: string

Timeout

Full Usage: Timeout

Field type: TimeSpan

The CMake execution timeout.

Field type: TimeSpan

ToolPath

Full Usage: ToolPath

Field type: string

The location of the CMake executable. Automatically found if null or empty.

Field type: string

Toolchain

Full Usage: Toolchain

Field type: string

An optional toolchain file to load. Equivalent to the `-D CMAKE_TOOLCHAIN_FILE:FILEPATH=""` CMake option.

Field type: string

Toolset

Full Usage: Toolset

Field type: string

An optional toolset (!= toolchain) to use. Equivalent to the `-T ` option. Not supported by every generator.

Field type: string

Variables

Full Usage: Variables

Field type: CMakeVariable list

A list of every variable to pass as a CMake argument. Equivalent to the `-D :=` options.

Field type: CMakeVariable list