From a4024e15a807e26ddad04d6804742fab0d6c8c96 Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 18 Aug 2026 20:55:21 +0200 Subject: perf(board): implementing magic bitboards for faster move generation --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index b8a0602..e5cb17b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -38,6 +38,11 @@ else() ) endif() +option(PERFT_DIVIDE "Enable perft divide output" OFF) +if (PERFT_DIVIDE) + target_compile_definitions(${PROJECT_NAME} PRIVATE PERFT_DIVIDE) +endif() + if (NOT MSVC AND CMAKE_BUILD_TYPE STREQUAL "Debug") target_compile_options(${PROJECT_NAME} PRIVATE -fsanitize=address,undefined -- cgit v1.2.3