Skip to content

fpiantini/cmdsuzdal

Repository files navigation

cmdsuzdal library

Build Status codecov Language grade: C/C++ License: MIT PRs Welcome

Commander Suzdal library: a C++ library to support the development of chess related software (e.g. Engines).

Developed using a TDD approach.

How To build

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 the install 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

About

Chess engine related code snippets in TDD sauce

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published