Next: , Previous: Objective C Support, Up: Programs

8.11 Objective C++ Support

Automake includes some support for Objective C++.

Any package including Objective C++ code must define the output variable OBJCXX in; the simplest way to do this is to use the AC_PROG_OBJCXX macro (see Particular Program Checks).

A few additional variables are defined when an Objective C++ source file is seen:

The name of the Objective C++ compiler.
Any flags to pass to the Objective C++ compiler.
The maintainer's variant of OBJCXXFLAGS.
The command used to actually compile an Objective C++ source file. The file name is appended to form the complete command line.
The command used to actually link an Objective C++ program.