summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
blob: e3f70d80f42de0fc33b12815272158a7d762cf1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

cmake_minimum_required(VERSION 3.8)

set(CMAKE_CXX_FLAGS_DEBUG "-g -Wall")
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -flto -Wall -march=native")

set (CMAKE_CXX_STANDARD 17)
set (CMAKE_C_STANDARD 11)

include(GNUInstallDirs)

add_subdirectory(lib)
add_subdirectory(src)