diff options
Diffstat (limited to 'vsprops')
| -rw-r--r-- | vsprops/App.props | 23 | ||||
| -rw-r--r-- | vsprops/Base.props | 24 | ||||
| -rw-r--r-- | vsprops/CodeGen_Debug.props | 19 | ||||
| -rw-r--r-- | vsprops/CodeGen_Release.props | 20 | ||||
| -rw-r--r-- | vsprops/Externals.props | 30 | ||||
| -rw-r--r-- | vsprops/Optimization_Debug.props | 12 | ||||
| -rw-r--r-- | vsprops/Optimization_Release.props | 41 |
7 files changed, 169 insertions, 0 deletions
diff --git a/vsprops/App.props b/vsprops/App.props new file mode 100644 index 000000000..0b45648e4 --- /dev/null +++ b/vsprops/App.props | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | ||
| 2 | <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
| 3 | <ImportGroup Label="PropertySheets" /> | ||
| 4 | <PropertyGroup Label="UserMacros"> | ||
| 5 | <GekkoBinDir>$(SolutionDir)bin\$(PlatformName)\</GekkoBinDir> | ||
| 6 | </PropertyGroup> | ||
| 7 | <PropertyGroup> | ||
| 8 | <OutDir>$(GekkoBinDir)</OutDir> | ||
| 9 | <TargetName>$(ProjectName)$(Configuration)</TargetName> | ||
| 10 | </PropertyGroup> | ||
| 11 | <ItemDefinitionGroup> | ||
| 12 | <PostBuildEvent> | ||
| 13 | <Command>xcopy "$(SolutionDir)data" "$(GekkoBinDir)" /Y /S /D | ||
| 14 | xcopy "$(ExternalsDir)glew-1.6.0\bin$(PlatformArchitecture)\glew32.dll" "$(GekkoBinDir)" /Y /S /D | ||
| 15 | xcopy "$(ExternalsDir)sdl-2.0.0\lib\$(PlatformName)\SDL.dll" "$(GekkoBinDir)" /Y /S /D</Command> | ||
| 16 | </PostBuildEvent> | ||
| 17 | </ItemDefinitionGroup> | ||
| 18 | <ItemGroup> | ||
| 19 | <BuildMacro Include="GekkoBinDir"> | ||
| 20 | <Value>$(GekkoBinDir)</Value> | ||
| 21 | </BuildMacro> | ||
| 22 | </ItemGroup> | ||
| 23 | </Project> \ No newline at end of file | ||
diff --git a/vsprops/Base.props b/vsprops/Base.props new file mode 100644 index 000000000..d127e15da --- /dev/null +++ b/vsprops/Base.props | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | ||
| 2 | <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
| 3 | <ImportGroup Label="PropertySheets" /> | ||
| 4 | <PropertyGroup Label="UserMacros" /> | ||
| 5 | <PropertyGroup> | ||
| 6 | <IntDir>$(SolutionDir)build\$(ProjectName)\$(PlatformName)\$(Configuration)\</IntDir> | ||
| 7 | <OutDir>$(SolutionDir)build\$(ProjectName)\$(PlatformName)\$(Configuration)\</OutDir> | ||
| 8 | </PropertyGroup> | ||
| 9 | <ItemDefinitionGroup> | ||
| 10 | <ClCompile> | ||
| 11 | <WarningLevel>Level3</WarningLevel> | ||
| 12 | <StructMemberAlignment>16Bytes</StructMemberAlignment> | ||
| 13 | <FunctionLevelLinking>true</FunctionLevelLinking> | ||
| 14 | <MultiProcessorCompilation>true</MultiProcessorCompilation> | ||
| 15 | <AdditionalIncludeDirectories>$(SolutionDir)src\common\src;$(SolutionDir)src\core\src;$(SolutionDir)src\akiru\src;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | ||
| 16 | <PreprocessorDefinitions>_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES=1;_CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES_COUNT =1</PreprocessorDefinitions> | ||
| 17 | <RuntimeTypeInfo>false</RuntimeTypeInfo> | ||
| 18 | </ClCompile> | ||
| 19 | <Link> | ||
| 20 | <GenerateDebugInformation>true</GenerateDebugInformation> | ||
| 21 | </Link> | ||
| 22 | </ItemDefinitionGroup> | ||
| 23 | <ItemGroup /> | ||
| 24 | </Project> \ No newline at end of file | ||
diff --git a/vsprops/CodeGen_Debug.props b/vsprops/CodeGen_Debug.props new file mode 100644 index 000000000..b138f38e7 --- /dev/null +++ b/vsprops/CodeGen_Debug.props | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | ||
| 2 | <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
| 3 | <ImportGroup Label="PropertySheets" /> | ||
| 4 | <PropertyGroup Label="UserMacros" /> | ||
| 5 | <PropertyGroup /> | ||
| 6 | <ItemDefinitionGroup> | ||
| 7 | <ClCompile> | ||
| 8 | <PreprocessorDefinitions>_DEBUG;_SECURE_SCL=1;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
| 9 | <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> | ||
| 10 | <MinimalRebuild>false</MinimalRebuild> | ||
| 11 | </ClCompile> | ||
| 12 | <MOC /> | ||
| 13 | <MOC /> | ||
| 14 | <Link> | ||
| 15 | <AdditionalOptions>/NODEFAULTLIB:LIBCMT %(AdditionalOptions)</AdditionalOptions> | ||
| 16 | </Link> | ||
| 17 | </ItemDefinitionGroup> | ||
| 18 | <ItemGroup /> | ||
| 19 | </Project> \ No newline at end of file | ||
diff --git a/vsprops/CodeGen_Release.props b/vsprops/CodeGen_Release.props new file mode 100644 index 000000000..0a74151ce --- /dev/null +++ b/vsprops/CodeGen_Release.props | |||
| @@ -0,0 +1,20 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | ||
| 2 | <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
| 3 | <ImportGroup Label="PropertySheets" /> | ||
| 4 | <PropertyGroup Label="UserMacros" /> | ||
| 5 | <PropertyGroup> | ||
| 6 | <_PropertySheetDisplayName>CodeGen_Release</_PropertySheetDisplayName> | ||
| 7 | </PropertyGroup> | ||
| 8 | <ItemDefinitionGroup> | ||
| 9 | <ClCompile> | ||
| 10 | <MinimalRebuild>false</MinimalRebuild> | ||
| 11 | <RuntimeLibrary>MultiThreaded</RuntimeLibrary> | ||
| 12 | <PreprocessorDefinitions>_SECURE_SCL=0;_CRT_SECURE_NO_WARNINGS;_CRT_SECURE_NO_DEPRECATE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
| 13 | </ClCompile> | ||
| 14 | <Link> | ||
| 15 | <OptimizeReferences>true</OptimizeReferences> | ||
| 16 | <EnableCOMDATFolding>true</EnableCOMDATFolding> | ||
| 17 | </Link> | ||
| 18 | </ItemDefinitionGroup> | ||
| 19 | <ItemGroup /> | ||
| 20 | </Project> \ No newline at end of file | ||
diff --git a/vsprops/Externals.props b/vsprops/Externals.props new file mode 100644 index 000000000..1a578c5e4 --- /dev/null +++ b/vsprops/Externals.props | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | ||
| 2 | <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
| 3 | <ImportGroup Label="PropertySheets" /> | ||
| 4 | <PropertyGroup Label="UserMacros"> | ||
| 5 | <ExternalsDir>$(SolutionDir)externals\</ExternalsDir> | ||
| 6 | </PropertyGroup> | ||
| 7 | <PropertyGroup> | ||
| 8 | <_PropertySheetDisplayName>Externals</_PropertySheetDisplayName> | ||
| 9 | </PropertyGroup> | ||
| 10 | <ItemDefinitionGroup> | ||
| 11 | <ClCompile> | ||
| 12 | <AdditionalIncludeDirectories>$(ExternalsDir)glew-1.10.0\include;$(ExternalsDir)glfw-3.0.2\include;$(ExternalsDir)qhexedit;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> | ||
| 13 | <PreprocessorDefinitions> | ||
| 14 | </PreprocessorDefinitions> | ||
| 15 | </ClCompile> | ||
| 16 | <Lib /> | ||
| 17 | <Link> | ||
| 18 | <AdditionalLibraryDirectories>$(ExternalsDir)glew-1.6.0\lib$(PlatformArchitecture);$(ExternalsDir)glfw-3.0\lib$(PlatformArchitecture)\$(Configuration);$(ExternalsDir)libjpeg;$(ExternalsDir)sdl-2.0.0\lib\$(PlatformName);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories> | ||
| 19 | <AdditionalDependencies>libjpeg.lib;glfw3.lib;opengl32.lib;glew32.lib;glu32.lib;SDL.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
| 20 | <IgnoreSpecificDefaultLibraries> | ||
| 21 | </IgnoreSpecificDefaultLibraries> | ||
| 22 | </Link> | ||
| 23 | <ProjectReference /> | ||
| 24 | </ItemDefinitionGroup> | ||
| 25 | <ItemGroup> | ||
| 26 | <BuildMacro Include="ExternalsDir"> | ||
| 27 | <Value>$(ExternalsDir)</Value> | ||
| 28 | </BuildMacro> | ||
| 29 | </ItemGroup> | ||
| 30 | </Project> \ No newline at end of file | ||
diff --git a/vsprops/Optimization_Debug.props b/vsprops/Optimization_Debug.props new file mode 100644 index 000000000..3c7081f16 --- /dev/null +++ b/vsprops/Optimization_Debug.props | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | ||
| 2 | <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
| 3 | <ImportGroup Label="PropertySheets" /> | ||
| 4 | <PropertyGroup Label="UserMacros" /> | ||
| 5 | <PropertyGroup /> | ||
| 6 | <ItemDefinitionGroup> | ||
| 7 | <ClCompile> | ||
| 8 | <OmitFramePointers>false</OmitFramePointers> | ||
| 9 | </ClCompile> | ||
| 10 | </ItemDefinitionGroup> | ||
| 11 | <ItemGroup /> | ||
| 12 | </Project> \ No newline at end of file | ||
diff --git a/vsprops/Optimization_Release.props b/vsprops/Optimization_Release.props new file mode 100644 index 000000000..ea1573e6c --- /dev/null +++ b/vsprops/Optimization_Release.props | |||
| @@ -0,0 +1,41 @@ | |||
| 1 | <?xml version="1.0" encoding="utf-8"?> | ||
| 2 | <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
| 3 | <ImportGroup Label="PropertySheets" /> | ||
| 4 | <PropertyGroup Label="UserMacros" /> | ||
| 5 | <PropertyGroup /> | ||
| 6 | <ItemDefinitionGroup> | ||
| 7 | <ClCompile> | ||
| 8 | <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion> | ||
| 9 | </ClCompile> | ||
| 10 | </ItemDefinitionGroup> | ||
| 11 | <ItemDefinitionGroup> | ||
| 12 | <ClCompile> | ||
| 13 | <IntrinsicFunctions>true</IntrinsicFunctions> | ||
| 14 | </ClCompile> | ||
| 15 | </ItemDefinitionGroup> | ||
| 16 | <ItemDefinitionGroup> | ||
| 17 | <ClCompile> | ||
| 18 | <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> | ||
| 19 | </ClCompile> | ||
| 20 | </ItemDefinitionGroup> | ||
| 21 | <ItemDefinitionGroup> | ||
| 22 | <ClCompile> | ||
| 23 | <OmitFramePointers>true</OmitFramePointers> | ||
| 24 | </ClCompile> | ||
| 25 | </ItemDefinitionGroup> | ||
| 26 | <ItemDefinitionGroup> | ||
| 27 | <ClCompile> | ||
| 28 | <EnableFiberSafeOptimizations>true</EnableFiberSafeOptimizations> | ||
| 29 | </ClCompile> | ||
| 30 | </ItemDefinitionGroup> | ||
| 31 | <ItemDefinitionGroup> | ||
| 32 | <ClCompile> | ||
| 33 | <WholeProgramOptimization>true</WholeProgramOptimization> | ||
| 34 | <Optimization>MaxSpeed</Optimization> | ||
| 35 | </ClCompile> | ||
| 36 | <Link> | ||
| 37 | <LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration> | ||
| 38 | </Link> | ||
| 39 | </ItemDefinitionGroup> | ||
| 40 | <ItemGroup /> | ||
| 41 | </Project> \ No newline at end of file | ||