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

https://github.com/prophetru/allocator

Educational project
https://github.com/prophetru/allocator

allocator cmake cpp14 gtest map otus vector

Last synced: 3 months ago
JSON representation

Educational project

Awesome Lists containing this project

README

          

# Allocator
Educational project with [googletest](https://github.com/google/googletest)

## Build local Linux
```shell
sudo apt-get update && sudo apt-get install cmake libgtest-dev -y

cd Allocator
mkdir build && cd build

cmake ..

# build release
cmake --build . --config Release

# build deb-package
cmake --build . --target package
```

## Build local Windows
```shell
vcpkg install gtest
vcpkg integrate install

cd Allocator
mkdir build && cd build

cmake .. -DCMAKE_TOOLCHAIN_FILE="path/to/vcpkg/scripts/buildsystems/vcpkg.cmake"

# build release
cmake --build . --config Release
```

## Testing
```shell
ctest
```