An open API service indexing awesome lists of open source software.

https://github.com/daniel1302/cmakelists

It is a skeleton for an application using CMake. A sketch includes integration with google benchmarks and google tests.
https://github.com/daniel1302/cmakelists

Last synced: 5 months ago
JSON representation

It is a skeleton for an application using CMake. A sketch includes integration with google benchmarks and google tests.

Awesome Lists containing this project

README

          

# CMakeLists skeleton

### Directory tree:

```
.
├── benchmarks
│   └── squareRoot.bench.cpp
├── build
├── CMakeLists.txt
├── src
│   └── squareRoot.hpp
├── tests
│   └── squareRoot.t.cpp
├── .gitmodules
└── vendor
```

### Build

#### Install libraries

```
git submodule init
git submodule update
```

#### Build project

```
cd build;
cmake ../ -DWITH_GTEST=ON ;
make -j8;
make test
```