cmake_minimum_required(VERSION 3.10)
project(SFML_Games)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

# Poiščemo SFML knjižnice
find_package(SFML 2.5 COMPONENTS graphics window system REQUIRED)

# Ustvarimo izvršljivko za vsako igro posebej

add_executable(circle circle.cpp)
target_link_libraries(circle sfml-graphics sfml-window sfml-system)

add_executable(pong pong.cpp)
target_link_libraries(pong sfml-graphics sfml-window sfml-system)

add_executable(snake snake.cpp)
target_link_libraries(snake sfml-graphics sfml-window sfml-system)

add_executable(shooter shooter.cpp)
target_link_libraries(shooter sfml-graphics sfml-window sfml-system)

add_executable(maze maze.cpp)
target_link_libraries(maze sfml-graphics sfml-window sfml-system)

add_executable(memory memory.cpp)
target_link_libraries(memory sfml-graphics sfml-window sfml-system)

add_executable(slika slika.cpp)
target_link_libraries(slika sfml-graphics sfml-window sfml-system)

add_executable(labs labs.cpp)
target_link_libraries(labs sfml-graphics sfml-window sfml-system)

add_executable(rsa rsa.cpp)
target_link_libraries(rsa sfml-graphics sfml-window sfml-system)
