22 lines
358 B
Markdown
22 lines
358 B
Markdown
## Requirements
|
|
|
|
Requirements to build and run the unit tests:
|
|
- CMake 2.8 or later
|
|
- GCC / Clang with C++11 support
|
|
|
|
## Setup
|
|
|
|
Pull Google Test / Google Mock subrepository:
|
|
```
|
|
$ git submodule init
|
|
$ git submodule update
|
|
```
|
|
|
|
Create build directory, run CMake, build and run unit tests:
|
|
```
|
|
$ mkdir build && cd build
|
|
$ cmake ..
|
|
$ make
|
|
$ ctest --verbose
|
|
```
|