|
||
---|---|---|
.. | ||
init.zsh | ||
README.md |
CMake
Initializes build directories for CMake.
Usage
# In the root directory of a CMake project:
$ mb
# Or with additional flags:
$ mb -DSOME_EXTRA_FLAGS="foo"
Options
# Set the install prefix (else CMake's default prefix will be used)
zstyle ':prezto:module:cmake' install-prefix '/usr'
# Set the build prefix (else '_build' will be used)
zstyle ':prezto:module:cmake' build-prefix '_build'
# Set the build profiles (else Debug and Release will be used)
zstyle ':prezto:module:cmake' profiles 'Debug' 'Release'
# Set the generator (else CMake's default generator will be used)
zstyle ':prezto:module:cmake' generator 'Unix Makefiles'
# Whether to support clang as well (default is 'yes')
zstyle ':prezto:module:cmake' support-clang 'yes'
Aliases
mb
initialize build directories.
Authors
The authors of this module should be contacted via the issue tracker.