summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2012-12-13 11:35:55 (GMT)
committerRemko Tronçon <git@el-tramo.be>2012-12-22 14:25:42 (GMT)
commitfa500ac6870324e10ae90656c03a88666200634b (patch)
tree1490968b0085f234be5d0dcd7561e35c1406a790 /Documentation/SwiftenDevelopersGuide
parentd6bb5d79e3726d2aad82b52fe637030177b4950f (diff)
downloadswift-fa500ac6870324e10ae90656c03a88666200634b.zip
swift-fa500ac6870324e10ae90656c03a88666200634b.tar.bz2
Use /Zi instead of /Z7 for debugging symbols.
Change-Id: I60e34c2dd03bfa52949b7781a922959604d15bee
Diffstat (limited to 'Documentation/SwiftenDevelopersGuide')
-rw-r--r--Documentation/SwiftenDevelopersGuide/Examples/EchoBot/SConscript5
1 files changed, 0 insertions, 5 deletions
diff --git a/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/SConscript b/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/SConscript
index 84cc80b..aa9f691 100644
--- a/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/SConscript
+++ b/Documentation/SwiftenDevelopersGuide/Examples/EchoBot/SConscript
@@ -7,11 +7,6 @@ example_env.UseFlags(example_env["SWIFTEN_DEP_FLAGS"])
# Precompile Swiften header
# This is useful to slightly speed up compilation.
if example_env["PLATFORM"] == "win32":
- # Precompiled headers don't work with /Z7. We don't really need /Z7 here, so using
- # the more standard /Zi.
- if example_env["debug"] :
- example_env.Replace(CCFLAGS = [flag for flag in env["CCFLAGS"] if flag != "/Z7"])
- example_env.Append(CCFLAGS = "/Zi")
example_env.WriteVal("Swiften.cpp", example_env.Value("#include <Swiften/Swiften.h>\n"))
example_env["PCH"] = example_env.PCH("Swiften.cpp")[0]
example_env["PCHSTOP"] = "Swiften/Swiften.h"