2008-11-13 16:21:11 +00:00
|
|
|
|
|
|
|
This describes the various compiler interfaces available. These can be used with
|
|
|
|
the "interface" setting in a compiler configuration. Plugins can create their
|
|
|
|
own interfaces by inheriting from the abstract Compiler class.
|
|
|
|
|
|
|
|
|
|
|
|
-------------------------------------------------------------------------------------
|
|
|
|
AccCompiler
|
|
|
|
|
|
|
|
This compiler interface is made for Acc compilers, but can be used for any compiler
|
|
|
|
which accepts a single script input file and writes a single output file.
|
|
|
|
|
|
|
|
If this interface detects a file named "acs.err" created by the compiler, it will
|
|
|
|
parse this file and treat the contents as compiler errors. In this case, the output
|
|
|
|
file contents are not copied into the wad file.
|
|
|
|
|
2008-11-14 10:44:03 +00:00
|
|
|
With this interface supports the following placeholders in command-line parameters:
|
2008-11-13 16:21:11 +00:00
|
|
|
|
|
|
|
%FI indicates the input path and filename.
|
|
|
|
|
|
|
|
%FO indicates the output path and filename.
|
|
|
|
|
|
|
|
%PT indicates the temporary directory path where the compiler is located.
|
|
|
|
|
2008-11-14 16:19:25 +00:00
|
|
|
%PW indicates the path of the open wad file when compiled as internal script lump.
|
|
|
|
If compiled as file, or the wad file is not saved, %PW is the same as %PT
|
|
|
|
|
2008-11-14 10:44:03 +00:00
|
|
|
These placeholders are case-sensitive!
|
|
|
|
|
2008-11-13 16:21:11 +00:00
|
|
|
-------------------------------------------------------------------------------------
|
2008-11-13 23:05:16 +00:00
|
|
|
NodesCompiler
|
|
|
|
|
|
|
|
This compiler interface is made for nodebuilders.
|
|
|
|
|
|
|
|
With this interface you can use the following command-line parameters:
|
|
|
|
|
|
|
|
%FI indicates the input filename (no path included).
|
|
|
|
|
|
|
|
%FO indicates the output filename (no path included).
|
|
|
|
|
2008-11-14 10:44:03 +00:00
|
|
|
When %FO is not specified, the nodebuilder should output to %FI
|
|
|
|
These placeholders are case-sensitive!
|
2008-11-13 23:05:16 +00:00
|
|
|
|
|
|
|
-------------------------------------------------------------------------------------
|