문서의 이전 판입니다!
CMocka-1.1.7
an elegant unit testing framework for C with support for mock objects. It only requires the standard C library, works on a range of computing platforms (including embedded) and with different compilers.
Requirements
* A C compiler * CMake >= 3.5.0.
Building
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=[Release | Debug | MiniSizeRel RelWithDebInfo} ..
make
as root
make install