From 89afb970d88e3efa8ddb2f1eafff10cd6525f2b7 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sun, 29 Jan 2012 19:28:19 +0000 Subject: VC2008 / VC2010: Enabled precompiled header through Globals.h; the header included in every module in the project. Compilation optimization. git-svn-id: http://mc-server.googlecode.com/svn/trunk@188 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- VC2008/MCServer.sln | 7 ++ VC2008/MCServer.vcproj | 127 +++++++++++--------------- VC2008/WebServer.vcproj | 233 ++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 293 insertions(+), 74 deletions(-) create mode 100644 VC2008/WebServer.vcproj (limited to 'VC2008') diff --git a/VC2008/MCServer.sln b/VC2008/MCServer.sln index b64ce1e41..e71c3d197 100644 --- a/VC2008/MCServer.sln +++ b/VC2008/MCServer.sln @@ -3,6 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 10.00 # Visual C++ Express 2008 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MCServer", "MCServer.vcproj", "{32012054-0C96-4C43-AB27-174FF8E72D66}" ProjectSection(ProjectDependencies) = postProject + {9A476537-42C0-4848-AB40-15CFE83D17A8} = {9A476537-42C0-4848-AB40-15CFE83D17A8} {082E8185-7B3A-4945-8C82-9132341A329D} = {082E8185-7B3A-4945-8C82-9132341A329D} {EEAB54AD-114C-4AB8-8482-0A52D502BD35} = {EEAB54AD-114C-4AB8-8482-0A52D502BD35} {5AAA90B9-946D-4034-83F3-676B06A6E326} = {5AAA90B9-946D-4034-83F3-676B06A6E326} @@ -17,6 +18,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Lua", "Lua.vcproj", "{082E8 EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ToLua", "ToLua.vcproj", "{EEAB54AD-114C-4AB8-8482-0A52D502BD35}" EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "WebServer", "WebServer.vcproj", "{9A476537-42C0-4848-AB40-15CFE83D17A8}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Win32 = Debug|Win32 @@ -43,6 +46,10 @@ Global {EEAB54AD-114C-4AB8-8482-0A52D502BD35}.Debug|Win32.Build.0 = Debug|Win32 {EEAB54AD-114C-4AB8-8482-0A52D502BD35}.Release|Win32.ActiveCfg = Release|Win32 {EEAB54AD-114C-4AB8-8482-0A52D502BD35}.Release|Win32.Build.0 = Release|Win32 + {9A476537-42C0-4848-AB40-15CFE83D17A8}.Debug|Win32.ActiveCfg = Debug|Win32 + {9A476537-42C0-4848-AB40-15CFE83D17A8}.Debug|Win32.Build.0 = Debug|Win32 + {9A476537-42C0-4848-AB40-15CFE83D17A8}.Release|Win32.ActiveCfg = Release|Win32 + {9A476537-42C0-4848-AB40-15CFE83D17A8}.Release|Win32.Build.0 = Release|Win32 EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/VC2008/MCServer.vcproj b/VC2008/MCServer.vcproj index 1bed41d81..4274c2f5e 100644 --- a/VC2008/MCServer.vcproj +++ b/VC2008/MCServer.vcproj @@ -46,7 +46,8 @@ MinimalRebuild="false" BasicRuntimeChecks="3" RuntimeLibrary="3" - UsePrecompiledHeader="0" + UsePrecompiledHeader="2" + PrecompiledHeaderThrough="Globals.h" WarningLevel="3" DebugInformationFormat="4" /> @@ -115,7 +116,8 @@ AdditionalIncludeDirectories="../zlib-1.2.5;../jsoncpp-src-0.5.0/include;../lua-5.1.4/src;../tolua++-1.0.93/include" PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;" RuntimeLibrary="2" - UsePrecompiledHeader="0" + UsePrecompiledHeader="2" + PrecompiledHeaderThrough="Globals.h" WarningLevel="3" DebugInformationFormat="3" /> @@ -287,14 +289,6 @@ RelativePath="..\source\cEntity.h" > - - - - @@ -416,9 +410,18 @@ FavorSizeOrSpeed="1" OmitFramePointers="true" BasicRuntimeChecks="0" + UsePrecompiledHeader="0" DebugInformationFormat="3" /> + + + - - - - @@ -660,6 +655,30 @@ RelativePath="..\source\FileDefine.h" > + + + + + + + + + + @@ -1415,6 +1434,14 @@ RelativePath="..\source\cCriticalSection.h" > + + + + @@ -1423,6 +1450,14 @@ RelativePath="..\source\cSemaphore.h" > + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/VC2008/WebServer.vcproj b/VC2008/WebServer.vcproj new file mode 100644 index 000000000..f86f4ba8b --- /dev/null +++ b/VC2008/WebServer.vcproj @@ -0,0 +1,233 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3