summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
blob: a804ac51678a199c78c0a32b3d2854f1a493fd01 (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 -stdlib=libc++")
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -flto -Wall -stdlib=libc++")

set (CMAKE_CXX_STANDARD 17)
set (CMAKE_C_STANDARD 11)

include(GNUInstallDirs)

add_subdirectory(lib)
add_subdirectory(src)