cmake_minimum_required(VERSION 3.5)
if(MSVC)
add_compile_options(/W4 /WX)
else()
add_compile_options(-W -Wall -Werror)
endif()