aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
blob: ca28adf45c535940abc72251b94f4028f8bd9365 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
cmake_minimum_required(VERSION 3.13)
project(erender)

set( CMAKE_CXX_STANDARD 17 )

aux_source_directory(./src/ SRC_LIST)
add_executable(${PROJECT_NAME} ${SRC_LIST})

add_subdirectory(external/SFML)
target_include_directories(${PROJECT_NAME} PUBLIC external/SFML/include)
target_link_directories(${PROJECT_NAME} PUBLIC external/SFML/lib)

target_link_libraries(${PROJECT_NAME} sfml-graphics sfml-window sfml-system)