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/README.md

1.0 KiB

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.