1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
prezto/modules/cmake
Benjamin Chrétien 9c7f99fd17
Add CMake module
9 years ago
..
README.md Add CMake module 9 years ago
init.zsh Add CMake module 9 years ago

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.
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.