stellar

Stellar - UCI Chess engine written in C++20
git clone git://git.dimitrijedobrota.com/stellar.git
Log | Files | Refs | README | LICENSE

CMakeLists.txt (504B)


      1 add_executable(engine
      2     engine.cpp
      3     evaluate.cpp
      4     uci.cpp
      5 )
      6 
      7 option(STELLAR_STATS "Provide stats for analysis" OFF)
      8 if(STELLAR_STATS)
      9     add_definitions(-DUSE_STATS)
     10 endif()
     11 
     12 target_link_libraries(engine
     13     PRIVATE Stellar_version
     14     PRIVATE bitboard
     15     PRIVATE board
     16     PRIVATE moves
     17     PRIVATE piece
     18     PRIVATE utils
     19 )
     20 
     21 set_target_properties(engine PROPERTIES
     22     VERSION ${PROJECT_VERSION}
     23     SOVERSION ${PROJECT_VERSION_MAJOR}
     24     RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin"
     25 )