From 8f7e4850ba833f1a47fdb87b46855a64f503b315 Mon Sep 17 00:00:00 2001 From: "wrenczes@gmail.com" Date: Sun, 24 Oct 2010 06:29:20 +0000 Subject: [PATCH] Apply the same precompiler modifications to the VS2010 solution. Also turned off the C++ code analysis entirely for the debug target. Old build time: 5 minutes. New build time: 30 seconds. (note that the VS2010 code analysis slows things down considerably - but it also shows that one major bottleneck is AllAbilities.h, as it's included multiple times. That file should be refactored asap.) --- projects/mtg/template.vcxproj | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/projects/mtg/template.vcxproj b/projects/mtg/template.vcxproj index d08bc28ef..60f6f80d5 100644 --- a/projects/mtg/template.vcxproj +++ b/projects/mtg/template.vcxproj @@ -118,6 +118,8 @@ .\Release/ Level3 true + Use + PrecompiledHeader.h NDEBUG;%(PreprocessorDefinitions) @@ -164,7 +166,9 @@ Level3 true EditAndContinue - true + false + Use + PrecompiledHeader.h _DEBUG;%(PreprocessorDefinitions) @@ -214,6 +218,8 @@ Level3 true ProgramDatabase + Use + PrecompiledHeader.h NDEBUG;%(PreprocessorDefinitions) @@ -262,6 +268,8 @@ Level3 true EditAndContinue + Use + PrecompiledHeader.h _DEBUG;%(PreprocessorDefinitions) @@ -370,6 +378,12 @@ + + Create + Create + Create + Create + @@ -474,6 +488,7 @@ +