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

cmake_minimum_required(VERSION 3.8)

project(fracture)

set(CMAKE_CXX_FLAGS_DEBUG "-g -Wall -std=c++2a -stdlib=libc++")
set(CMAKE_CXX_FLAGS_RELEASE "-O3 -flto -Wall -march=native -std=c++2a -stdlib=libc++")

set (CMAKE_CXX_STANDARD 20)
set (CMAKE_C_STANDARD 11)

include(GNUInstallDirs)

add_subdirectory(lib)
add_subdirectory(src)