mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-01-22 17:12:25 -05:00
Re-enable ModernGL build
This commit is contained in:
parent
fdd6e58063
commit
1728314b59
2 changed files with 6 additions and 22 deletions
|
@ -22,7 +22,7 @@
|
|||
<ProjectGuid>{8A7D82BD-178A-4785-B41B-70EDE998920A}</ProjectGuid>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<RootNamespace>ClassiCube</RootNamespace>
|
||||
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
|
@ -41,7 +41,7 @@
|
|||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v142</PlatformToolset>
|
||||
<PlatformToolset>v140</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
|
|
|
@ -784,27 +784,19 @@ cc_bool Updater_Clean(void) { return true; }
|
|||
#if defined CC_BUILD_LINUX
|
||||
#if __x86_64__
|
||||
const struct UpdaterInfo Updater_Info = {
|
||||
#ifndef CC_BUILD_GLMODERN
|
||||
"", 1, { { "OpenGL", "ClassiCube" } }
|
||||
#else
|
||||
"&eModernGL is recommended for newer machines (2010 or later)", 2,
|
||||
"&eModernGL is recommended for newer machines (2015 or later)", 2,
|
||||
{
|
||||
{ "OpenGL", "ClassiCube" },
|
||||
{ "ModernGL", "cc-nix64-gl2" }
|
||||
}
|
||||
#endif
|
||||
};
|
||||
#elif __i386__
|
||||
const struct UpdaterInfo Updater_Info = {
|
||||
#ifndef CC_BUILD_GLMODERN
|
||||
"", 1, { { "OpenGL", "ClassiCube.32" } }
|
||||
#else
|
||||
"&eModernGL is recommended for newer machines (2010 or later)", 2,
|
||||
"&eModernGL is recommended for newer machines (2015 or later)", 2,
|
||||
{
|
||||
{ "OpenGL", "ClassiCube.32" },
|
||||
{ "ModernGL", "cc-nix32-gl2" }
|
||||
}
|
||||
#endif
|
||||
};
|
||||
#elif CC_BUILD_RPI
|
||||
const struct UpdaterInfo Updater_Info = { "", 1, { { "OpenGL", "ClassiCube.rpi" } } };
|
||||
|
@ -814,27 +806,19 @@ const struct UpdaterInfo Updater_Info = { "&eCompile latest source code to updat
|
|||
#elif defined CC_BUILD_MACOS
|
||||
#if __x86_64__
|
||||
const struct UpdaterInfo Updater_Info = {
|
||||
#ifndef CC_BUILD_GLMODERN
|
||||
"", 1, { { "OpenGL", "ClassiCube.64.osx" } }
|
||||
#else
|
||||
"&eModernGL is recommended for newer machines (2010 or later)", 2,
|
||||
"&eModernGL is recommended for newer machines (2015 or later)", 2,
|
||||
{
|
||||
{ "OpenGL", "ClassiCube.64.osx" },
|
||||
{ "ModernGL", "cc-osx64-gl2" }
|
||||
}
|
||||
#endif
|
||||
};
|
||||
#elif __i386__
|
||||
const struct UpdaterInfo Updater_Info = {
|
||||
#ifndef CC_BUILD_GLMODERN
|
||||
"", 1, { { "OpenGL", "ClassiCube.osx" } }
|
||||
#else
|
||||
"&eModernGL is recommended for newer machines (2010 or later)", 2,
|
||||
"&eModernGL is recommended for newer machines (2015 or later)", 2,
|
||||
{
|
||||
{ "OpenGL", "ClassiCube.osx" },
|
||||
{ "ModernGL", "cc-osx32-gl2" }
|
||||
}
|
||||
#endif
|
||||
};
|
||||
#else
|
||||
const struct UpdaterInfo Updater_Info = { "&eCompile latest source code to update", 0 };
|
||||
|
|
Loading…
Reference in a new issue