mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 02:25:17 +00:00
[CMAKE]
* Add /W3 to compiler flags, and use the proper macro. svn path=/trunk/; revision=52420
This commit is contained in:
parent
de7f3b854f
commit
5b429883dc
1 changed files with 2 additions and 1 deletions
|
@ -17,9 +17,10 @@ if(ARCH MATCHES i386)
|
|||
add_definitions(/DWIN32 /D_WINDOWS)
|
||||
endif()
|
||||
|
||||
add_definitions(/X /GR- /GS- /Zl)
|
||||
add_definitions(/Dinline=__inline /D__STDC__=1)
|
||||
|
||||
add_compiler_flags(/X /GR- /GS- /Zl /W3)
|
||||
|
||||
if(${_MACHINE_ARCH_FLAG} MATCHES X86)
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /SAFESEH:NO /NODEFAULTLIB")
|
||||
set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} /SAFESEH:NO /NODEFAULTLIB")
|
||||
|
|
Loading…
Reference in a new issue