1
0

Fixed profiling flags for MSVC.

The profiler output contained no useful symbols before, because there were no symbols in the PDBs.
This commit is contained in:
Mattes D 2014-05-23 11:22:48 +02:00
parent 671c73c639
commit f03cbb5e04

View File

@ -118,8 +118,8 @@ endmacro()
macro(enable_profile)
# Declare the flags used for profiling builds:
if (MSVC)
set (CXX_PROFILING "")
set (LNK_PROFILING "/PROFILE")
set (CXX_PROFILING "/Zi")
set (LNK_PROFILING "/PROFILE /DEBUG")
else()
set (CXX_PROFILING "-pg")
set (LNK_PROFILING "-pg")