/cmake-mngr

Cmake command line interface for emacs

Primary LanguageEmacs LispGNU General Public License v3.0GPL-3.0

cmake-mngr.el

Simple command-line interface for cmake.

Commands

  • cmake-mngr-build: Build current project.

  • cmake-mngr-clear-build-directory: Remove current build directory and all the files inside.

  • cmake-mngr-clear-cache: Remove CMakeCache.txt file.

  • cmake-mngr-configure: Configure current project.

  • cmake-mngr-create-symlink-to-compile-commands: Create a symlink in project root that points to "compile_commands.json". This may be needed for language servers to work.

  • cmake-mngr-reset: Reset internal data. For debugging.

  • cmake-mngr-select-build-type: Get CMake build type from user.

  • cmake-mngr-set-build-directory: Set CMake build directory.

  • cmake-mngr-set-generator: Set generator for current project.

  • cmake-mngr-set-target: Set target for current project.

  • cmake-mngr-set-variable: Set a CMake variable as KEY=VALUE. These variables will be passed to cmake during configuration as -DKEY=VALUE.

  • cmake-mngr-show-cache-variables: Show CMake cache variables in a buffer.

Variables

  • cmake-mngr-build-dir-search-list: List of directories to search for CMake build directory. Should be non-nil.

  • cmake-mngr-global-build-args: Argument to pass during build.

  • cmake-mngr-global-configure-args: Argument to pass during configuration.