From 57e932e3d180bb46c89f82c5b1a0045569490589 Mon Sep 17 00:00:00 2001 From: Martin Brodbeck Date: Tue, 3 Jul 2018 16:35:00 +0200 Subject: [PATCH] Started with cmake file --- CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..0099a8d --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,7 @@ +cmake_minimum_required(VERSION 3.5) + +if(MSVC) + add_compile_options(/W4 /WX) +else() + add_compile_options(-W -Wall -Werror) +endif()