replaced gtest + mockme with CPPUtest + subhook

Part 1
This commit is contained in:
Attila Body 2021-02-25 00:20:15 +01:00
parent 95af4ce0d8
commit 8709bcb465
284 changed files with 87 additions and 113526 deletions

View file

@ -0,0 +1,6 @@
#!/bin/bash
SCRIPTDIR=$(readlink -f $(dirname "$0"))
cd "$SCRIPTDIR"/cpputest/cpputest_build
cmake -DCPPUTEST_C_FLAGS=-m32 -DCPPUTEST_CXX_FLAGS=-m32 -DCPPUTEST_LD_FLAGS=-m32 \
-DC++11=ON -DTESTS=OFF -DCMAKE_INSTALL_PREFIX:PATH="$SCRIPTDIR"/cpputest_x86 ..
make -j$(nproc) && make install