data structures lib
Require Cmake tools https://cmake.org/ and C++20 (recommend ninja builder).
You can also run as a python script.
To build inside build/ you can run:
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug ../and then:
make cmake --build . --config DebugYou can also build your projects manually passing include path:
clang++ ./examples/huffman.cpp -I/path/to/dsun/ -I/path/to/standard/includes -std=c++20require CTest
You can also choose to test with python
But manually just need it after build:
cd build
ctest -j10 -C Debug -T test --output-on-failure # or just ctestThere are scripts to build, test and configure vscode (in my style) to build and test just run:
python3 scripts/build.py
python3 scripts/test.py