cmake_minimum_required(VERSION 3.26) project(Schotten_Totten) set(CMAKE_CXX_STANDARD 17) add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/3party/raylib) add_executable(Schotten_Totten src/main.cpp src/components/card.cpp src/components/flag.cpp src/components/adjudicator.cpp src/components/agent.cpp src/components/agents/player_agent.cpp src/components/agents/random_agent.cpp src/utils.cpp ) target_compile_definitions(Schotten_Totten PRIVATE RAYGUI_IMPLEMENTATION) target_link_libraries(Schotten_Totten PRIVATE raylib) target_include_directories(Schotten_Totten PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/src)