This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+tools/cmake/config.el
2020-08-14 00:29:39 +02:00

23 lines
714 B
EmacsLisp

;;; config.el --- CMake layer config file for Spacemacs.
;;
;; Copyright (c) 2012-2020 Sylvain Benner & Contributors
;;
;; Author: Alexander Dalshov <dalshov@gmail.com>
;; URL: https://github.com/syl20bnr/spacemacs
;;
;; This file is not part of GNU Emacs.
;;
;;; License: GPLv3
;; variables
(defconst cmake-modes '(c-mode c++-mode cmake-mode)
"Primary major modes where `cmake-ide' could be used.")
(defvar cmake-enable-cmake-ide-support nil
"If non nil CMake related packages and configuration are enabled.")
(defvar cmake-backend nil
"The backend to use for IDE features.
Possible values are `lsp' and `company-cmake'.
If `nil' then 'company-cmake` is the default backend unless `lsp' layer is used")