diff options
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 5 |
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 |
