prezto/modules/cmake
Benjamin Chrétien 9c7f99fd17 Add CMake module
For now, this module simplifies the creation of build directories.
2015-11-22 17:52:40 +09:00
..
init.zsh Add CMake module 2015-11-22 17:52:40 +09:00
README.md Add CMake module 2015-11-22 17:52:40 +09:00

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.
zstyle ':prezto:module:cmake' install-prefix '/usr'

# Set the build prefix.
zstyle ':prezto:module:cmake' build-prefix '_build'

# Set the build profiles.
zstyle ':prezto:module:cmake' profiles 'Debug' 'Release'

# Whether to support clang as well.
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.