Skip to content

Latest commit

 

History

History
10 lines (9 loc) · 734 Bytes

Installation.md

File metadata and controls

10 lines (9 loc) · 734 Bytes

While configure mock++ with cmake, follow variables could be specified:

Variable Type Default Value Scope Notes
MOCKCPP_ALLOW_MI BOOL TRUE TRUE/FALSE Allow multi-inheritance or not
MOCKCPP_MAX_INHERITANCE STRING 2 2~5 maximum parents number of an interface
MOCKCPP_NO_NAMESPACE BOOL FALSE TRUE/FALSE using mockpp namespace or not
MOCKCPP_MAX_VTBL_SIZE STRING 20 2~50 maximum virtual table size
MOCKCPP_MAX_PARAMETERS STRING 12 1~12 maximum number of parameters of a function/method
MOCKCPP_INSTALL_BOOST BOOL FALSE TRUE/FALSE install boost library or not while running "make install"