Fixed Win nightbuilds not producing PDBs.
This commit is contained in:
parent
0369c585fb
commit
e75f979e01
@ -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.*
|
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user