aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorAdam <adammegarules1@gmail.com>2026-08-18 20:55:21 +0200
committerAdam <adammegarules1@gmail.com>2026-08-18 20:55:21 +0200
commita4024e15a807e26ddad04d6804742fab0d6c8c96 (patch)
tree7e951f816614fbf40eba1b32cbee61bbb54fbdfb /CMakeLists.txt
parentfcc0dc87f04403c8073ab769d3046d32342e6c2a (diff)
perf(board): implementing magic bitboards for faster move generation
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
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