disable /W4 on MSVC
parent
9c6e12ac29
commit
5c4504e005
|
@ -338,7 +338,7 @@ include_directories(
|
|||
)
|
||||
|
||||
if(MSVC)
|
||||
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -W4")
|
||||
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG}")
|
||||
elseif(MINGW)
|
||||
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall -Werror -Wno-error=format= -Wno-error=format -Wno-error=format-extra-args")
|
||||
else()
|
||||
|
|
|
@ -10,7 +10,7 @@ clarity.
|
|||
## Feature Highlights
|
||||
|
||||
* Small, simple language. Focus on debugging your application rather than
|
||||
debugging your knowledge of your programming language.
|
||||
debugging knowledge of your programming language.
|
||||
* Ships with a build system that obviates the need for a configure script
|
||||
or a makefile. In fact, existing C and C++ projects may choose to depend on
|
||||
Zig instead of e.g. cmake.
|
||||
|
|
Loading…
Reference in New Issue