ammer

List of configuration flags

Note that the _ after lib. in all the names below should be replaced by the identifier of the library.


ammer.buildPath:String

Path used for intermediate build artefacts. These include the C glue code generated by ammer, as well as compiled binary objects, before they are packaged into dynamic libraries. See paths.

Compile-time defines


ammer.debug:String

Sets the debug mode for ammer. The value is a comma-separated list of categories of debug messages to show. The available categories are:

The flag can be set to the string all to enable all of the above.

Compile-time defines


ammer.outputPath:String

Path used for final build products. These are dynamic libraries compiled by ammer that would typically be deployed with the program using them. See paths.

Compile-time defines


ammer.lib._.defines:Array<String>

List of C preprocessor directives to set when compiling the library.

Compile-time defines

Metadata (on a library definition)


ammer.lib._.frameworks:Array<String>

List of frameworks to use when compiling the library. Only has an effect on macOS.

Compile-time defines

Metadata (on a library definition)


ammer.lib._.headers.includes:Array<SourceInclude>

List of headers to include when compiling the library. There are four different include styles:

Compile-time defines

Metadata (on a library definition)


ammer.lib._.includePaths:Array<String>

Paths to provide to the C compiler as "include paths", which are used when searching for header files.

Compile-time defines

Metadata (on a library definition)


ammer.lib._.language:LibraryLanguage

Specifies the language of the native library. This language is also used for generating the glue code. Possible values:

Compile-time defines

Metadata (on a library definition)


ammer.lib._.libraryPaths:Array<String>

Paths to provide to the C compiler (more accurately, the linker) as "library paths", which are used when searching for library files (.dll, .dylib, .so files).

Compile-time defines

Metadata (on a library definition)


ammer.lib._.linkNames:Array<String>

Names of libraries to link against when compiling this native library. Should not include prefixes such as -l or lib.

Compile-time defines

Metadata (on a library definition)

« Previous: ammer.Lib Next: List of annotations »