1
0

Fixed Win nightbuilds not producing PDBs.

This commit is contained in:
madmaxoft 2014-01-24 10:24:24 +01:00
parent 0369c585fb
commit e75f979e01
2 changed files with 8 additions and 7 deletions

View File

@ -1,8 +1,2 @@
MCServer\*.pdb MCServer\*.pdb
VC2008\Release\*.pdb src\Bindings\Bindings.*
VC2008\Release\JsonCpp\*.pdb
VC2008\Release\Lua\*.pdb
VC2008\Release\ToLua\*.pdb
VC2008\Release\webserver\*.pdb
VC2008\Release\zlib\*.pdb
src\Bindings.*

View File

@ -134,6 +134,13 @@ else ()
"StackWalker.cpp LeakFinder.h" PROPERTIES COMPILE_FLAGS "/Yc\"Globals.h\"" "StackWalker.cpp LeakFinder.h" PROPERTIES COMPILE_FLAGS "/Yc\"Globals.h\""
) )
list(APPEND SOURCE "Resources/MCServer.rc") list(APPEND SOURCE "Resources/MCServer.rc")
# Make MSVC generate the PDB files even for the release build:
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")
set(CMAKE_SHARED_LINKER_FLAGS_RELEASE "${CMAKE_SHARED_LINKER_FLAGS_RELEASE} /DEBUG")
set(CMAKE_MODULE_LINKER_FLAGS_RELEASE "${CMAKE_MODULE_LINKER_FLAGS_RELEASE} /DEBUG")
endif() endif()
set(EXECUTABLE MCServer) set(EXECUTABLE MCServer)