Function: projection-multi-compile--run

projection-multi-compile--run is a natively compiled function defined in projection-multi.el.

Signature

(projection-multi-compile--run PROJECT TRIGGERS)

Documentation

Run compile-multi TRIGGERS for PROJECT.

Source Code

;; Defined in /nix/store/p352vg5hx7hmw07f7hjwfyrih9p75bzv-emacs-packages-deps/share/emacs/site-lisp/elpa/projection-multi-20260614.1822/projection-multi.el
(cl-defun projection-multi-compile--run (project triggers)
  "Run `compile-multi' TRIGGERS for PROJECT."
  (let* (;; Run compilations and generators from the project root.
         (default-directory (or (when project
                                  (project-root project))
                                default-directory))
         (compile-multi-default-directory #'ignore)
         (compile-multi-config triggers))
    ;; KLUDGE: We can't cache any functions until they've been loaded.
    (require 'projection-type-cmake)
    (require 'projection-type-meson)
    (require 'projection-type-golang)
    (require 'projection-type-meson)
    (projection-multi--cache-command-helpers
        (project-current
         projection-cmake--preset
         projection-cmake--command-options
         projection-cmake--build-directory
         projection-cmake--file-api-code-model
         projection-golang--package
         projection-golang--list-packages
         projection-meson--build-directory
         projection-meson--code-model)
      (call-interactively #'compile-multi))))