You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
483 B
14 lines
483 B
set(ProjectName "septadrop")
|
|
|
|
cmake_minimum_required(VERSION 3.10)
|
|
set(CMAKE_CXX_STANDARD 20)
|
|
set(CMAKE_CXX_STANDARD_REQUIRED 20)
|
|
|
|
project(${ProjectName} VERSION 1.0.1)
|
|
|
|
file (GLOB_RECURSE SRC_FILES src/*.cpp)
|
|
add_executable(${ProjectName} ${SRC_FILES})
|
|
target_include_directories(${ProjectName} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/include)
|
|
|
|
find_package(SFML 2.5 COMPONENTS system window graphics network audio REQUIRED)
|
|
target_link_libraries(${ProjectName} sfml-graphics sfml-audio) |