Next: , Previous: Compiling C++ test modules, Up: Compiling C++ test modules


13.1 Enabling C++ in MINUnit or HardCoded test module

The following steps are needed for enabling C++ in MINUnit or HardCoded test module created by the Test Module Template Wizard:

  1. Uncomment AC_PROG_CXX in <module_name>/configure.in
  2. Uncomment CC=g++ and <module_name>_la_CXXFLAGS in <module_name>/Makefile.am file.
  3. Change the <file_name>.c files into <file_name>.cpp in <module_name>/src directory and <module_name>/Makefile.am file.