Have Glew be compiled on its own.

This is designed to be compatible with VS2008.

It has not been tested yet for VS2010.
This commit is contained in:
Jason Felds
2011-12-19 20:13:00 -05:00
parent 9bf47cbebd
commit 70f1a05c6f
3 changed files with 172 additions and 41 deletions
+160
View File
@@ -0,0 +1,160 @@
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioProject
ProjectType="Visual C++"
Version="9.00"
Name="libglew"
ProjectGUID="{14AA6C9A-9429-477A-B318-6CCFF10E4527}"
RootNamespace="libglew"
Keyword="ManagedCProj"
TargetFrameworkVersion="131072"
>
<Platforms>
<Platform
Name="Win32"
/>
</Platforms>
<ToolFiles>
</ToolFiles>
<Configurations>
<Configuration
Name="Debug|Win32"
OutputDirectory="$(IntDir)"
IntermediateDirectory="$(SolutionDir)/build-$(SolutionName)/$(ProjectName)/$(ConfigurationName)"
ConfigurationType="4"
CharacterSet="1"
ManagedExtensions="0"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="0"
WholeProgramOptimization="false"
AdditionalIncludeDirectories="..\include"
PreprocessorDefinitions="WIN32;_DEBUG;_LIB;GLEW_STATIC"
MinimalRebuild="true"
ExceptionHandling="0"
BasicRuntimeChecks="3"
RuntimeLibrary="3"
UsePrecompiledHeader="0"
WarningLevel="3"
DebugInformationFormat="4"
CompileAs="1"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLibrarianTool"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory="$(IntDir)"
IntermediateDirectory="$(SolutionDir)/build-$(SolutionName)/$(ProjectName)/$(ConfigurationName)"
ConfigurationType="4"
CharacterSet="1"
ManagedExtensions="0"
WholeProgramOptimization="1"
>
<Tool
Name="VCPreBuildEventTool"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
WholeProgramOptimization="false"
AdditionalIncludeDirectories="..\include"
PreprocessorDefinitions="WIN32;NDEBUG;_LIB;GLEW_STATIC"
ExceptionHandling="0"
RuntimeLibrary="2"
UsePrecompiledHeader="0"
WarningLevel="3"
DebugInformationFormat="3"
CompileAs="1"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLibrarianTool"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
</Configurations>
<References>
</References>
<Files>
<File
RelativePath="..\src\glew.c"
>
</File>
</Files>
<Globals>
</Globals>
</VisualStudioProject>
-40
View File
@@ -8604,46 +8604,6 @@
</FileConfiguration>
</File>
</Filter>
<Filter
Name="glew"
>
<File
RelativePath="..\extern\glew-1.5.8\src\glew.c"
>
<FileConfiguration
Name="Debug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="0"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="0"
/>
</FileConfiguration>
<FileConfiguration
Name="FastDebug|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="0"
/>
</FileConfiguration>
<FileConfiguration
Name="Release-SSE2|Win32"
>
<Tool
Name="VCCLCompilerTool"
UsePrecompiledHeader="0"
/>
</FileConfiguration>
</File>
</Filter>
</Filter>
<File
RelativePath="archutils\Win32\DialogCrashHeader.bmp"
+12 -1
View File
@@ -1,9 +1,10 @@
Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sm-ssc", "StepMania-net2008.vcproj", "{AF209DBD-24BD-4356-8DFE-41751B221195}"
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "StepMania", "StepMania-net2008.vcproj", "{AF209DBD-24BD-4356-8DFE-41751B221195}"
ProjectSection(ProjectDependencies) = postProject
{FEDE5283-1518-4B1D-8124-5C54DB17EA57} = {FEDE5283-1518-4B1D-8124-5C54DB17EA57}
{14AA6C9A-9429-477A-B318-6CCFF10E4527} = {14AA6C9A-9429-477A-B318-6CCFF10E4527}
{F70DD0FE-A74A-42E7-B81F-E35C49FC9EB9} = {F70DD0FE-A74A-42E7-B81F-E35C49FC9EB9}
EndProjectSection
EndProject
@@ -11,6 +12,8 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libtommath", "libtommath\li
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libtomcrypt", "libtomcrypt\libtomcrypt-net2008.vcproj", "{F70DD0FE-A74A-42E7-B81F-E35C49FC9EB9}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libglew", "..\extern\glew-1.5.8\libglew\libglew.vcproj", "{14AA6C9A-9429-477A-B318-6CCFF10E4527}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
@@ -43,6 +46,14 @@ Global
{F70DD0FE-A74A-42E7-B81F-E35C49FC9EB9}.Release|Win32.Build.0 = Release|Win32
{F70DD0FE-A74A-42E7-B81F-E35C49FC9EB9}.Release-SSE2|Win32.ActiveCfg = Release-SSE2|Win32
{F70DD0FE-A74A-42E7-B81F-E35C49FC9EB9}.Release-SSE2|Win32.Build.0 = Release-SSE2|Win32
{14AA6C9A-9429-477A-B318-6CCFF10E4527}.Debug|Win32.ActiveCfg = Debug|Win32
{14AA6C9A-9429-477A-B318-6CCFF10E4527}.Debug|Win32.Build.0 = Debug|Win32
{14AA6C9A-9429-477A-B318-6CCFF10E4527}.FastDebug|Win32.ActiveCfg = Debug|Win32
{14AA6C9A-9429-477A-B318-6CCFF10E4527}.FastDebug|Win32.Build.0 = Debug|Win32
{14AA6C9A-9429-477A-B318-6CCFF10E4527}.Release|Win32.ActiveCfg = Release|Win32
{14AA6C9A-9429-477A-B318-6CCFF10E4527}.Release|Win32.Build.0 = Release|Win32
{14AA6C9A-9429-477A-B318-6CCFF10E4527}.Release-SSE2|Win32.ActiveCfg = Release|Win32
{14AA6C9A-9429-477A-B318-6CCFF10E4527}.Release-SSE2|Win32.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE