/ChessEngine

Primary LanguageC++MIT LicenseMIT

Build

cmake -B build
cmake --build build

Testing

  • Build with testing enabled:
cmake -DCMAKE_BUILD_TYPE=Debug -DENABLE_TESTING=ON -B build
cmake --build build
  • Run tests:
ctest --test-dir build
  • Run tests with Valgrind:
ulimit -n 4096
cmake --build build -t valgrind-memcheck
  • Run tests with Callgrind:
ulimit -n 4096
cmake --build build -t valgrind-callgrind