Variable: projectile-enable-cmake-presets

projectile-enable-cmake-presets is a customizable variable defined in projectile.el.

Value

nil

Documentation

Whether CMake projects use presets for their lifecycle commands.

When non-nil, CMake projects are configured, built and tested through the presets their CMakePresets.json and CMakeUserPresets.json declare, rather than through Projectile's own default commands.

This variable was added, or its default value changed, in projectile version 2.4.0.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defcustom projectile-enable-cmake-presets nil
  "Whether CMake projects use presets for their lifecycle commands.

When non-nil, CMake projects are configured, built and tested through
the presets their `CMakePresets.json' and `CMakeUserPresets.json'
declare, rather than through Projectile's own default commands."
  :group 'projectile
  :type 'boolean
  :package-version '(projectile . "2.4.0"))