List:Commits« Previous MessageNext Message »
From:vvaintroub Date:April 25 2008 9:04am
Subject:bk commit into 6.0 tree (vvaintroub:1.2643)
View as plain text  
Below is the list of changes that have just been committed into a local
6.0 repository of vvaintroub.  When vvaintroub does a push these changes
will be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet@stripped, 2008-04-25 09:04:33+02:00, vvaintroub@wva. +1 -0
  Create PDB files also in "Release" build. With this change  Release 
  configuration becomes the same as relwithdebinfo

  CMakeLists.txt@stripped, 2008-04-25 09:04:31+02:00, vvaintroub@wva. +4 -3
    Create PDB also in Release build

diff -Nrup a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt	2008-04-14 12:11:45 +02:00
+++ b/CMakeLists.txt	2008-04-25 09:04:31 +02:00
@@ -116,9 +116,10 @@ SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${CM
 SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -DDBUG_OFF")
 SET(CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELWITHDEBINFO} -DDBUG_OFF")
 
-# enable debug info also in Release build, to be able to analyze crashes
-SET(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -Zi")
-SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -Zi")
+# enable debug info also in Release build, and create PDB to be able to analyze crashes
+SET(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /Zi")
+SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} /Zi")
+SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "${CMAKE_EXE_LINKER_FLAGS_RELEASE} /debug")
 
 # VS2003 needs the /Op compiler option to disable floating point optimizations
 IF(CMAKE_GENERATOR MATCHES "Visual Studio 7")
Thread
bk commit into 6.0 tree (vvaintroub:1.2643)vvaintroub25 Apr