Started with cmake file
This commit is contained in:
parent
5f3a60d63c
commit
57e932e3d1
1 changed files with 7 additions and 0 deletions
7
CMakeLists.txt
Normal file
7
CMakeLists.txt
Normal file
|
@ -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()
|
Loading…
Reference in a new issue