diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 77 |
1 files changed, 77 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..759f6fc --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,77 @@ +cmake_minimum_required (VERSION 3.10) + +project (libquackle) + +message("-- Configuring libquackle") + +include("${CMAKE_CURRENT_SOURCE_DIR}/Settings.cmake") + +set(LIBQUACKLE_SOURCES + alphabetparameters.cpp + bag.cpp + board.cpp + boardparameters.cpp + bogowinplayer.cpp + catchall.cpp + clock.cpp + computerplayer.cpp + computerplayercollection.cpp + datamanager.cpp + endgame.cpp + endgameplayer.cpp + enumerator.cpp + evaluator.cpp + game.cpp + gameparameters.cpp + generator.cpp + lexiconparameters.cpp + move.cpp + player.cpp + playerlist.cpp + preendgame.cpp + rack.cpp + reporter.cpp + resolvent.cpp + sim.cpp + strategyparameters.cpp +) + +set(LIBQUACKLE_HEADERS + alphabetparameters.h + bag.h + board.h + boardparameters.h + bogowinplayer.h + catchall.h + clock.h + computerplayer.h + computerplayercollection.h + datamanager.h + endgame.h + endgameplayer.h + enumerator.h + evaluator.h + fixedstring.h + gaddag.h + game.h + gameparameters.h + generator.h + lexiconparameters.h + move.h + player.h + playerlist.h + preendgame.h + rack.h + reporter.h + resolvent.h + sim.h + strategyparameters.h + uv.h +) + +add_library(libquackle + ${LIBQUACKLE_SOURCES} ${LIBQUACKLE_HEADERS} +) + +set_target_properties(libquackle PROPERTIES COMPILE_FLAGS -fsanitize=address) +set_target_properties(libquackle PROPERTIES LINK_FLAGS -fsanitize=address) |