A.3. Compilation and Installation

A.3.1. Installing on systems using autoconf and friends

In order to compile and install mockpp on your system, type the following in the base directory of the mockpp distribution:

 % ./configure
 % make
 % make install

There are some options for configure you might be interested in:
By default mockpp uses standard 8bit wide strings (std::string and const char* to be more precise). If you need basic support for Unicode and it's 16bit or 32bit wide characters you must add this parameter when invoking configure.

Since mockpp uses autoconf and automake you should have no trouble compiling it. Should you run into problems please report them to the Bug Tracker.

Once you have compiled the sources you should run the built in checks to verify the correct behaviour on your platform:

 % make check