Author: tfaber
Date: Tue Oct 4 14:20:25 2011
New Revision: 53987
URL:
http://svn.reactos.org/svn/reactos?rev=53987&view=rev
Log:
[CMAKE/MSVC]
- Calculate image checksums to fix warnings in WinDbg
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=53987…
==============================================================================
--- trunk/reactos/cmake/msvc.cmake [iso-8859-1] (original)
+++ trunk/reactos/cmake/msvc.cmake [iso-8859-1] Tue Oct 4 14:20:25 2011
@@ -1,6 +1,6 @@
if(${CMAKE_BUILD_TYPE} MATCHES Debug)
- # no optimitation
+ # no optimization
elseif(OPTIMIZE STREQUAL "1")
add_definitions(/O1)
elseif(OPTIMIZE STREQUAL "2")
@@ -22,9 +22,9 @@
add_compile_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")
- set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} /SAFESEH:NO
/NODEFAULTLIB")
+ set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /SAFESEH:NO /NODEFAULTLIB
/RELEASE")
+ set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} /SAFESEH:NO
/NODEFAULTLIB /RELEASE")
+ set(CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} /SAFESEH:NO
/NODEFAULTLIB /RELEASE")
endif()
if(${ARCH} MATCHES amd64)