Function: ede-generic-new-autoloader
ede-generic-new-autoloader is a byte-compiled function defined in
generic.el.gz.
Signature
(ede-generic-new-autoloader INTERNAL-NAME EXTERNAL-NAME PROJECTFILE CLASS)
Documentation
Add a new EDE Autoload instance for identifying a generic project.
INTERNAL-NAME is obsolete and ignored.
EXTERNAL-NAME is a human readable name to describe the project; it
must be unique among all autoloaded projects.
PROJECTFILE is a file name that identifies a project of this type to EDE, such
as a Makefile, or SConstruct file.
CLASS is the EIEIO class that is used to track this project. It should subclass
ede-generic-project(var)/ede-generic-project(fun).
Source Code
;; Defined in /usr/src/emacs/lisp/cedet/ede/generic.el.gz
;;; Creating Derived Projects:
;;
;; Derived projects need an autoloader so that EDE can find the
;; different projects on disk.
(defun ede-generic-new-autoloader (_internal-name external-name
projectfile class)
"Add a new EDE Autoload instance for identifying a generic project.
INTERNAL-NAME is obsolete and ignored.
EXTERNAL-NAME is a human readable name to describe the project; it
must be unique among all autoloaded projects.
PROJECTFILE is a file name that identifies a project of this type to EDE, such
as a Makefile, or SConstruct file.
CLASS is the EIEIO class that is used to track this project. It should subclass
`ede-generic-project'."
(ede-add-project-autoload
(ede-project-autoload :name external-name
:file 'ede/generic
:proj-file projectfile
:root-only nil
:load-type 'ede-generic-load
:class-sym class
:new-p nil
;; NOTE: This project type is SAFE because it handles
;; the user-query before loading its config file. These
;; project types are useful without the config file so
;; do the safe part until the user creates a saved config
;; file for it.
:safe-p t)
;; Generics must go at the end, since more specific types
;; can create Makefiles also.
'generic))