Function: projection-cmake--build-directory

projection-cmake--build-directory is an autoloaded and natively compiled function defined in projection-type-cmake.el.

Signature

(projection-cmake--build-directory &optional EXPAND)

Documentation

Get the CMake build directory.

When EXPAND is true this function will resolve the complete path to the build directory in a form that can be queried directly from elisp including any remote components of the project when projection-cmake-build-directory-remote is configured correctly.

Source Code

;; Defined in /nix/store/j6y921qbdmdqxjnd43iibapbig3p4hai-emacs-packages-deps/share/emacs/site-lisp/elpa/projection-20260614.1822/projection-type-cmake.el
(defun projection-cmake--build-directory (&optional expand)
  "Get the CMake build directory.
When EXPAND is true this function will resolve the complete path to the
build directory in a form that can be queried directly from elisp
including any remote components of the project when
`projection-cmake-build-directory-remote' is configured correctly."
  (when projection-cmake-build-directory
    (if expand
        (projection--expand-file-name-in-project
         projection-cmake-build-directory
         projection-cmake-build-directory-remote)
      projection-cmake-build-directory)))