From dca0732b2283e3d2cc767ba0e3e2656665aa6df2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C4=81vis?= Date: Tue, 22 Apr 2014 01:53:03 +0300 Subject: [PATCH 1/5] Ignore some Visual Studio files --- .gitignore | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index 3da714a..e182c2f 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,10 @@ /src/*.c /include/GL/*.h /build/vc6/*.rc +/build/*/*.sdf +/build/*/*.suo +/build/*/*.vcxproj.user +/build/*/tmp/ /auto/extensions /auto/registry /bin From 4e9fad1364208fcf12f89e3efbf84e8c257624bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C4=81vis?= Date: Tue, 22 Apr 2014 01:54:36 +0300 Subject: [PATCH 2/5] Add Visual Studio 2013 project files --- build/vc12/common.props | 29 ++ build/vc12/glew.sln | 92 +++++++ build/vc12/glew_shared.vcxproj | 472 +++++++++++++++++++++++++++++++++ build/vc12/glew_static.vcxproj | 400 ++++++++++++++++++++++++++++ build/vc12/glewinfo.vcxproj | 446 +++++++++++++++++++++++++++++++ build/vc12/visualinfo.vcxproj | 445 +++++++++++++++++++++++++++++++ 6 files changed, 1884 insertions(+) create mode 100644 build/vc12/common.props create mode 100644 build/vc12/glew.sln create mode 100644 build/vc12/glew_shared.vcxproj create mode 100644 build/vc12/glew_static.vcxproj create mode 100644 build/vc12/glewinfo.vcxproj create mode 100644 build/vc12/visualinfo.vcxproj diff --git a/build/vc12/common.props b/build/vc12/common.props new file mode 100644 index 0000000..8d53675 --- /dev/null +++ b/build/vc12/common.props @@ -0,0 +1,29 @@ + + + + + ..\..\include + ..\..\lib + ..\..\bin + + + + + $(INCLUDE_DIR) + + + + + $(INCLUDE_DIR) + true + + + $(LIB_DIR) + true + + + $(BIN_DIR) + true + + + \ No newline at end of file diff --git a/build/vc12/glew.sln b/build/vc12/glew.sln new file mode 100644 index 0000000..9a2d169 --- /dev/null +++ b/build/vc12/glew.sln @@ -0,0 +1,92 @@ + +Microsoft Visual Studio Solution File, Format Version 11.00 +# Visual Studio 2010 +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "glew_shared", "glew_shared.vcxproj", "{55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "glew_static", "glew_static.vcxproj", "{664E6F0D-6784-4760-9565-D54F8EB1EDF4}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "glewinfo", "glewinfo.vcxproj", "{8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}" +EndProject +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "visualinfo", "visualinfo.vcxproj", "{79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug MX|Win32 = Debug MX|Win32 + Debug MX|x64 = Debug MX|x64 + Debug|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Release MX|Win32 = Release MX|Win32 + Release MX|x64 = Release MX|x64 + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}.Debug MX|Win32.ActiveCfg = Debug MX|Win32 + {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}.Debug MX|Win32.Build.0 = Debug MX|Win32 + {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}.Debug MX|x64.ActiveCfg = Debug MX|x64 + {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}.Debug MX|x64.Build.0 = Debug MX|x64 + {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}.Debug|Win32.ActiveCfg = Debug|Win32 + {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}.Debug|Win32.Build.0 = Debug|Win32 + {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}.Debug|x64.ActiveCfg = Debug|x64 + {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}.Debug|x64.Build.0 = Debug|x64 + {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}.Release MX|Win32.ActiveCfg = Release MX|Win32 + {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}.Release MX|Win32.Build.0 = Release MX|Win32 + {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}.Release MX|x64.ActiveCfg = Release MX|x64 + {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}.Release MX|x64.Build.0 = Release MX|x64 + {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}.Release|Win32.ActiveCfg = Release|Win32 + {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}.Release|Win32.Build.0 = Release|Win32 + {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}.Release|x64.ActiveCfg = Release|x64 + {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}.Release|x64.Build.0 = Release|x64 + {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Debug MX|Win32.ActiveCfg = Debug MX|Win32 + {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Debug MX|Win32.Build.0 = Debug MX|Win32 + {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Debug MX|x64.ActiveCfg = Debug MX|x64 + {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Debug MX|x64.Build.0 = Debug MX|x64 + {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Debug|Win32.ActiveCfg = Debug|Win32 + {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Debug|Win32.Build.0 = Debug|Win32 + {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Debug|x64.ActiveCfg = Debug|x64 + {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Debug|x64.Build.0 = Debug|x64 + {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Release MX|Win32.ActiveCfg = Release MX|Win32 + {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Release MX|Win32.Build.0 = Release MX|Win32 + {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Release MX|x64.ActiveCfg = Release MX|x64 + {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Release MX|x64.Build.0 = Release MX|x64 + {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Release|Win32.ActiveCfg = Release|Win32 + {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Release|Win32.Build.0 = Release|Win32 + {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Release|x64.ActiveCfg = Release|x64 + {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Release|x64.Build.0 = Release|x64 + {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}.Debug MX|Win32.ActiveCfg = Debug MX|Win32 + {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}.Debug MX|Win32.Build.0 = Debug MX|Win32 + {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}.Debug MX|x64.ActiveCfg = Debug MX|x64 + {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}.Debug MX|x64.Build.0 = Debug MX|x64 + {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}.Debug|Win32.ActiveCfg = Debug|Win32 + {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}.Debug|Win32.Build.0 = Debug|Win32 + {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}.Debug|x64.ActiveCfg = Debug|x64 + {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}.Debug|x64.Build.0 = Debug|x64 + {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}.Release MX|Win32.ActiveCfg = Release MX|Win32 + {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}.Release MX|Win32.Build.0 = Release MX|Win32 + {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}.Release MX|x64.ActiveCfg = Release MX|x64 + {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}.Release MX|x64.Build.0 = Release MX|x64 + {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}.Release|Win32.ActiveCfg = Release|Win32 + {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}.Release|Win32.Build.0 = Release|Win32 + {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}.Release|x64.ActiveCfg = Release|x64 + {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}.Release|x64.Build.0 = Release|x64 + {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}.Debug MX|Win32.ActiveCfg = Debug MX|Win32 + {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}.Debug MX|Win32.Build.0 = Debug MX|Win32 + {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}.Debug MX|x64.ActiveCfg = Debug MX|x64 + {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}.Debug MX|x64.Build.0 = Debug MX|x64 + {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}.Debug|Win32.ActiveCfg = Debug|Win32 + {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}.Debug|Win32.Build.0 = Debug|Win32 + {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}.Debug|x64.ActiveCfg = Debug|x64 + {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}.Debug|x64.Build.0 = Debug|x64 + {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}.Release MX|Win32.ActiveCfg = Release MX|Win32 + {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}.Release MX|Win32.Build.0 = Release MX|Win32 + {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}.Release MX|x64.ActiveCfg = Release MX|x64 + {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}.Release MX|x64.Build.0 = Release MX|x64 + {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}.Release|Win32.ActiveCfg = Release|Win32 + {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}.Release|Win32.Build.0 = Release|Win32 + {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}.Release|x64.ActiveCfg = Release|x64 + {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}.Release|x64.Build.0 = Release|x64 + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/build/vc12/glew_shared.vcxproj b/build/vc12/glew_shared.vcxproj new file mode 100644 index 0000000..af9d7b7 --- /dev/null +++ b/build/vc12/glew_shared.vcxproj @@ -0,0 +1,472 @@ + + + + + Debug MX + Win32 + + + Debug MX + x64 + + + Debug + Win32 + + + Debug + x64 + + + Release MX + Win32 + + + Release MX + x64 + + + Release + Win32 + + + Release + x64 + + + + + + {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D} + + + + DynamicLibrary + false + v120 + + + DynamicLibrary + false + v120 + + + DynamicLibrary + false + v120 + + + DynamicLibrary + false + v120 + + + DynamicLibrary + false + v120 + + + DynamicLibrary + false + v120 + + + DynamicLibrary + false + v120 + + + DynamicLibrary + false + v120 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $(BIN_DIR)\$(Configuration)\$(PlatformName)\ + tmp\$(TargetName)\$(Configuration)\$(PlatformName)\ + false + glew32mx + + + $(BIN_DIR)\$(Configuration)\$(PlatformName)\ + tmp\$(TargetName)\$(Configuration)\$(PlatformName)\ + false + glew32mx + + + $(BIN_DIR)\$(Configuration)\$(PlatformName)\ + tmp\$(TargetName)\$(Configuration)\$(PlatformName)\ + false + glew32 + + + $(BIN_DIR)\$(Configuration)\$(PlatformName)\ + tmp\$(TargetName)\$(Configuration)\$(PlatformName)\ + false + glew32 + + + $(BIN_DIR)\$(Configuration)\$(PlatformName)\ + tmp\$(TargetName)\$(Configuration)\$(PlatformName)\ + false + glew32mxd + + + $(BIN_DIR)\$(Configuration)\$(PlatformName)\ + tmp\$(TargetName)\$(Configuration)\$(PlatformName)\ + false + glew32mxd + + + $(BIN_DIR)\$(Configuration)\$(PlatformName)\ + tmp\$(TargetName)\$(Configuration)\$(PlatformName)\ + false + glew32d + + + $(BIN_DIR)\$(Configuration)\$(PlatformName)\ + tmp\$(TargetName)\$(Configuration)\$(PlatformName)\ + false + glew32d + + + + MultiThreaded + OnlyExplicitInline + true + true + MaxSpeed + true + Level3 + $(INCLUDE_DIR) + WIN32;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;GLEW_MX;GLEW_BUILD;%(PreprocessorDefinitions) + + + true + NDEBUG;%(PreprocessorDefinitions) + true + Win32 + + + 0x0409 + NDEBUG;GLEW_MX;%(PreprocessorDefinitions) + + + true + + + true + true + Console + $(OutDir)$(TargetName)$(TargetExt) + $(LIB_DIR)\$(Configuration)\$(PlatformName)\$(TargetName).lib + 0x62AA0000 + opengl32.lib;%(AdditionalDependencies) + /ignore:4089 + + + + + + + MultiThreaded + OnlyExplicitInline + true + true + MaxSpeed + true + Level3 + $(INCLUDE_DIR) + WIN32;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;GLEW_MX;GLEW_BUILD;%(PreprocessorDefinitions) + + + true + NDEBUG;%(PreprocessorDefinitions) + true + + + 0x0409 + NDEBUG;GLEW_MX;%(PreprocessorDefinitions) + + + true + + + true + true + Console + $(OutDir)$(TargetName)$(TargetExt) + $(LIB_DIR)\$(Configuration)\$(PlatformName)\$(TargetName).lib + 0x62AA0000 + opengl32.lib;%(AdditionalDependencies) + /ignore:4089 + + + + + + + MultiThreaded + OnlyExplicitInline + true + true + MaxSpeed + true + Level3 + $(INCLUDE_DIR) + WIN32;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;GLEW_BUILD;%(PreprocessorDefinitions) + + + true + NDEBUG;%(PreprocessorDefinitions) + true + Win32 + + + 0x0409 + NDEBUG;%(PreprocessorDefinitions) + + + true + + + true + true + Console + $(OutDir)$(TargetName)$(TargetExt) + $(LIB_DIR)\$(Configuration)\$(PlatformName)\$(TargetName).lib + 0x62AA0000 + opengl32.lib;%(AdditionalDependencies) + /ignore:4089 + + + + + + + MultiThreaded + OnlyExplicitInline + true + true + MaxSpeed + true + Level3 + $(INCLUDE_DIR) + WIN32;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;GLEW_BUILD;%(PreprocessorDefinitions) + + + true + NDEBUG;%(PreprocessorDefinitions) + true + + + 0x0409 + NDEBUG;%(PreprocessorDefinitions) + + + true + + + true + true + Console + $(OutDir)$(TargetName)$(TargetExt) + $(LIB_DIR)\$(Configuration)\$(PlatformName)\$(TargetName).lib + 0x62AA0000 + opengl32.lib;%(AdditionalDependencies) + /ignore:4089 + + + + + + + MultiThreadedDebugDLL + Default + false + Disabled + true + Level3 + $(INCLUDE_DIR) + WIN32;WIN32_MEAN_AND_LEAN;VC_EXTRALEAN;GLEW_MX;GLEW_BUILD;%(PreprocessorDefinitions) + EnableFastChecks + + + true + _DEBUG;%(PreprocessorDefinitions) + true + Win32 + + + 0x0409 + _DEBUG;GLEW_MX;%(PreprocessorDefinitions) + + + true + + + true + true + true + Console + $(OutDir)$(TargetName)$(TargetExt) + $(LIB_DIR)\$(Configuration)\$(PlatformName)\$(TargetName).lib + 0x62AA0000 + opengl32.lib;%(AdditionalDependencies) + + + + + + + MultiThreadedDebugDLL + Default + false + Disabled + true + Level3 + $(INCLUDE_DIR) + WIN32;WIN32_MEAN_AND_LEAN;VC_EXTRALEAN;GLEW_MX;GLEW_BUILD;%(PreprocessorDefinitions) + EnableFastChecks + + + true + _DEBUG;%(PreprocessorDefinitions) + true + + + 0x0409 + _DEBUG;GLEW_MX;%(PreprocessorDefinitions) + + + true + + + true + true + true + Console + $(OutDir)$(TargetName)$(TargetExt) + $(LIB_DIR)\$(Configuration)\$(PlatformName)\$(TargetName).lib + 0x62AA0000 + opengl32.lib;%(AdditionalDependencies) + + + + + + + MultiThreadedDebugDLL + Default + false + Disabled + true + WIN32;WIN32_MEAN_AND_LEAN;VC_EXTRALEAN;GLEW_BUILD;%(PreprocessorDefinitions) + EnableFastChecks + Level3 + $(INCLUDE_DIR) + + + true + _DEBUG;%(PreprocessorDefinitions) + true + Win32 + + + 0x0409 + _DEBUG;%(PreprocessorDefinitions) + + + true + + + true + true + true + Console + $(OutDir)$(TargetName)$(TargetExt) + $(LIB_DIR)\$(Configuration)\$(PlatformName)\$(TargetName).lib + 0x62AA0000 + opengl32.lib;%(AdditionalDependencies) + + + + + + + MultiThreadedDebugDLL + Default + false + Disabled + true + WIN32;WIN32_LEAN_AND_MEAN;GLEW_BUILD;%(PreprocessorDefinitions) + EnableFastChecks + Level3 + $(INCLUDE_DIR) + + + true + _DEBUG;%(PreprocessorDefinitions) + true + + + 0x0409 + _DEBUG;%(PreprocessorDefinitions) + + + true + + + true + true + true + Console + $(OutDir)$(TargetName)$(TargetExt) + $(LIB_DIR)\$(Configuration)\$(PlatformName)\$(TargetName).lib + 0x62AA0000 + opengl32.lib;%(AdditionalDependencies) + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/build/vc12/glew_static.vcxproj b/build/vc12/glew_static.vcxproj new file mode 100644 index 0000000..85c4be5 --- /dev/null +++ b/build/vc12/glew_static.vcxproj @@ -0,0 +1,400 @@ + + + + + Debug MX + Win32 + + + Debug MX + x64 + + + Debug + Win32 + + + Debug + x64 + + + Release MX + Win32 + + + Release MX + x64 + + + Release + Win32 + + + Release + x64 + + + + + + {664E6F0D-6784-4760-9565-D54F8EB1EDF4} + + + + Application + + + Application + + + StaticLibrary + false + MultiByte + v120 + + + StaticLibrary + false + MultiByte + v120 + + + StaticLibrary + false + MultiByte + v120 + + + StaticLibrary + false + MultiByte + v120 + + + StaticLibrary + false + MultiByte + v120 + + + StaticLibrary + false + MultiByte + v120 + + + StaticLibrary + false + MultiByte + v120 + + + StaticLibrary + false + MultiByte + v120 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $(LIB_DIR)\$(Configuration)\$(PlatformName)\ + tmp\$(TargetName)\$(Configuration)\$(PlatformName)\ + glew32mxsd + + + $(LIB_DIR)\$(Configuration)\$(PlatformName)\ + tmp\$(TargetName)\$(Configuration)\$(PlatformName)\ + glew32mxsd + + + $(LIB_DIR)\$(Configuration)\$(PlatformName)\ + tmp\$(TargetName)\$(Configuration)\$(PlatformName)\ + glew32s + + + $(LIB_DIR)\$(Configuration)\$(PlatformName)\ + tmp\$(TargetName)\$(Configuration)\$(PlatformName)\ + glew32s + + + $(LIB_DIR)\$(Configuration)\$(PlatformName)\ + tmp\$(TargetName)\$(Configuration)\$(PlatformName)\ + glew32mxs + + + $(LIB_DIR)\$(Configuration)\$(PlatformName)\ + tmp\$(TargetName)\$(Configuration)\$(PlatformName)\ + glew32mxs + + + $(LIB_DIR)\$(Configuration)\$(PlatformName)\ + tmp\$(TargetName)\$(Configuration)\$(PlatformName)\ + glew32sd + + + $(LIB_DIR)\$(Configuration)\$(PlatformName)\ + tmp\$(TargetName)\$(Configuration)\$(PlatformName)\ + glew32sd + + + $(LIB_DIR)\$(Configuration)\$(PlatformName)\ + tmp\$(TargetName)\$(Configuration)\$(PlatformName)\ + + + $(LIB_DIR)\$(Configuration)\$(PlatformName)\ + tmp\$(TargetName)\$(Configuration)\$(PlatformName)\ + + + + MultiThreadedDebugDLL + Default + false + Disabled + true + Level3 + ../../include;%(AdditionalIncludeDirectories) + WIN32;_DEBUG;_LIB;WIN32_LEAN_AND_MEAN;GLEW_MX;GLEW_STATIC;%(PreprocessorDefinitions) + EnableFastChecks + + + 0x0409 + _DEBUG;GLEW_MX;GLEW_STATIC;%(PreprocessorDefinitions) + + + true + + + true + $(OutDir)$(TargetName)$(TargetExt) + MachineX86 + + + + + MultiThreadedDebugDLL + Default + false + Disabled + true + Level3 + ../../include;%(AdditionalIncludeDirectories) + WIN32;_DEBUG;_LIB;WIN32_LEAN_AND_MEAN;GLEW_MX;GLEW_STATIC;%(PreprocessorDefinitions) + EnableFastChecks + + + 0x0409 + _DEBUG;GLEW_MX;GLEW_STATIC;%(PreprocessorDefinitions) + + + true + + + true + $(OutDir)$(TargetName)$(TargetExt) + MachineX64 + + + + + MultiThreaded + OnlyExplicitInline + true + true + MaxSpeed + true + Level3 + ../../include;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_LIB;WIN32_LEAN_AND_MEAN;GLEW_STATIC;%(PreprocessorDefinitions) + + + 0x0409 + NDEBUG;GLEW_STATIC;%(PreprocessorDefinitions) + + + true + + + true + $(OutDir)$(TargetName)$(TargetExt) + MachineX86 + + + + + MultiThreaded + OnlyExplicitInline + true + true + MaxSpeed + true + Level3 + ../../include;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_LIB;WIN32_LEAN_AND_MEAN;GLEW_STATIC;%(PreprocessorDefinitions) + + + 0x0409 + NDEBUG;GLEW_STATIC;%(PreprocessorDefinitions) + + + true + + + true + $(OutDir)$(TargetName)$(TargetExt) + MachineX64 + + + + + MultiThreaded + OnlyExplicitInline + true + true + MaxSpeed + true + Level3 + ../../include;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_LIB;WIN32_LEAN_AND_MEAN;GLEW_MX;GLEW_STATIC;%(PreprocessorDefinitions) + + + 0x0409 + NDEBUG;GLEW_MX;GLEW_STATIC;%(PreprocessorDefinitions) + + + true + + + true + $(OutDir)$(TargetName)$(TargetExt) + MachineX86 + + + + + MultiThreaded + OnlyExplicitInline + true + true + MaxSpeed + true + Level3 + ../../include;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_LIB;WIN32_LEAN_AND_MEAN;GLEW_MX;GLEW_STATIC;%(PreprocessorDefinitions) + + + 0x0409 + NDEBUG;GLEW_MX;GLEW_STATIC;%(PreprocessorDefinitions) + + + true + + + true + $(OutDir)$(TargetName)$(TargetExt) + MachineX64 + + + + + MultiThreadedDebugDLL + Default + false + Disabled + true + Level3 + WIN32;_DEBUG;_LIB;WIN32_LEAN_AND_MEAN;GLEW_STATIC;%(PreprocessorDefinitions) + EnableFastChecks + + + 0x0409 + _DEBUG;GLEW_STATIC;%(PreprocessorDefinitions) + + + true + + + true + $(OutDir)$(TargetName)$(TargetExt) + MachineX86 + + + + + MultiThreadedDebugDLL + Default + false + Disabled + true + Level3 + WIN32;_DEBUG;_LIB;WIN32_LEAN_AND_MEAN;GLEW_STATIC;%(PreprocessorDefinitions) + EnableFastChecks + + + 0x0409 + _DEBUG;GLEW_STATIC;%(PreprocessorDefinitions) + + + true + + + true + $(OutDir)$(TargetName)$(TargetExt) + MachineX64 + + + + + ../../include;%(AdditionalIncludeDirectories) + + + + + ../../include;%(AdditionalIncludeDirectories) + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/build/vc12/glewinfo.vcxproj b/build/vc12/glewinfo.vcxproj new file mode 100644 index 0000000..26e57c3 --- /dev/null +++ b/build/vc12/glewinfo.vcxproj @@ -0,0 +1,446 @@ + + + + + Debug MX + Win32 + + + Debug MX + x64 + + + Debug + Win32 + + + Debug + x64 + + + Release MX + Win32 + + + Release MX + x64 + + + Release + Win32 + + + Release + x64 + + + + + + {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA} + + + + Application + + + Application + + + Application + false + v120 + + + Application + false + v120 + + + Application + false + v120 + + + Application + false + v120 + + + Application + false + v120 + + + Application + false + v120 + + + Application + false + v120 + + + Application + false + v120 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $(BIN_DIR)\$(Configuration)\$(PlatformName)\ + tmp\$(TargetName)\$(Configuration)\$(PlatformName)\ + false + glewinfo-mx + + + $(BIN_DIR)\$(Configuration)\$(PlatformName)\ + tmp\$(TargetName)\$(Configuration)\$(PlatformName)\ + false + glewinfo-mx + + + $(BIN_DIR)\$(Configuration)\$(PlatformName)\ + tmp\$(TargetName)\$(Configuration)\$(PlatformName)\ + false + glewinfo-mxd + + + $(BIN_DIR)\$(Configuration)\$(PlatformName)\ + tmp\$(TargetName)\$(Configuration)\$(PlatformName)\ + false + glewinfo-mxd + + + $(BIN_DIR)\$(Configuration)\$(PlatformName)\ + tmp\$(TargetName)\$(Configuration)\$(PlatformName)\ + false + glewinfod + + + $(BIN_DIR)\$(Configuration)\$(PlatformName)\ + tmp\$(TargetName)\$(Configuration)\$(PlatformName)\ + false + glewinfod + + + $(BIN_DIR)\$(Configuration)\$(PlatformName)\ + tmp\$(TargetName)\$(Configuration)\$(PlatformName)\ + false + glewinfo + + + $(BIN_DIR)\$(Configuration)\$(PlatformName)\ + tmp\$(TargetName)\$(Configuration)\$(PlatformName)\ + false + glewinfo + + + $(BIN_DIR)\$(Configuration)\$(PlatformName)\ + glewinfo + tmp\$(TargetName)\$(Configuration)\$(PlatformName)\ + + + $(BIN_DIR)\$(Configuration)\$(PlatformName)\ + glewinfo + tmp\$(TargetName)\$(Configuration)\$(PlatformName)\ + + + + MultiThreaded + OnlyExplicitInline + true + true + MaxSpeed + true + Level3 + WIN32;WIN32_LEAN_AND_MEAN;GLEW_MX;GLEW_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + + + .\..\..\bin\glewinfo.tlb + + + 0x0409 + NDEBUG;GLEW_MX;%(PreprocessorDefinitions) + + + true + + + true + Console + $(OutDir)$(TargetName)$(TargetExt) + glew32mxs.lib;opengl32.lib;%(AdditionalDependencies) + $(LIB_DIR)\$(Configuration)\$(PlatformName)\ + + + + + MultiThreaded + OnlyExplicitInline + true + true + MaxSpeed + true + Level3 + WIN32;WIN32_LEAN_AND_MEAN;GLEW_MX;GLEW_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + + + .\..\..\bin\glewinfo.tlb + + + 0x0409 + NDEBUG;GLEW_MX;%(PreprocessorDefinitions) + + + true + + + true + Console + $(OutDir)$(TargetName)$(TargetExt) + glew32mxs.lib;opengl32.lib;%(AdditionalDependencies) + $(LIB_DIR)\$(Configuration)\$(PlatformName)\ + + + + + MultiThreadedDebugDLL + Default + false + Disabled + true + Level3 + WIN32;WIN32_LEAN_AND_MEAN;VC_EXTRA_LEAN;GLEW_MX;GLEW_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + EnableFastChecks + + + .\..\..\bin\glewinfo.tlb + + + 0x0409 + _DEBUG;GLEW_MX;%(PreprocessorDefinitions) + + + true + + + true + true + Console + $(OutDir)$(TargetName)$(TargetExt) + glew32mxsd.lib;opengl32.lib;%(AdditionalDependencies) + $(LIB_DIR)\$(Configuration)\$(PlatformName)\ + + + + + MultiThreadedDebugDLL + Default + false + Disabled + true + Level3 + WIN32;WIN32_LEAN_AND_MEAN;VC_EXTRA_LEAN;GLEW_MX;GLEW_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + EnableFastChecks + + + .\..\..\bin\glewinfo.tlb + + + 0x0409 + _DEBUG;GLEW_MX;%(PreprocessorDefinitions) + + + true + + + true + true + Console + $(OutDir)$(TargetName)$(TargetExt) + glew32mxsd.lib;opengl32.lib;%(AdditionalDependencies) + $(LIB_DIR)\$(Configuration)\$(PlatformName)\ + + + + + MultiThreadedDebugDLL + Default + false + Disabled + true + Level3 + WIN32;WIN32_LEAN_AND_MEAN;VC_EXTRA_LEAN;GLEW_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + EnableFastChecks + + + .\..\..\bin\glewinfo.tlb + + + 0x0409 + _DEBUG;%(PreprocessorDefinitions) + + + true + + + true + true + Console + $(OutDir)$(TargetName)$(TargetExt) + glew32sd.lib;opengl32.lib;%(AdditionalDependencies) + $(LIB_DIR)\$(Configuration)\$(PlatformName)\ + + + + + MultiThreadedDebugDLL + Default + false + Disabled + true + Level3 + WIN32;WIN32_LEAN_AND_MEAN;VC_EXTRA_LEAN;GLEW_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + EnableFastChecks + + + .\..\..\bin\glewinfo.tlb + + + 0x0409 + _DEBUG;%(PreprocessorDefinitions) + + + true + + + true + true + Console + $(OutDir)$(TargetName)$(TargetExt) + glew32sd.lib;opengl32.lib;%(AdditionalDependencies) + $(LIB_DIR)\$(Configuration)\$(PlatformName)\ + + + + + MultiThreaded + OnlyExplicitInline + true + true + MaxSpeed + true + Level3 + WIN32;WIN32_LEAN_AND_MEAN;GLEW_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + + + .\..\..\bin\glewinfo.tlb + + + 0x0409 + NDEBUG;%(PreprocessorDefinitions) + + + true + + + true + Console + $(OutDir)$(TargetName)$(TargetExt) + glew32s.lib;opengl32.lib;%(AdditionalDependencies) + $(LIB_DIR)\$(Configuration)\$(PlatformName)\ + + + + + MultiThreaded + OnlyExplicitInline + true + true + MaxSpeed + true + Level3 + WIN32;WIN32_LEAN_AND_MEAN;GLEW_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + + + .\..\..\bin\glewinfo.tlb + + + 0x0409 + NDEBUG;%(PreprocessorDefinitions) + + + true + + + true + Console + $(OutDir)$(TargetName)$(TargetExt) + glew32s.lib;opengl32.lib;%(AdditionalDependencies) + $(LIB_DIR)\$(Configuration)\$(PlatformName)\ + + + + + $(OutDir)$(TargetName)$(TargetExt) + $(LIB_DIR)\$(Configuration)\$(PlatformName)\ + + + + + + + + $(OutDir)$(TargetName)$(TargetExt) + $(LIB_DIR)\$(Configuration)\$(PlatformName)\ + + + + + + + + + + + {664e6f0d-6784-4760-9565-d54f8eb1edf4} + + + + + + \ No newline at end of file diff --git a/build/vc12/visualinfo.vcxproj b/build/vc12/visualinfo.vcxproj new file mode 100644 index 0000000..692b778 --- /dev/null +++ b/build/vc12/visualinfo.vcxproj @@ -0,0 +1,445 @@ + + + + + Debug MX + Win32 + + + Debug MX + x64 + + + Debug + Win32 + + + Debug + x64 + + + Release MX + Win32 + + + Release MX + x64 + + + Release + Win32 + + + Release + x64 + + + + + + {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E} + + + + Application + + + Application + + + Application + false + v120 + + + Application + false + v120 + + + Application + false + v120 + + + Application + false + v120 + + + Application + false + v120 + + + Application + false + v120 + + + Application + false + v120 + + + Application + false + v120 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + $(BIN_DIR)\$(Configuration)\$(PlatformName)\ + tmp\$(TargetName)\$(Configuration)\$(PlatformName)\ + false + visualinfo-mxd + + + $(BIN_DIR)\$(Configuration)\$(PlatformName)\ + tmp\$(TargetName)\$(Configuration)\$(PlatformName)\ + false + visualinfo-mxd + + + $(BIN_DIR)\$(Configuration)\$(PlatformName)\ + tmp\$(TargetName)\$(Configuration)\$(PlatformName)\ + false + visualinfod + + + $(BIN_DIR)\$(Configuration)\$(PlatformName)\ + tmp\$(TargetName)\$(Configuration)\$(PlatformName)\ + false + visualinfod + + + $(BIN_DIR)\$(Configuration)\$(PlatformName)\ + tmp\$(TargetName)\$(Configuration)\$(PlatformName)\ + false + visualinfo-mx + + + $(BIN_DIR)\$(Configuration)\$(PlatformName)\ + tmp\$(TargetName)\$(Configuration)\$(PlatformName)\ + false + visualinfo-mx + + + $(BIN_DIR)\$(Configuration)\$(PlatformName)\ + tmp\$(TargetName)\$(Configuration)\$(PlatformName)\ + false + visualinfo + + + $(BIN_DIR)\$(Configuration)\$(PlatformName)\ + tmp\$(TargetName)\$(Configuration)\$(PlatformName)\ + false + visualinfo + + + $(BIN_DIR)\$(Configuration)\$(PlatformName)\ + visualinfo + tmp\$(TargetName)\$(Configuration)\$(PlatformName)\ + + + ..\..\bin/ + visualinfo + + + + MultiThreadedDebugDLL + Default + false + Disabled + true + Level3 + WIN32;WIN32_LEAN_AND_MEAN;VC_EXTRA_LEAN;GLEW_MX;GLEW_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + EnableFastChecks + + + .\..\..\bin\visualinfo.tlb + + + 0x0409 + _DEBUG;GLEW_MX;%(PreprocessorDefinitions) + + + true + + + true + true + Console + $(OutDir)$(TargetName)$(TargetExt) + glew32mxsd.lib;glu32.lib;opengl32.lib;%(AdditionalDependencies) + $(LIB_DIR)\$(Configuration)\$(PlatformName)\ + + + + + MultiThreadedDebugDLL + Default + false + Disabled + true + Level3 + WIN32;WIN32_LEAN_AND_MEAN;VC_EXTRA_LEAN;GLEW_MX;GLEW_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + EnableFastChecks + + + .\..\..\bin\visualinfo.tlb + + + 0x0409 + _DEBUG;GLEW_MX;%(PreprocessorDefinitions) + + + true + + + true + true + Console + $(OutDir)$(TargetName)$(TargetExt) + glew32mxsd.lib;glu32.lib;opengl32.lib;%(AdditionalDependencies) + $(LIB_DIR)\$(Configuration)\$(PlatformName)\ + + + + + MultiThreadedDebugDLL + Default + false + Disabled + true + Level3 + WIN32;WIN32_LEAN_AND_MEAN;VC_EXTRA_LEAN;GLEW_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + EnableFastChecks + + + .\..\..\bin\visualinfo.tlb + + + 0x0409 + _DEBUG;%(PreprocessorDefinitions) + + + true + + + true + true + Console + $(OutDir)$(TargetName)$(TargetExt) + glew32sd.lib;glu32.lib;opengl32.lib;%(AdditionalDependencies) + $(LIB_DIR)\$(Configuration)\$(PlatformName)\ + + + + + MultiThreadedDebugDLL + Default + false + Disabled + true + Level3 + WIN32;WIN32_LEAN_AND_MEAN;VC_EXTRA_LEAN;GLEW_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + EnableFastChecks + + + .\..\..\bin\visualinfo.tlb + + + 0x0409 + _DEBUG;%(PreprocessorDefinitions) + + + true + + + true + true + Console + $(OutDir)$(TargetName)$(TargetExt) + glew32sd.lib;glu32.lib;opengl32.lib;%(AdditionalDependencies) + $(LIB_DIR)\$(Configuration)\$(PlatformName)\ + + + + + MultiThreaded + OnlyExplicitInline + true + true + MaxSpeed + true + Level3 + WIN32;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;GLEW_MX;GLEW_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + + + .\..\..\bin\visualinfo.tlb + + + 0x0409 + NDEBUG;GLEW_MX;%(PreprocessorDefinitions) + + + true + + + true + Console + $(OutDir)$(TargetName)$(TargetExt) + glew32mxs.lib;glu32.lib;opengl32.lib;%(AdditionalDependencies) + $(LIB_DIR)\$(Configuration)\$(PlatformName)\ + + + + + MultiThreaded + OnlyExplicitInline + true + true + MaxSpeed + true + Level3 + WIN32;WIN32_LEAN_AND_MEAN;GLEW_MX;GLEW_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + + + .\..\..\bin\visualinfo.tlb + + + 0x0409 + NDEBUG;GLEW_MX;%(PreprocessorDefinitions) + + + true + + + true + Console + $(OutDir)$(TargetName)$(TargetExt) + glew32mxs.lib;glu32.lib;opengl32.lib;%(AdditionalDependencies) + $(LIB_DIR)\$(Configuration)\$(PlatformName)\ + + + + + MultiThreaded + OnlyExplicitInline + true + true + MaxSpeed + true + Level3 + WIN32;WIN32_LEAN_AND_MEAN;GLEW_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + + + .\..\..\bin\visualinfo.tlb + + + 0x0409 + NDEBUG;%(PreprocessorDefinitions) + + + true + + + true + Console + $(OutDir)$(TargetName)$(TargetExt) + glew32s.lib;glu32.lib;opengl32.lib;%(AdditionalDependencies) + $(LIB_DIR)\$(Configuration)\$(PlatformName)\ + + + + + MultiThreaded + OnlyExplicitInline + true + true + MaxSpeed + true + Level3 + WIN32;WIN32_LEAN_AND_MEAN;GLEW_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) + + + .\..\..\bin\visualinfo.tlb + + + 0x0409 + NDEBUG;%(PreprocessorDefinitions) + + + true + + + true + Console + $(OutDir)$(TargetName)$(TargetExt) + glew32s.lib;glu32.lib;opengl32.lib;%(AdditionalDependencies) + $(LIB_DIR)\$(Configuration)\$(PlatformName)\ + + + + + + + $(OutDir)$(TargetName)$(TargetExt) + $(LIB_DIR)\$(Configuration)\$(PlatformName)\ + glew32sd.lib;glu32.lib;opengl32.lib;%(AdditionalDependencies) + + + + + + + $(OutDir)$(TargetName)$(TargetExt) + glew32sd.lib;glu32.lib;opengl32.lib;%(AdditionalDependencies) + $(LIB_DIR)\$(Configuration)\$(PlatformName)\ + + + + + + + + {664e6f0d-6784-4760-9565-d54f8eb1edf4} + + + + + + \ No newline at end of file From f76628b5bd998480af25197fd1ede033abe303e9 Mon Sep 17 00:00:00 2001 From: Nigel Stewart Date: Sun, 13 Jul 2014 23:41:45 +1000 Subject: [PATCH 3/5] GLEW Patch #66 - Fixups for pkg-config in MinGW build. --- Makefile | 15 +++++++++++---- glew.pc.in | 8 ++++---- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 9fdac23..b45586c 100644 --- a/Makefile +++ b/Makefile @@ -40,11 +40,16 @@ else $(error "Platform '$(SYSTEM)' not supported") endif +GLEW_PREFIX ?= /usr GLEW_DEST ?= /usr BINDIR ?= $(GLEW_DEST)/bin LIBDIR ?= $(GLEW_DEST)/lib INCDIR ?= $(GLEW_DEST)/include/GL +ifneq ($(GLEW_NO_GLU), -DGLEW_NO_GLU) +LIBGLU = glu +endif + DIST_NAME ?= glew-$(GLEW_VERSION) DIST_SRC_ZIP ?= $(shell pwd)/$(DIST_NAME).zip DIST_SRC_TGZ ?= $(shell pwd)/$(DIST_NAME).tgz @@ -128,13 +133,14 @@ tmp/$(SYSTEM)/default/shared/glew.o: src/glew.c include/GL/glew.h include/GL/wgl glew.pc: glew.pc.in sed \ - -e "s|@prefix@|$(GLEW_DEST)|g" \ + -e "s|@prefix@|$(GLEW_PREFIX)|g" \ -e "s|@libdir@|$(LIBDIR)|g" \ -e "s|@exec_prefix@|$(BINDIR)|g" \ -e "s|@includedir@|$(INCDIR)|g" \ -e "s|@version@|$(GLEW_VERSION)|g" \ -e "s|@cflags@||g" \ - -e "s|@libname@|GLEW|g" \ + -e "s|@libname@|$(NAME)|g" \ + -e "s|@requireslib@|$(LIBGLU)|g" \ < $< > $@ # GLEW MX static and shared libraries @@ -168,13 +174,14 @@ tmp/$(SYSTEM)/mx/shared/glew.o: src/glew.c include/GL/glew.h include/GL/wglew.h glewmx.pc: glew.pc.in sed \ - -e "s|@prefix@|$(GLEW_DEST)|g" \ + -e "s|@prefix@|$(GLEW_PREFIX)|g" \ -e "s|@libdir@|$(LIBDIR)|g" \ -e "s|@exec_prefix@|$(BINDIR)|g" \ -e "s|@includedir@|$(INCDIR)|g" \ -e "s|@version@|$(GLEW_VERSION)|g" \ -e "s|@cflags@|-DGLEW_MX|g" \ - -e "s|@libname@|GLEWmx|g" \ + -e "s|@libname@|$(NAME)mx|g" \ + -e "s|@requireslib@|$(LIBGLU)|g" \ < $< > $@ # GLEW utility programs diff --git a/glew.pc.in b/glew.pc.in index 4c934af..d7f30a6 100644 --- a/glew.pc.in +++ b/glew.pc.in @@ -1,11 +1,11 @@ prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@ +exec_prefix=${prefix} +libdir=${exec_prefix}/lib +includedir=${prefix}/include/GL Name: glew Description: The OpenGL Extension Wrangler library Version: @version@ Cflags: -I${includedir} @cflags@ Libs: -L${libdir} -l@libname@ -Requires: glu +Requires: @requireslib@ From f6bd1dab39c7fe86183bcb7f88583b65651baeb8 Mon Sep 17 00:00:00 2001 From: Nigel Stewart Date: Sun, 13 Jul 2014 23:44:54 +1000 Subject: [PATCH 4/5] GLEW Patch #65 - Makefile: let "make glew.lib debug" actually build with debug --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b45586c..140f03a 100644 --- a/Makefile +++ b/Makefile @@ -70,7 +70,7 @@ STRIP ?= strip RM ?= rm -f LN ?= ln -sf -ifeq ($(MAKECMDGOALS), debug) +ifneq (,$(filter debug,$(MAKECMDGOALS))) OPT = -g else OPT = $(POPT) From 5f0a96150e73ade7f6fd58d093d2d8df2e4f65fb Mon Sep 17 00:00:00 2001 From: Nigel Stewart Date: Sun, 13 Jul 2014 23:49:00 +1000 Subject: [PATCH 5/5] GLEW Patch #64 - disable GLU on iOS --- auto/src/glew_head.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/auto/src/glew_head.h b/auto/src/glew_head.h index a033399..e3f6eb2 100644 --- a/auto/src/glew_head.h +++ b/auto/src/glew_head.h @@ -1105,6 +1105,15 @@ GLAPI void GLAPIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei heigh /* ---------------------------------- GLU ---------------------------------- */ +#ifndef GLEW_NO_GLU +# ifdef __APPLE__ +# include +# if defined(__IPHONE_OS_VERSION_MIN_REQUIRED) +# define GLEW_NO_GLU +# endif +# endif +#endif + #ifndef GLEW_NO_GLU /* this is where we can safely include GLU */ # if defined(__APPLE__) && defined(__MACH__)