File: proj-comp.el.html
This software handles the maintenance of compiler and rule definitions for different object types.
The ede-compiler(var)/ede-compiler(fun) class lets different types of project objects create
definitions of compilers that can be swapped in and out for compiling
source code. Users can also define new compiler types whenever they
some customized behavior.
The ede-makefile-rule(var)/ede-makefile-rule(fun) class lets users add customized rules into their
objects, and also lets different compilers add chaining rules to their
behaviors.
It is important that all new compiler types be registered once. That way the chaining rules and variables are inserted into any given Makefile only once.
To insert many compiler elements, wrap them in ede-compiler-begin-unique
before calling their insert methods.
To write a method that inserts a variable or rule for a compiler
based object, wrap the body of your call in ede-compiler-only-once
Defined variables (3)
ede-compiler-list | The master list of all EDE compilers. |
ede-current-build-list | List of EDE compilers that have already inserted parts of themselves. |
ede-linker-list | The master list of all EDE compilers. |
Defined functions (23)
ede-compilation-program | (&rest SLOTS) |
ede-compilation-program--eieio-childp | (OBJ) |
ede-compilation-program-child-p | (OBJ) |
ede-compilation-program-p | (OBJ) |
ede-compiler | (&rest SLOTS) |
ede-compiler--eieio-childp | (OBJ) |
ede-compiler-begin-unique | (&rest BODY) |
ede-compiler-child-p | (OBJ) |
ede-compiler-only-once | (OBJECT &rest BODY) |
ede-compiler-p | (OBJ) |
ede-linker | (&rest SLOTS) |
ede-linker--eieio-childp | (OBJ) |
ede-linker-begin-unique | (&rest BODY) |
ede-linker-child-p | (OBJ) |
ede-linker-only-once | (OBJECT &rest BODY) |
ede-linker-p | (OBJ) |
ede-makefile-rule | (&rest SLOTS) |
ede-makefile-rule--eieio-childp | (OBJ) |
ede-makefile-rule-child-p | (OBJ) |
ede-makefile-rule-p | (OBJ) |
ede-proj-find-compiler | (COMPILERS SOURCETYPE) |
ede-proj-find-linker | (LINKERS SOURCETYPE) |
proj-comp-insert-variable-once | (VARNAME &rest BODY) |