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:
parent
671c73c639
commit
f03cbb5e04
@ -118,8 +118,8 @@ endmacro()
|
|||||||
macro(enable_profile)
|
macro(enable_profile)
|
||||||
# Declare the flags used for profiling builds:
|
# Declare the flags used for profiling builds:
|
||||||
if (MSVC)
|
if (MSVC)
|
||||||
set (CXX_PROFILING "")
|
set (CXX_PROFILING "/Zi")
|
||||||
set (LNK_PROFILING "/PROFILE")
|
set (LNK_PROFILING "/PROFILE /DEBUG")
|
||||||
else()
|
else()
|
||||||
set (CXX_PROFILING "-pg")
|
set (CXX_PROFILING "-pg")
|
||||||
set (LNK_PROFILING "-pg")
|
set (LNK_PROFILING "-pg")
|
||||||
|
Loading…
Reference in New Issue
Block a user