Author: akhaldi
Date: Wed Jun 22 13:17:37 2011
New Revision: 52420
URL:
http://svn.reactos.org/svn/reactos?rev=52420&view=rev
Log:
[CMAKE]
* Add /W3 to compiler flags, and use the proper macro.
Modified:
trunk/reactos/cmake/msvc.cmake
Modified: trunk/reactos/cmake/msvc.cmake
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/cmake/msvc.cmake?rev=52420…
==============================================================================
--- trunk/reactos/cmake/msvc.cmake [iso-8859-1] (original)
+++ trunk/reactos/cmake/msvc.cmake [iso-8859-1] Wed Jun 22 13:17:37 2011
@@ -17,8 +17,9 @@
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")