summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-05-23 11:22:48 +0200
committerMattes D <github@xoft.cz>2014-05-23 11:22:48 +0200
commitf03cbb5e04d8dc4ccbb51cf63200ff3ac597f0f9 (patch)
treeaa0df37d1632fcbd9f2c0815a69ddb2b26038052
parentMerge pull request #1015 from mc-server/Stats (diff)
downloadcuberite-f03cbb5e04d8dc4ccbb51cf63200ff3ac597f0f9.tar
cuberite-f03cbb5e04d8dc4ccbb51cf63200ff3ac597f0f9.tar.gz
cuberite-f03cbb5e04d8dc4ccbb51cf63200ff3ac597f0f9.tar.bz2
cuberite-f03cbb5e04d8dc4ccbb51cf63200ff3ac597f0f9.tar.lz
cuberite-f03cbb5e04d8dc4ccbb51cf63200ff3ac597f0f9.tar.xz
cuberite-f03cbb5e04d8dc4ccbb51cf63200ff3ac597f0f9.tar.zst
cuberite-f03cbb5e04d8dc4ccbb51cf63200ff3ac597f0f9.zip
-rw-r--r--SetFlags.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/SetFlags.cmake b/SetFlags.cmake
index 4eed529bd..fe867f9af 100644
--- a/SetFlags.cmake
+++ b/SetFlags.cmake
@@ -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")