- Compiler
The Compiler
element specifies the compiler executable used in your build environment. The value of this element must be an absolute path to an executable. This element consists of one optional attribute, macro
, which specifies the name of the variable that stores the compiler executable when building and a value specific to the path to the compiler. If you do not specify the macro
attribute, Ounce/Make sets the macro
attribute to CC
by default. The Properties File can contain multiple Compiler
elements, but at least one is required.
- Linker
The Linker
element specifies a linker executable used in the build environment. The value of this element must be an absolute path to an executable. The Properties File can contain multiple Linker
elements, but at least one is required.
- Make
The Make
element specifies a make executable used in your build environment. The value of this element must be an absolute path to an executable. The Properties File can contain multiple Make
elements, but at least one is required.
- MakeOptions
The MakeOptions
element specifies the options to pass to the make executable. This element is optional and cannot appear more than once in the Properties File.
- Options
The Options
element specifies options to pass to Ounce/Make upon invocation.
- GlobalProjectOptions
The GlobalProjectOptions
element specifies Project level options for all files contained within the project. The GlobalProjectOptions
element and its attributes are not required.
- FileOptions
The FileOptions
element allows include paths, macros, and other compiler options to be specified for files with a particular extension. You can use FileOptions
multiple times to specify different options for files with different extensions. For example, as shown below, if you have a project that contains both C and C++ files, create two FileOptions
elements, one for each file type.
- Executable
The Executable
element allows use of any executable (other than compiler
, linker
, or make
) in the build environment. The value of this element must be an absolute path to an executable. The Executable
element contains one attribute, macro
, which specifies the name of the variable used to store the executable name when building. The value for the macro attribute must be unique across all Executable
elements.
- MountRoot
The MountRoot
element is required if you are assessing source code from a remote system. MountRoot
tells Ounce/Make to pre-pend the specified mount point to all absolute include paths that it encounters.