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") set(CMAKE_CXX_FLAGS_RELEASE "-O3 -flto -Wall -march=native -std=c++2a") set (CMAKE_CXX_STANDARD 17) set (CMAKE_C_STANDARD 11) include(GNUInstallDirs) add_subdirectory(lib) add_subdirectory(src)