# game/events tests: the posting rules read out of the instruction stream, plus a replay of
# the event list a real save holds. The canonical runner is build_and_run.sh (plain g++).
add_executable(game_events_test test_events.cpp)
target_link_libraries(game_events_test PRIVATE sots_game_events)
target_include_directories(game_events_test PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR}/../game_sim ${CMAKE_CURRENT_SOURCE_DIR}/../../src)
target_compile_options(game_events_test PRIVATE -Wall -Wextra -pedantic)
add_test(NAME game_events COMMAND game_events_test)
