Function: projection-meson-get-configure-command
projection-meson-get-configure-command is an autoloaded and natively
compiled function defined in projection-type-meson.el.
Signature
(projection-meson-get-configure-command)
Documentation
Generate a shell command to run a Meson configure.
Source Code
;; Defined in /nix/store/j6y921qbdmdqxjnd43iibapbig3p4hai-emacs-packages-deps/share/emacs/site-lisp/elpa/projection-20260614.1822/projection-type-meson.el
;; Meson compilation commands.
(defun projection-meson-get-configure-command ()
"Generate a shell command to run a Meson configure."
(projection--join-shell-command
`("meson"
"setup"
,(projection-meson--build-directory)
;; Meson requires this to allow reconfiguring but versions older than 2.0
;; will fail the first time configuration when this flag is supplied.
,@(when-let* ((build-directory (projection-meson--build-directory 'expand))
(build-directory-exists (file-exists-p build-directory)))
(list "--reconfigure"))
,@(when-let* ((build-type (projection-meson--build-type)))
(list (concat "--buildtype=" build-type))))))