Commander Suzdal library: a C++ library to support the development of chess related software (e.g. Engines).
Developed using a TDD approach.
Command Line (basic) instructions:
First of all, clone and build the project:
git clone --recurse-submodules https://github.com/fpiantini/cmdsuzdal.git
mkdir build
cd build
cmake [cmake_options] ../cmdsuzdal
cmake --build .
Possible cmake_options
:
-G <Generator>
: the generator to use to build the project. Suggested generator: Ninja.-DCMAKE_INSTALL_PREFIX=<installation_directory>
: specify the installation directory for theinstall
target-DENABLE_COVERAGE_TEST=OFF
: to disable test coverage computation
Execute tests:
ctest -V .
Compute test coverage:
cmake --build . --target libcmdsuzdal_coverage
See the test coverage results opening the libcmdsuzdal_coverage/index.html
file.
Install the library to use it from another project:
cmake --build . --target install