CMakeLists.txt 582 bytes
cmake_minimum_required(VERSION 3.10)
include(FetchContent)
set(BUILD_SHARED_LIBS OFF)
FetchContent_Declare(SFML GIT_REPOSITORY https://github.com/SFML/SFML.git GIT_TAG 2.6.1)
FetchContent_MakeAvailable(SFML)
project(pacman) 
add_executable(proga "application/application.cpp"  "main.cpp" "drawable/drawable.h" "drawable/drawable.cpp" "drawable/button.h" "drawable/button.cpp" "drawable/menu.h" "states/istatemanager.h" "states/state.h" "iwindowkeeper/iwindowkeeper.h" "states/states.h" "command/command.h")
target_link_libraries(proga PUBLIC sfml-graphics sfml-window sfml-system)