Chapter 39. Standard Modules

There is no standard module for the "C" language. This language is supported without the need to import a module.

The following modules are distributed with Aap:

d

Support for the "D" programming language. With this module imported, :program, :dll and :lib commands can be used as easily as with C or C++. To customize compilation and linking, the variables below can be filled. See also Chapter 40, Standard Tools for supported D tools.

Table 39.1. Variables of the D module

nametype  description
$D_COMPILE_ACTION Aap When not empty, specifies the action name to be executed for compiling a D file into an object, dllobject or libobject file. See Chapter 30, Customizing Default Tools.
$D_BUILD_ACTION Aap When not empty, specifies the action name to be executed for building a program or library from object files compiled by a D compiler. A "buildaction" attribute on one of the object files is used before $D_BUILD_ACTION. See Chapter 30, Customizing Default Tools.
$DFLAGS user Compiler arguments passed to the D compiler.
$DLINKFLAGS user Arguments passed to the linker; in most cases libraries to link with.
$DIMPORT user Import directories used for the D compiler. Always use the "-Idir" form, the tool will convert it to what the compiler actually uses.
$DVERSION user Version arguments passed to the D compiler. Always use the "-version=..." form, the tool will convert it to what the compiler actually uses.
$DDEBUG user Debug arguments passed to the D compiler. Always use the "-debug"/"-debug=..." form, the tool will convert it to what the compiler actually uses. To enable symbolic debug information, set the the $DEBUG to "yes". For other language independent debugging switches, like enabling profiling hooks, use $DFLAGS.
libtool

Adds support for GNU libtool, so that you can use it to build shared libraries in a portable manner. Automatically imported if you use a :ltlib command.

qt

Adds support for the Qt library.