From e698d1593cc4407b28f324ee930d8c83a8589955 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Mon, 11 Jun 2018 22:10:51 +0200 Subject: Add CMake build instructions --- CMakeLists.txt | 16 ++++++++++++++++ boltz.cc | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..a5b185d --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,16 @@ +cmake_minimum_required(VERSION 3.10) +project(boltzbub) + +set( + CMAKE_CXX_FLAGS + "${CMAKE_CXX_FLAGS} -std=c++1z -W -Wall -Wextra -Winline -pedantic" +) + +include_directories( + src/ +) + +add_executable( + boltz + boltz.cc +) diff --git a/boltz.cc b/boltz.cc index 3796b87..3949efa 100644 --- a/boltz.cc +++ b/boltz.cc @@ -4,7 +4,7 @@ #include #include -#include "src/vector.h" +#include "vector.h" struct DataCell { double data[3][3]; -- cgit v1.2.3