From ee3026486f09804f6c773395925513cb9e0ef19b Mon Sep 17 00:00:00 2001 From: wiranoid Date: Wed, 15 Nov 2017 00:57:31 +0300 Subject: [PATCH 1/5] Add Visual Studio 2015 and 2017 project files --- .gitignore | 2 + README.md | 4 +- build/vc14/common.props | 29 ++++ build/vc14/glew.sln | 56 +++++++ build/vc14/glew_shared.vcxproj | 258 ++++++++++++++++++++++++++++++++ build/vc14/glew_static.vcxproj | 232 +++++++++++++++++++++++++++++ build/vc14/glewinfo.vcxproj | 259 +++++++++++++++++++++++++++++++++ build/vc14/visualinfo.vcxproj | 258 ++++++++++++++++++++++++++++++++ build/vc15/common.props | 29 ++++ build/vc15/glew.sln | 59 ++++++++ build/vc15/glew_shared.vcxproj | 258 ++++++++++++++++++++++++++++++++ build/vc15/glew_static.vcxproj | 232 +++++++++++++++++++++++++++++ build/vc15/glewinfo.vcxproj | 259 +++++++++++++++++++++++++++++++++ build/vc15/visualinfo.vcxproj | 258 ++++++++++++++++++++++++++++++++ 14 files changed, 2191 insertions(+), 2 deletions(-) create mode 100644 build/vc14/common.props create mode 100644 build/vc14/glew.sln create mode 100644 build/vc14/glew_shared.vcxproj create mode 100644 build/vc14/glew_static.vcxproj create mode 100644 build/vc14/glewinfo.vcxproj create mode 100644 build/vc14/visualinfo.vcxproj create mode 100644 build/vc15/common.props create mode 100644 build/vc15/glew.sln create mode 100644 build/vc15/glew_shared.vcxproj create mode 100644 build/vc15/glew_static.vcxproj create mode 100644 build/vc15/glewinfo.vcxproj create mode 100644 build/vc15/visualinfo.vcxproj diff --git a/.gitignore b/.gitignore index 0b496ad..1630ed4 100644 --- a/.gitignore +++ b/.gitignore @@ -5,7 +5,9 @@ /build/*.rc /build/*/*.sdf /build/*/*.suo +/build/*/*.db /build/*/*.vcxproj.user +/build/*/.vs/ /build/*/tmp/ /build/cmake/CMakeFiles/ /build/cmake/CMakeCache.txt diff --git a/README.md b/README.md index 1b427b8..d3b8de8 100644 --- a/README.md +++ b/README.md @@ -92,9 +92,9 @@ RedHat/CentOS/Fedora: `$ sudo yum install libXmu-devel libXi-devel libGL-devel c #### Visual Studio -Use the provided Visual Studio project file in build/vc12/ +Use the provided Visual Studio project file in build/vc15/ -Projects for vc6 and vc10 are also provided +Projects for vc6, vc10, vc12 and vc14 are also provided #### MSYS/Mingw diff --git a/build/vc14/common.props b/build/vc14/common.props new file mode 100644 index 0000000..8d53675 --- /dev/null +++ b/build/vc14/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/vc14/glew.sln b/build/vc14/glew.sln new file mode 100644 index 0000000..5ac822d --- /dev/null +++ b/build/vc14/glew.sln @@ -0,0 +1,56 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 14 +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|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {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|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|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|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|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|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|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|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/vc14/glew_shared.vcxproj b/build/vc14/glew_shared.vcxproj new file mode 100644 index 0000000..6015ff3 --- /dev/null +++ b/build/vc14/glew_shared.vcxproj @@ -0,0 +1,258 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + + + {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D} + + + + DynamicLibrary + false + v140 + + + DynamicLibrary + false + v140 + + + DynamicLibrary + false + v140 + + + DynamicLibrary + false + v140 + + + + + + + + + + + + + + + + + + + $(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 + 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_BUILD;%(PreprocessorDefinitions) + false + + + 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 + + + true + true + + + + + MultiThreaded + OnlyExplicitInline + true + true + MaxSpeed + true + Level3 + $(INCLUDE_DIR) + WIN32;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;GLEW_BUILD;%(PreprocessorDefinitions) + false + + + 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 + + + true + true + + + + + MultiThreadedDebugDLL + Default + false + Disabled + true + WIN32;WIN32_MEAN_AND_LEAN;VC_EXTRALEAN;GLEW_BUILD;%(PreprocessorDefinitions) + EnableFastChecks + Level3 + $(INCLUDE_DIR) + false + + + 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) + false + + + 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/vc14/glew_static.vcxproj b/build/vc14/glew_static.vcxproj new file mode 100644 index 0000000..87be4c2 --- /dev/null +++ b/build/vc14/glew_static.vcxproj @@ -0,0 +1,232 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + + + {664E6F0D-6784-4760-9565-D54F8EB1EDF4} + + + + Application + + + Application + + + StaticLibrary + false + MultiByte + v140 + + + StaticLibrary + false + MultiByte + v140 + + + StaticLibrary + false + MultiByte + v140 + + + StaticLibrary + false + MultiByte + v140 + + + + + + + + + + + + + + + + + + + + + + + + + $(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)\ + 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)\ + + + + MultiThreaded + OnlyExplicitInline + true + true + MaxSpeed + true + Level3 + ../../include;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_LIB;WIN32_LEAN_AND_MEAN;GLEW_STATIC;%(PreprocessorDefinitions) + false + + + 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) + false + + + 0x0409 + NDEBUG;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 + false + + + 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 + false + + + 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/vc14/glewinfo.vcxproj b/build/vc14/glewinfo.vcxproj new file mode 100644 index 0000000..ec051d9 --- /dev/null +++ b/build/vc14/glewinfo.vcxproj @@ -0,0 +1,259 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + + + {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA} + + + + Application + + + Application + + + Application + false + v140 + + + Application + false + v140 + + + Application + false + v140 + + + Application + false + v140 + + + + + + + + + + + + + + + + + + + + + + + + + $(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)\ + + + + 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/vc14/visualinfo.vcxproj b/build/vc14/visualinfo.vcxproj new file mode 100644 index 0000000..80b8d9d --- /dev/null +++ b/build/vc14/visualinfo.vcxproj @@ -0,0 +1,258 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + + + {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E} + + + + Application + + + Application + + + Application + false + v140 + + + Application + false + v140 + + + Application + false + v140 + + + Application + false + v140 + + + + + + + + + + + + + + + + + + + + + + + + + $(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 + + + $(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_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;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 diff --git a/build/vc15/common.props b/build/vc15/common.props new file mode 100644 index 0000000..8d53675 --- /dev/null +++ b/build/vc15/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/vc15/glew.sln b/build/vc15/glew.sln new file mode 100644 index 0000000..fddec56 --- /dev/null +++ b/build/vc15/glew.sln @@ -0,0 +1,59 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +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|Win32 = Debug|Win32 + Debug|x64 = Debug|x64 + Release|Win32 = Release|Win32 + Release|x64 = Release|x64 + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {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|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|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|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|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|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|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|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 + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {9A5903BA-2749-477B-A225-BC8AB668C316} + EndGlobalSection +EndGlobal diff --git a/build/vc15/glew_shared.vcxproj b/build/vc15/glew_shared.vcxproj new file mode 100644 index 0000000..5f0a843 --- /dev/null +++ b/build/vc15/glew_shared.vcxproj @@ -0,0 +1,258 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + + + {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D} + + + + DynamicLibrary + false + v141 + + + DynamicLibrary + false + v141 + + + DynamicLibrary + false + v141 + + + DynamicLibrary + false + v141 + + + + + + + + + + + + + + + + + + + $(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 + 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_BUILD;%(PreprocessorDefinitions) + false + + + 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 + + + true + true + + + + + MultiThreaded + OnlyExplicitInline + true + true + MaxSpeed + true + Level3 + $(INCLUDE_DIR) + WIN32;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;GLEW_BUILD;%(PreprocessorDefinitions) + false + + + 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 + + + true + true + + + + + MultiThreadedDebugDLL + Default + false + Disabled + true + WIN32;WIN32_MEAN_AND_LEAN;VC_EXTRALEAN;GLEW_BUILD;%(PreprocessorDefinitions) + EnableFastChecks + Level3 + $(INCLUDE_DIR) + false + + + 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) + false + + + 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/vc15/glew_static.vcxproj b/build/vc15/glew_static.vcxproj new file mode 100644 index 0000000..787fa4a --- /dev/null +++ b/build/vc15/glew_static.vcxproj @@ -0,0 +1,232 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + + + {664E6F0D-6784-4760-9565-D54F8EB1EDF4} + + + + Application + + + Application + + + StaticLibrary + false + MultiByte + v141 + + + StaticLibrary + false + MultiByte + v141 + + + StaticLibrary + false + MultiByte + v141 + + + StaticLibrary + false + MultiByte + v141 + + + + + + + + + + + + + + + + + + + + + + + + + $(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)\ + 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)\ + + + + MultiThreaded + OnlyExplicitInline + true + true + MaxSpeed + true + Level3 + ../../include;%(AdditionalIncludeDirectories) + WIN32;NDEBUG;_LIB;WIN32_LEAN_AND_MEAN;GLEW_STATIC;%(PreprocessorDefinitions) + false + + + 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) + false + + + 0x0409 + NDEBUG;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 + false + + + 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 + false + + + 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/vc15/glewinfo.vcxproj b/build/vc15/glewinfo.vcxproj new file mode 100644 index 0000000..3ccae20 --- /dev/null +++ b/build/vc15/glewinfo.vcxproj @@ -0,0 +1,259 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + + + {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA} + + + + Application + + + Application + + + Application + false + v141 + + + Application + false + v141 + + + Application + false + v141 + + + Application + false + v141 + + + + + + + + + + + + + + + + + + + + + + + + + $(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)\ + + + + 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/vc15/visualinfo.vcxproj b/build/vc15/visualinfo.vcxproj new file mode 100644 index 0000000..0b61d30 --- /dev/null +++ b/build/vc15/visualinfo.vcxproj @@ -0,0 +1,258 @@ + + + + + Debug + Win32 + + + Debug + x64 + + + Release + Win32 + + + Release + x64 + + + + + + {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E} + + + + Application + + + Application + + + Application + false + v141 + + + Application + false + v141 + + + Application + false + v141 + + + Application + false + v141 + + + + + + + + + + + + + + + + + + + + + + + + + $(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 + + + $(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_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;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 0b396919e6cfc8247c5256a708bf410ad51af78e Mon Sep 17 00:00:00 2001 From: dimitri Date: Fri, 17 Nov 2017 19:33:33 -0800 Subject: [PATCH 2/5] Building 32-bit binaries on 64-bit linux machines now supported. --- build/conan/.gitignore | 1 + build/conan/build.py | 5 ----- build/conan/conanfile.py | 18 +++++++++++++++--- build/conan/test_package/conanfile.py | 4 ++-- 4 files changed, 18 insertions(+), 10 deletions(-) diff --git a/build/conan/.gitignore b/build/conan/.gitignore index 088fc73..445b22a 100644 --- a/build/conan/.gitignore +++ b/build/conan/.gitignore @@ -15,3 +15,4 @@ test_package/build conanfile.pyc conaninfo.txt conanbuildinfo.cmake +conanbuildinfo.txt diff --git a/build/conan/build.py b/build/conan/build.py index 43b1b55..3363abb 100644 --- a/build/conan/build.py +++ b/build/conan/build.py @@ -4,9 +4,4 @@ import os, platform if __name__ == "__main__": builder = ConanMultiPackager(args="--build missing") builder.add_common_builds() - filtered_builds = [] - for settings, options, env_vars, build_requires in builder.builds: - if not (settings["arch"] == "x86"): - filtered_builds.append([settings, options, env_vars, build_requires]) - builder.builds = filtered_builds builder.run() diff --git a/build/conan/conanfile.py b/build/conan/conanfile.py index 6c8826c..c5ebeeb 100644 --- a/build/conan/conanfile.py +++ b/build/conan/conanfile.py @@ -1,6 +1,6 @@ import os from conans import ConanFile, CMake -from conans.tools import os_info, SystemPackageTool, ConanException +from conans.tools import os_info, SystemPackageTool, ConanException, replace_in_file from conans import tools, VisualStudioBuildEnvironment from conans.tools import build_sln_command, vcvars_command, download, unzip @@ -33,14 +33,20 @@ class GlewConan(ConanFile): installer.install("libxi-dev") installer.install("libgl-dev") installer.install("libosmesa-dev") - installer.install("libglu1-mesa-dev") + if self.settings.arch == "x86" and tools.detected_architecture() == "x86_64": + installer.install("libglu1-mesa-dev:i386") + else: + installer.install("libglu1-mesa-dev") elif os_info.with_yum: installer = SystemPackageTool() if self.version == "master": installer.install("libXmu-devel") installer.install("libXi-devel") installer.install("libGL-devel") - installer.install("mesa-libGLU-devel") + if self.settings.arch == "x86" and tools.detected_architecture() == "x86_64": + installer.install("mesa-libGLU-devel.i686") + else: + installer.install("mesa-libGLU-devel") else: self.output.warn("Could not determine Linux package manager, skipping system requirements installation.") @@ -71,6 +77,12 @@ class GlewConan(ConanFile): if self.version == "master": self.run("make extensions") + replace_in_file("%s/build/cmake/CMakeLists.txt" % self.source_directory, "include(GNUInstallDirs)", +""" +include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake) +conan_basic_setup() +include(GNUInstallDirs) +""") cmake = CMake(self) cmake.configure(source_dir="%s/build/cmake" % self.source_directory, defs={"BUILD_UTILS": "OFF"}) cmake.build() diff --git a/build/conan/test_package/conanfile.py b/build/conan/test_package/conanfile.py index aa9e8c1..0239099 100644 --- a/build/conan/test_package/conanfile.py +++ b/build/conan/test_package/conanfile.py @@ -7,8 +7,8 @@ class TestGlew(ConanFile): def build(self): cmake = CMake(self) - self.run('cmake "%s" %s' % (self.conanfile_directory, cmake.command_line)) - self.run("cmake --build . %s" % cmake.build_config) + cmake.configure() + cmake.build() def test(self): self.run(os.sep.join([".","bin", "testGlew"])) From 871bb6601b5590071d28d200fea7ba921276e0cb Mon Sep 17 00:00:00 2001 From: dimitri Date: Fri, 17 Nov 2017 21:17:53 -0800 Subject: [PATCH 3/5] Still avoiding 32-bit builds online, even though they work locally. --- build/conan/build.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build/conan/build.py b/build/conan/build.py index 3363abb..43b1b55 100644 --- a/build/conan/build.py +++ b/build/conan/build.py @@ -4,4 +4,9 @@ import os, platform if __name__ == "__main__": builder = ConanMultiPackager(args="--build missing") builder.add_common_builds() + filtered_builds = [] + for settings, options, env_vars, build_requires in builder.builds: + if not (settings["arch"] == "x86"): + filtered_builds.append([settings, options, env_vars, build_requires]) + builder.builds = filtered_builds builder.run() From 2af38d87be3b2e69fda484dc0cd3f03b905da6dd Mon Sep 17 00:00:00 2001 From: Nigel Stewart Date: Sat, 2 Dec 2017 09:16:46 +1000 Subject: [PATCH 4/5] Fixup for GLEW_VERSION_4_5 version detection --- auto/src/glew_init_gl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto/src/glew_init_gl.c b/auto/src/glew_init_gl.c index 4b3da56..b28013f 100644 --- a/auto/src/glew_init_gl.c +++ b/auto/src/glew_init_gl.c @@ -110,7 +110,7 @@ static GLenum GLEWAPIENTRY glewContextInit () else { GLEW_VERSION_4_6 = ( major > 4 ) || ( major == 4 && minor >= 6 ) ? GL_TRUE : GL_FALSE; - GLEW_VERSION_4_5 = GLEW_VERSION_4_4 == GL_TRUE || ( major == 4 && minor >= 5 ) ? GL_TRUE : GL_FALSE; + GLEW_VERSION_4_5 = GLEW_VERSION_4_6 == GL_TRUE || ( major == 4 && minor >= 5 ) ? GL_TRUE : GL_FALSE; GLEW_VERSION_4_4 = GLEW_VERSION_4_5 == GL_TRUE || ( major == 4 && minor >= 4 ) ? GL_TRUE : GL_FALSE; GLEW_VERSION_4_3 = GLEW_VERSION_4_4 == GL_TRUE || ( major == 4 && minor >= 3 ) ? GL_TRUE : GL_FALSE; GLEW_VERSION_4_2 = GLEW_VERSION_4_3 == GL_TRUE || ( major == 4 && minor >= 2 ) ? GL_TRUE : GL_FALSE; From f5f69b25eb3495775aef94f443487a4295c0a57e Mon Sep 17 00:00:00 2001 From: Olli Kallioinen Date: Fri, 29 Dec 2017 16:54:53 +0200 Subject: [PATCH 5/5] Fix for issue #169 (glew cmake project requires a c++ compiler) --- build/cmake/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/cmake/CMakeLists.txt b/build/cmake/CMakeLists.txt index 5081e0f..d724e10 100644 --- a/build/cmake/CMakeLists.txt +++ b/build/cmake/CMakeLists.txt @@ -2,7 +2,7 @@ if ( NOT DEFINED CMAKE_BUILD_TYPE ) set( CMAKE_BUILD_TYPE Release CACHE STRING "Build type" ) endif () -project (glew) +project (glew C) cmake_minimum_required (VERSION 2.8.12)