Function: ede-project-configurations-set
ede-project-configurations-set is an interactive and byte-compiled
function defined in ede.el.gz.
Signature
(ede-project-configurations-set NEWCONFIG)
Documentation
Set the current project's current configuration to NEWCONFIG.
This function is designed to be used by ede-configuration-forms-menu
but can also be used interactively.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/ede.el.gz
(defun ede-project-configurations-set (newconfig)
"Set the current project's current configuration to NEWCONFIG.
This function is designed to be used by `ede-configuration-forms-menu'
but can also be used interactively."
(interactive
(list (let* ((proj (ede-current-project))
(configs (oref proj configurations)))
(completing-read "New configuration: "
configs nil t
(oref proj configuration-default)))))
(oset (ede-current-project) configuration-default newconfig)
(message "%s will now build in %s mode."
(eieio-object-name (ede-current-project))
newconfig))