mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 05:44:58 +00:00

Otherwise, we end up propagating those dependencies into targets that link against that library, which creates unnecessary link-time dependencies. Also included are changes to readd now missing dependencies to tools that actually need them.
13 lines
222 B
CMake
13 lines
222 B
CMake
serenity_component(
|
|
ChessEngine
|
|
TARGETS ChessEngine
|
|
)
|
|
|
|
set(SOURCES
|
|
ChessEngine.cpp
|
|
main.cpp
|
|
MCTSTree.cpp
|
|
)
|
|
|
|
serenity_bin(ChessEngine)
|
|
target_link_libraries(ChessEngine PRIVATE LibChess LibCore LibMain)
|