CMake

From Dogtag
Jump to: navigation, search

CMake Script

Parameters

To define a parameter:

set(<name> <default value> CACHE STRING <description>)

To override the default parameter value:

$ cmake \
    -D<name>=<value> \
    -D<name>:<type>=<value> \
    ...

References