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

cmake_minimum_required(VERSION 3.9)

set(CMAKE_CXX_FLAGS_DEBUG "-g -Wall")
set(CMAKE_CXX_FLAGS_RELEASE "-O3")

set (CMAKE_CXX_STANDARD 17)
set (CMAKE_C_STANDARD 11)

include(GNUInstallDirs)

link_directories(~/.local/lib64)

add_executable(new_model src/new_model.cpp)
target_include_directories(new_model PUBLIC ~/.local/include)
target_link_libraries(new_model)