Skip to content

Commit

Permalink
Exclude lua bindings from default build
Browse files Browse the repository at this point in the history
  • Loading branch information
subvertnormality committed Jan 12, 2025
1 parent 8747056 commit 9567c91
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@ before_build:
'set(CMAKE_CXX_STANDARD_REQUIRED ON)',
'set (CMAKE_CXX_EXTENSIONS OFF)',
'set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/src)',
'option(BUILD_WITH_LUA "Build with Lua support" OFF)',
'set(source_files', $src, ')',
'if(NOT BUILD_WITH_LUA)',
' list(REMOVE_ITEM source_files "${CMAKE_SOURCE_DIR}/src/luabindings.cpp")',
'endif()',
'add_compile_definitions(NNUE_EMBEDDING_OFF)',
'add_executable(stockfish ${source_files})'
Expand Down

0 comments on commit 9567c91

Please sign in to comment.