README.md 776 Bytes
Newer Older
Evili del Rio i Silvan's avatar
Evili del Rio i Silvan committed
1
2
3
4
5
6
7
[![build status](https://gitlab.iri.upc.edu/erio/cmake_gtest/badges/master/build.svg)](https://gitlab.iri.upc.edu/erio/cmake_gtest/commits/master)

# cmake_gtest

This is a toy CMake project to start using GitLab and CI
with GoogleTest, valgrind, and coverage ready to use.

Evili del Rio i Silvan's avatar
Evili del Rio i Silvan committed
8
9
10
11
The project is organized with three directories:
* `src`, where you should put all your code.
* `tests`, where you should put all the testing code.
* `ext`, where you should import any external project/library (like GoogleTest).
Evili del Rio i Silvan's avatar
Evili del Rio i Silvan committed
12

Evili del Rio i Silvan's avatar
Evili del Rio i Silvan committed
13
14
15
16
To use it, just copy (or clone) the contents of this repo and then:
* Edit `CMakeLists.txt` and `src/CMakeLists.txt` to your taste.
* Edit/replace `src/main.cpp`.
* Remove dummy source files like `src/SomeHeader.h`, `tests/silly_test.cpp`, etc.
Evili del Rio i Silvan's avatar
Evili del Rio i Silvan committed
17
18
19

Can I change this?
* Yes