1.2.5. Useful Scripts And Batch Files

The distribution contains some scripts or batch files which can help in some situations. They are spread across the directory tree depending on what should be done.

mockpp/gen_files_N.sh

Several headers contain classes which depend on the maximal number of parameters you want to pass. This is the master script file which triggers all the actual generator files. Extend the numbers in this file for example if you need more stubs in onConsecutiveCalls() or higher numbered ChainableMockMethod classes.

mockpp/build4sun

This bash script runs configure with the parameters needed for SUN Studio 10.

mockpp/mockpp/install-win.bat

This batch file is intended to copy all the header files for mockpp to the global include directory. Run it from a dos box and provide the target directory.

mockpp-config

This script is generated by configure and can be used to retrieve the configuration data for mockpp This may become useful when integrating mockpp in other projects.