mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
Improved VS2008 projects for SFML:
- Removed warnings - Faster compiling on multi-core CPUs git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1154 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
824aaca6dd
commit
4f6b3637d7
@ -43,15 +43,16 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
|
AdditionalOptions="/MP"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
AdditionalIncludeDirectories=""$(SolutionDir)..\src";"$(SolutionDir)..\..\include";"$(SolutionDir)..\include""
|
AdditionalIncludeDirectories=""$(SolutionDir)..\src";"$(SolutionDir)..\..\include";"$(SolutionDir)..\include""
|
||||||
PreprocessorDefinitions="WIN32;_DEBUG;_LIB;CSFML_EXPORTS"
|
PreprocessorDefinitions="WIN32;_DEBUG;_LIB;CSFML_EXPORTS"
|
||||||
MinimalRebuild="true"
|
MinimalRebuild="false"
|
||||||
BasicRuntimeChecks="3"
|
BasicRuntimeChecks="3"
|
||||||
RuntimeLibrary="3"
|
RuntimeLibrary="3"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
WarningLevel="4"
|
WarningLevel="4"
|
||||||
Detect64BitPortabilityProblems="true"
|
Detect64BitPortabilityProblems="false"
|
||||||
DebugInformationFormat="4"
|
DebugInformationFormat="4"
|
||||||
DisableSpecificWarnings="4996"
|
DisableSpecificWarnings="4996"
|
||||||
/>
|
/>
|
||||||
@ -129,6 +130,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
|
AdditionalOptions="/MP"
|
||||||
Optimization="3"
|
Optimization="3"
|
||||||
FavorSizeOrSpeed="1"
|
FavorSizeOrSpeed="1"
|
||||||
AdditionalIncludeDirectories=""$(SolutionDir)..\src";"$(SolutionDir)..\..\include";"$(SolutionDir)..\include""
|
AdditionalIncludeDirectories=""$(SolutionDir)..\src";"$(SolutionDir)..\..\include";"$(SolutionDir)..\include""
|
||||||
@ -136,7 +138,7 @@
|
|||||||
RuntimeLibrary="2"
|
RuntimeLibrary="2"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
WarningLevel="4"
|
WarningLevel="4"
|
||||||
Detect64BitPortabilityProblems="true"
|
Detect64BitPortabilityProblems="false"
|
||||||
DebugInformationFormat="0"
|
DebugInformationFormat="0"
|
||||||
DisableSpecificWarnings="4996"
|
DisableSpecificWarnings="4996"
|
||||||
/>
|
/>
|
||||||
@ -214,15 +216,16 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
|
AdditionalOptions="/MP"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
AdditionalIncludeDirectories=""$(SolutionDir)..\src";"$(SolutionDir)..\..\include";"$(SolutionDir)..\include""
|
AdditionalIncludeDirectories=""$(SolutionDir)..\src";"$(SolutionDir)..\..\include";"$(SolutionDir)..\include""
|
||||||
PreprocessorDefinitions="WIN32;_DEBUG;_LIB;CSFML_EXPORTS"
|
PreprocessorDefinitions="WIN32;_DEBUG;_LIB;CSFML_EXPORTS"
|
||||||
MinimalRebuild="true"
|
MinimalRebuild="false"
|
||||||
BasicRuntimeChecks="3"
|
BasicRuntimeChecks="3"
|
||||||
RuntimeLibrary="3"
|
RuntimeLibrary="3"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
WarningLevel="4"
|
WarningLevel="4"
|
||||||
Detect64BitPortabilityProblems="true"
|
Detect64BitPortabilityProblems="false"
|
||||||
DebugInformationFormat="4"
|
DebugInformationFormat="4"
|
||||||
DisableSpecificWarnings="4996"
|
DisableSpecificWarnings="4996"
|
||||||
/>
|
/>
|
||||||
@ -286,6 +289,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
|
AdditionalOptions="/MP"
|
||||||
Optimization="3"
|
Optimization="3"
|
||||||
FavorSizeOrSpeed="1"
|
FavorSizeOrSpeed="1"
|
||||||
AdditionalIncludeDirectories=""$(SolutionDir)..\src";"$(SolutionDir)..\..\include";"$(SolutionDir)..\include""
|
AdditionalIncludeDirectories=""$(SolutionDir)..\src";"$(SolutionDir)..\..\include";"$(SolutionDir)..\include""
|
||||||
@ -293,7 +297,7 @@
|
|||||||
RuntimeLibrary="2"
|
RuntimeLibrary="2"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
WarningLevel="4"
|
WarningLevel="4"
|
||||||
Detect64BitPortabilityProblems="true"
|
Detect64BitPortabilityProblems="false"
|
||||||
DebugInformationFormat="0"
|
DebugInformationFormat="0"
|
||||||
DisableSpecificWarnings="4996"
|
DisableSpecificWarnings="4996"
|
||||||
/>
|
/>
|
||||||
|
@ -49,15 +49,16 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
|
AdditionalOptions="/MP"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
AdditionalIncludeDirectories=""$(SolutionDir)..\src";"$(SolutionDir)..\..\include";"$(SolutionDir)..\include""
|
AdditionalIncludeDirectories=""$(SolutionDir)..\src";"$(SolutionDir)..\..\include";"$(SolutionDir)..\include""
|
||||||
PreprocessorDefinitions="WIN32;_DEBUG;_LIB;CSFML_EXPORTS"
|
PreprocessorDefinitions="WIN32;_DEBUG;_LIB;CSFML_EXPORTS"
|
||||||
MinimalRebuild="true"
|
MinimalRebuild="false"
|
||||||
BasicRuntimeChecks="3"
|
BasicRuntimeChecks="3"
|
||||||
RuntimeLibrary="3"
|
RuntimeLibrary="3"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
WarningLevel="4"
|
WarningLevel="4"
|
||||||
Detect64BitPortabilityProblems="true"
|
Detect64BitPortabilityProblems="false"
|
||||||
DebugInformationFormat="4"
|
DebugInformationFormat="4"
|
||||||
DisableSpecificWarnings="4996"
|
DisableSpecificWarnings="4996"
|
||||||
/>
|
/>
|
||||||
@ -138,6 +139,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
|
AdditionalOptions="/MP"
|
||||||
Optimization="3"
|
Optimization="3"
|
||||||
FavorSizeOrSpeed="1"
|
FavorSizeOrSpeed="1"
|
||||||
AdditionalIncludeDirectories=""$(SolutionDir)..\src";"$(SolutionDir)..\..\include";"$(SolutionDir)..\include""
|
AdditionalIncludeDirectories=""$(SolutionDir)..\src";"$(SolutionDir)..\..\include";"$(SolutionDir)..\include""
|
||||||
@ -145,7 +147,7 @@
|
|||||||
RuntimeLibrary="2"
|
RuntimeLibrary="2"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
WarningLevel="4"
|
WarningLevel="4"
|
||||||
Detect64BitPortabilityProblems="true"
|
Detect64BitPortabilityProblems="false"
|
||||||
DebugInformationFormat="0"
|
DebugInformationFormat="0"
|
||||||
DisableSpecificWarnings="4996"
|
DisableSpecificWarnings="4996"
|
||||||
/>
|
/>
|
||||||
@ -226,15 +228,16 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
|
AdditionalOptions="/MP"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
AdditionalIncludeDirectories=""$(SolutionDir)..\src";"$(SolutionDir)..\..\include";"$(SolutionDir)..\include""
|
AdditionalIncludeDirectories=""$(SolutionDir)..\src";"$(SolutionDir)..\..\include";"$(SolutionDir)..\include""
|
||||||
PreprocessorDefinitions="WIN32;_DEBUG;_LIB;CSFML_EXPORTS"
|
PreprocessorDefinitions="WIN32;_DEBUG;_LIB;CSFML_EXPORTS"
|
||||||
MinimalRebuild="true"
|
MinimalRebuild="false"
|
||||||
BasicRuntimeChecks="3"
|
BasicRuntimeChecks="3"
|
||||||
RuntimeLibrary="3"
|
RuntimeLibrary="3"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
WarningLevel="4"
|
WarningLevel="4"
|
||||||
Detect64BitPortabilityProblems="true"
|
Detect64BitPortabilityProblems="false"
|
||||||
DebugInformationFormat="4"
|
DebugInformationFormat="4"
|
||||||
DisableSpecificWarnings="4996"
|
DisableSpecificWarnings="4996"
|
||||||
/>
|
/>
|
||||||
@ -301,6 +304,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
|
AdditionalOptions="/MP"
|
||||||
Optimization="3"
|
Optimization="3"
|
||||||
FavorSizeOrSpeed="1"
|
FavorSizeOrSpeed="1"
|
||||||
AdditionalIncludeDirectories=""$(SolutionDir)..\src";"$(SolutionDir)..\..\include";"$(SolutionDir)..\include""
|
AdditionalIncludeDirectories=""$(SolutionDir)..\src";"$(SolutionDir)..\..\include";"$(SolutionDir)..\include""
|
||||||
@ -308,7 +312,7 @@
|
|||||||
RuntimeLibrary="2"
|
RuntimeLibrary="2"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
WarningLevel="4"
|
WarningLevel="4"
|
||||||
Detect64BitPortabilityProblems="true"
|
Detect64BitPortabilityProblems="false"
|
||||||
DebugInformationFormat="0"
|
DebugInformationFormat="0"
|
||||||
DisableSpecificWarnings="4996"
|
DisableSpecificWarnings="4996"
|
||||||
/>
|
/>
|
||||||
|
@ -43,15 +43,16 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
|
AdditionalOptions="/MP"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
AdditionalIncludeDirectories=""$(SolutionDir)..\src";"$(SolutionDir)..\..\include";"$(SolutionDir)..\include""
|
AdditionalIncludeDirectories=""$(SolutionDir)..\src";"$(SolutionDir)..\..\include";"$(SolutionDir)..\include""
|
||||||
PreprocessorDefinitions="WIN32;_DEBUG;_LIB;_CRT_SECURE_NO_DEPRECATE;CSFML_EXPORTS"
|
PreprocessorDefinitions="WIN32;_DEBUG;_LIB;_CRT_SECURE_NO_DEPRECATE;CSFML_EXPORTS"
|
||||||
MinimalRebuild="true"
|
MinimalRebuild="false"
|
||||||
BasicRuntimeChecks="3"
|
BasicRuntimeChecks="3"
|
||||||
RuntimeLibrary="3"
|
RuntimeLibrary="3"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
WarningLevel="4"
|
WarningLevel="4"
|
||||||
Detect64BitPortabilityProblems="true"
|
Detect64BitPortabilityProblems="false"
|
||||||
DebugInformationFormat="4"
|
DebugInformationFormat="4"
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
@ -128,6 +129,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
|
AdditionalOptions="/MP"
|
||||||
Optimization="3"
|
Optimization="3"
|
||||||
FavorSizeOrSpeed="1"
|
FavorSizeOrSpeed="1"
|
||||||
AdditionalIncludeDirectories=""$(SolutionDir)..\src";"$(SolutionDir)..\..\include";"$(SolutionDir)..\include""
|
AdditionalIncludeDirectories=""$(SolutionDir)..\src";"$(SolutionDir)..\..\include";"$(SolutionDir)..\include""
|
||||||
@ -135,7 +137,7 @@
|
|||||||
RuntimeLibrary="2"
|
RuntimeLibrary="2"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
WarningLevel="4"
|
WarningLevel="4"
|
||||||
Detect64BitPortabilityProblems="true"
|
Detect64BitPortabilityProblems="false"
|
||||||
DebugInformationFormat="0"
|
DebugInformationFormat="0"
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
@ -212,15 +214,16 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
|
AdditionalOptions="/MP"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
AdditionalIncludeDirectories=""$(SolutionDir)..\src";"$(SolutionDir)..\..\include";"$(SolutionDir)..\include""
|
AdditionalIncludeDirectories=""$(SolutionDir)..\src";"$(SolutionDir)..\..\include";"$(SolutionDir)..\include""
|
||||||
PreprocessorDefinitions="WIN32;_DEBUG;_LIB;_CRT_SECURE_NO_DEPRECATE;CSFML_EXPORTS"
|
PreprocessorDefinitions="WIN32;_DEBUG;_LIB;_CRT_SECURE_NO_DEPRECATE;CSFML_EXPORTS"
|
||||||
MinimalRebuild="true"
|
MinimalRebuild="false"
|
||||||
BasicRuntimeChecks="3"
|
BasicRuntimeChecks="3"
|
||||||
RuntimeLibrary="3"
|
RuntimeLibrary="3"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
WarningLevel="4"
|
WarningLevel="4"
|
||||||
Detect64BitPortabilityProblems="true"
|
Detect64BitPortabilityProblems="false"
|
||||||
DebugInformationFormat="4"
|
DebugInformationFormat="4"
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
@ -283,6 +286,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
|
AdditionalOptions="/MP"
|
||||||
Optimization="3"
|
Optimization="3"
|
||||||
FavorSizeOrSpeed="1"
|
FavorSizeOrSpeed="1"
|
||||||
AdditionalIncludeDirectories=""$(SolutionDir)..\src";"$(SolutionDir)..\..\include";"$(SolutionDir)..\include""
|
AdditionalIncludeDirectories=""$(SolutionDir)..\src";"$(SolutionDir)..\..\include";"$(SolutionDir)..\include""
|
||||||
@ -290,7 +294,7 @@
|
|||||||
RuntimeLibrary="2"
|
RuntimeLibrary="2"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
WarningLevel="4"
|
WarningLevel="4"
|
||||||
Detect64BitPortabilityProblems="true"
|
Detect64BitPortabilityProblems="false"
|
||||||
DebugInformationFormat="0"
|
DebugInformationFormat="0"
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
|
@ -43,15 +43,16 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
|
AdditionalOptions="/MP"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
AdditionalIncludeDirectories=""$(SolutionDir)..\src";"$(SolutionDir)..\..\include";"$(SolutionDir)..\include""
|
AdditionalIncludeDirectories=""$(SolutionDir)..\src";"$(SolutionDir)..\..\include";"$(SolutionDir)..\include""
|
||||||
PreprocessorDefinitions="WIN32;_DEBUG;_LIB;CSFML_EXPORTS"
|
PreprocessorDefinitions="WIN32;_DEBUG;_LIB;CSFML_EXPORTS"
|
||||||
MinimalRebuild="true"
|
MinimalRebuild="false"
|
||||||
BasicRuntimeChecks="3"
|
BasicRuntimeChecks="3"
|
||||||
RuntimeLibrary="3"
|
RuntimeLibrary="3"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
WarningLevel="4"
|
WarningLevel="4"
|
||||||
Detect64BitPortabilityProblems="true"
|
Detect64BitPortabilityProblems="false"
|
||||||
DebugInformationFormat="4"
|
DebugInformationFormat="4"
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
@ -128,6 +129,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
|
AdditionalOptions="/MP"
|
||||||
Optimization="3"
|
Optimization="3"
|
||||||
FavorSizeOrSpeed="1"
|
FavorSizeOrSpeed="1"
|
||||||
AdditionalIncludeDirectories=""$(SolutionDir)..\src";"$(SolutionDir)..\..\include";"$(SolutionDir)..\include""
|
AdditionalIncludeDirectories=""$(SolutionDir)..\src";"$(SolutionDir)..\..\include";"$(SolutionDir)..\include""
|
||||||
@ -135,7 +137,7 @@
|
|||||||
RuntimeLibrary="2"
|
RuntimeLibrary="2"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
WarningLevel="4"
|
WarningLevel="4"
|
||||||
Detect64BitPortabilityProblems="true"
|
Detect64BitPortabilityProblems="false"
|
||||||
DebugInformationFormat="0"
|
DebugInformationFormat="0"
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
@ -212,15 +214,16 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
|
AdditionalOptions="/MP"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
AdditionalIncludeDirectories=""$(SolutionDir)..\src";"$(SolutionDir)..\..\include";"$(SolutionDir)..\include""
|
AdditionalIncludeDirectories=""$(SolutionDir)..\src";"$(SolutionDir)..\..\include";"$(SolutionDir)..\include""
|
||||||
PreprocessorDefinitions="WIN32;_DEBUG;_LIB;CSFML_EXPORTS"
|
PreprocessorDefinitions="WIN32;_DEBUG;_LIB;CSFML_EXPORTS"
|
||||||
MinimalRebuild="true"
|
MinimalRebuild="false"
|
||||||
BasicRuntimeChecks="3"
|
BasicRuntimeChecks="3"
|
||||||
RuntimeLibrary="3"
|
RuntimeLibrary="3"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
WarningLevel="4"
|
WarningLevel="4"
|
||||||
Detect64BitPortabilityProblems="true"
|
Detect64BitPortabilityProblems="false"
|
||||||
DebugInformationFormat="4"
|
DebugInformationFormat="4"
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
@ -283,6 +286,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
|
AdditionalOptions="/MP"
|
||||||
Optimization="3"
|
Optimization="3"
|
||||||
FavorSizeOrSpeed="1"
|
FavorSizeOrSpeed="1"
|
||||||
AdditionalIncludeDirectories=""$(SolutionDir)..\src";"$(SolutionDir)..\..\include";"$(SolutionDir)..\include""
|
AdditionalIncludeDirectories=""$(SolutionDir)..\src";"$(SolutionDir)..\..\include";"$(SolutionDir)..\include""
|
||||||
@ -290,7 +294,7 @@
|
|||||||
RuntimeLibrary="2"
|
RuntimeLibrary="2"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
WarningLevel="4"
|
WarningLevel="4"
|
||||||
Detect64BitPortabilityProblems="true"
|
Detect64BitPortabilityProblems="false"
|
||||||
DebugInformationFormat="0"
|
DebugInformationFormat="0"
|
||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
|
@ -43,15 +43,16 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
|
AdditionalOptions="/MP"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
AdditionalIncludeDirectories=""$(SolutionDir)..\src";"$(SolutionDir)..\..\include";"$(SolutionDir)..\include""
|
AdditionalIncludeDirectories=""$(SolutionDir)..\src";"$(SolutionDir)..\..\include";"$(SolutionDir)..\include""
|
||||||
PreprocessorDefinitions="WIN32;_DEBUG;_LIB;CSFML_EXPORTS;GLEW_BUILD"
|
PreprocessorDefinitions="WIN32;_DEBUG;_LIB;CSFML_EXPORTS;GLEW_BUILD"
|
||||||
MinimalRebuild="true"
|
MinimalRebuild="false"
|
||||||
BasicRuntimeChecks="3"
|
BasicRuntimeChecks="3"
|
||||||
RuntimeLibrary="3"
|
RuntimeLibrary="3"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
WarningLevel="4"
|
WarningLevel="4"
|
||||||
Detect64BitPortabilityProblems="true"
|
Detect64BitPortabilityProblems="false"
|
||||||
DebugInformationFormat="4"
|
DebugInformationFormat="4"
|
||||||
DisableSpecificWarnings="4311;4312"
|
DisableSpecificWarnings="4311;4312"
|
||||||
/>
|
/>
|
||||||
@ -129,6 +130,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
|
AdditionalOptions="/MP"
|
||||||
Optimization="3"
|
Optimization="3"
|
||||||
FavorSizeOrSpeed="1"
|
FavorSizeOrSpeed="1"
|
||||||
AdditionalIncludeDirectories=""$(SolutionDir)..\src";"$(SolutionDir)..\..\include";"$(SolutionDir)..\include""
|
AdditionalIncludeDirectories=""$(SolutionDir)..\src";"$(SolutionDir)..\..\include";"$(SolutionDir)..\include""
|
||||||
@ -136,7 +138,7 @@
|
|||||||
RuntimeLibrary="2"
|
RuntimeLibrary="2"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
WarningLevel="4"
|
WarningLevel="4"
|
||||||
Detect64BitPortabilityProblems="true"
|
Detect64BitPortabilityProblems="false"
|
||||||
DebugInformationFormat="0"
|
DebugInformationFormat="0"
|
||||||
DisableSpecificWarnings="4311;4312"
|
DisableSpecificWarnings="4311;4312"
|
||||||
/>
|
/>
|
||||||
@ -214,15 +216,16 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
|
AdditionalOptions="/MP"
|
||||||
Optimization="0"
|
Optimization="0"
|
||||||
AdditionalIncludeDirectories=""$(SolutionDir)..\src";"$(SolutionDir)..\..\include";"$(SolutionDir)..\include""
|
AdditionalIncludeDirectories=""$(SolutionDir)..\src";"$(SolutionDir)..\..\include";"$(SolutionDir)..\include""
|
||||||
PreprocessorDefinitions="WIN32;_DEBUG;_LIB;CSFML_EXPORTS;GLEW_STATIC"
|
PreprocessorDefinitions="WIN32;_DEBUG;_LIB;CSFML_EXPORTS;GLEW_STATIC"
|
||||||
MinimalRebuild="true"
|
MinimalRebuild="false"
|
||||||
BasicRuntimeChecks="3"
|
BasicRuntimeChecks="3"
|
||||||
RuntimeLibrary="3"
|
RuntimeLibrary="3"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
WarningLevel="4"
|
WarningLevel="4"
|
||||||
Detect64BitPortabilityProblems="true"
|
Detect64BitPortabilityProblems="false"
|
||||||
DebugInformationFormat="4"
|
DebugInformationFormat="4"
|
||||||
DisableSpecificWarnings="4311;4312"
|
DisableSpecificWarnings="4311;4312"
|
||||||
/>
|
/>
|
||||||
@ -286,6 +289,7 @@
|
|||||||
/>
|
/>
|
||||||
<Tool
|
<Tool
|
||||||
Name="VCCLCompilerTool"
|
Name="VCCLCompilerTool"
|
||||||
|
AdditionalOptions="/MP"
|
||||||
Optimization="3"
|
Optimization="3"
|
||||||
FavorSizeOrSpeed="1"
|
FavorSizeOrSpeed="1"
|
||||||
AdditionalIncludeDirectories=""$(SolutionDir)..\src";"$(SolutionDir)..\..\include";"$(SolutionDir)..\include""
|
AdditionalIncludeDirectories=""$(SolutionDir)..\src";"$(SolutionDir)..\..\include";"$(SolutionDir)..\include""
|
||||||
@ -293,7 +297,7 @@
|
|||||||
RuntimeLibrary="2"
|
RuntimeLibrary="2"
|
||||||
UsePrecompiledHeader="0"
|
UsePrecompiledHeader="0"
|
||||||
WarningLevel="4"
|
WarningLevel="4"
|
||||||
Detect64BitPortabilityProblems="true"
|
Detect64BitPortabilityProblems="false"
|
||||||
DebugInformationFormat="0"
|
DebugInformationFormat="0"
|
||||||
DisableSpecificWarnings="4311;4312"
|
DisableSpecificWarnings="4311;4312"
|
||||||
/>
|
/>
|
||||||
|
@ -42,9 +42,9 @@ namespace
|
|||||||
/// Helper function to read a variable from a packet
|
/// Helper function to read a variable from a packet
|
||||||
////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////
|
||||||
template <typename T>
|
template <typename T>
|
||||||
T PacketRead(sfPacket* Packet, T Default = 0)
|
T PacketRead(sfPacket* Packet)
|
||||||
{
|
{
|
||||||
CSFML_CHECK_RETURN(Packet, Default);
|
CSFML_CHECK_RETURN(Packet, 0);
|
||||||
|
|
||||||
T Value;
|
T Value;
|
||||||
Packet->This >> Value;
|
Packet->This >> Value;
|
||||||
|
Loading…
Reference in New Issue
Block a user