holesome/CMakeLists.txt
2023-04-26 13:58:10 +02:00

21 lines
474 B
CMake

cmake_minimum_required(VERSION 3.12)
project(Holesome)
set(CMAKE_CXX_STANDARD 20)
# Find and include SFML
find_package(SFML 2.5 COMPONENTS graphics audio REQUIRED)
include_directories(${SFML_INCLUDE_DIR})
# Set up your project's source files
set(SOURCES
src/main.cpp
# src/game.cpp
# include/game.h
)
# Add an executable target
add_executable(Holesome ${SOURCES})
# Link SFML to your executable target
target_link_libraries(Holesome sfml-graphics sfml-audio)