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()