blob: 52d0ce58d07f56a243eb17a657757cffdf544334 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
cmake_minimum_required (VERSION 3.1)
project (tanetane)
set(CMAKE_BUILD_TYPE Debug)
# Get dependencies.
find_package(SDL2 REQUIRED)
set(ALL_LIBS
${SDL2_LIBRARY}
)
include_directories(
${SDL2_INCLUDE_DIR}
src
)
link_directories(
${SDL2_LIBRARY_DIRS}
)
add_executable(tanetane
src/main.cpp
)
set_property(TARGET tanetane PROPERTY CXX_STANDARD 17)
set_property(TARGET tanetane PROPERTY CXX_STANDARD_REQUIRED ON)
target_link_libraries(tanetane ${ALL_LIBS})
|