Removed obsolete platforms.
This commit is contained in:
parent
e69f69e0cd
commit
f7fea65bec
@ -41,7 +41,7 @@ Supported platforms:
|
||||
* RaspberryPi
|
||||
* SteamLink
|
||||
* Windows (XP, Vista, 7, 8, 10)
|
||||
* WinRT (WinPhone 8.0+)
|
||||
* UWP (Universal Windows, Xbox One)
|
||||
|
||||
Supported compilers:
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
#include "entry.h"
|
||||
|
||||
#ifndef ENTRY_CONFIG_USE_NOOP
|
||||
# define ENTRY_CONFIG_USE_NOOP (BX_PLATFORM_QNX)
|
||||
# define ENTRY_CONFIG_USE_NOOP 0
|
||||
#endif // ENTRY_CONFIG_USE_NOOP
|
||||
|
||||
#ifndef ENTRY_CONFIG_USE_SDL
|
||||
|
@ -24,7 +24,7 @@ using namespace Windows::Graphics::Display;
|
||||
#endif // BX_PLATFORM_WINRT
|
||||
using namespace Platform;
|
||||
|
||||
static const char* const g_emptyArgs[] = { "" };
|
||||
static const char* const g_emptyArgs[] = { "app.exe", "--d3d12", "02" };
|
||||
static entry::WindowHandle g_defaultWindow = { 0 };
|
||||
static entry::EventQueue g_eventQueue;
|
||||
|
||||
@ -146,7 +146,7 @@ private:
|
||||
|
||||
static int32_t MainThreadFunc(bx::Thread*, void*)
|
||||
{
|
||||
return entry::main(0, g_emptyArgs);
|
||||
return entry::main(BX_COUNTOF(g_emptyArgs), g_emptyArgs);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -34,7 +34,6 @@
|
||||
|| BX_PLATFORM_IOS \
|
||||
|| BX_PLATFORM_LINUX \
|
||||
|| BX_PLATFORM_OSX \
|
||||
|| BX_PLATFORM_QNX \
|
||||
|| BX_PLATFORM_RPI \
|
||||
|| BX_PLATFORM_STEAMLINK \
|
||||
|| BX_PLATFORM_WINDOWS \
|
||||
|
@ -127,7 +127,7 @@ function bgfxProjectBase(_kind, _defines)
|
||||
"GLESv2",
|
||||
}
|
||||
|
||||
configuration { "winphone* or winstore*" }
|
||||
configuration { "winstore*" }
|
||||
linkoptions {
|
||||
"/ignore:4264" -- LNK4264: archiving object file compiled with /ZW into a static library; note that when authoring Windows Runtime types it is not recommended to link with a static library that contains Windows Runtime metadata
|
||||
}
|
||||
|
@ -90,7 +90,7 @@ project ("example-common")
|
||||
path.join(BGFX_DIR, "examples/common/**.mm"),
|
||||
}
|
||||
|
||||
configuration { "winphone* or winstore* or durango"}
|
||||
configuration { "winstore* or durango"}
|
||||
files {
|
||||
path.join(BGFX_DIR, "examples/common/**.cx"),
|
||||
}
|
||||
|
@ -232,7 +232,7 @@ function exampleProjectDefaults()
|
||||
"kernelx",
|
||||
}
|
||||
|
||||
configuration { "winphone* or winstore*" }
|
||||
configuration { "winstore*" }
|
||||
removelinks {
|
||||
"DelayImp",
|
||||
"gdi32",
|
||||
@ -248,15 +248,15 @@ function exampleProjectDefaults()
|
||||
}
|
||||
|
||||
-- WinRT targets need their own output directories or build files stomp over each other
|
||||
configuration { "x32", "winphone* or winstore*" }
|
||||
configuration { "x32", "winstore*" }
|
||||
targetdir (path.join(BGFX_BUILD_DIR, "win32_" .. _ACTION, "bin", _name))
|
||||
objdir (path.join(BGFX_BUILD_DIR, "win32_" .. _ACTION, "obj", _name))
|
||||
|
||||
configuration { "x64", "winphone* or winstore*" }
|
||||
configuration { "x64", "winstore*" }
|
||||
targetdir (path.join(BGFX_BUILD_DIR, "win64_" .. _ACTION, "bin", _name))
|
||||
objdir (path.join(BGFX_BUILD_DIR, "win64_" .. _ACTION, "obj", _name))
|
||||
|
||||
configuration { "ARM", "winphone* or winstore*" }
|
||||
configuration { "ARM", "winstore*" }
|
||||
targetdir (path.join(BGFX_BUILD_DIR, "arm_" .. _ACTION, "bin", _name))
|
||||
objdir (path.join(BGFX_BUILD_DIR, "arm_" .. _ACTION, "obj", _name))
|
||||
|
||||
|
@ -132,7 +132,7 @@ project ("texturev")
|
||||
"psapi",
|
||||
}
|
||||
|
||||
configuration { "winphone* or winstore*" }
|
||||
configuration { "winstore*" }
|
||||
removelinks {
|
||||
"DelayImp",
|
||||
"gdi32",
|
||||
|
@ -64,7 +64,6 @@
|
||||
|| BX_PLATFORM_ANDROID \
|
||||
|| BX_PLATFORM_EMSCRIPTEN \
|
||||
|| BX_PLATFORM_IOS \
|
||||
|| BX_PLATFORM_QNX \
|
||||
|| BX_PLATFORM_RPI \
|
||||
|| BX_PLATFORM_STEAMLINK \
|
||||
|| BX_PLATFORM_NX \
|
||||
|
@ -12,7 +12,6 @@
|
||||
|| BX_PLATFORM_EMSCRIPTEN \
|
||||
|| BX_PLATFORM_LINUX \
|
||||
|| BX_PLATFORM_NX \
|
||||
|| BX_PLATFORM_QNX \
|
||||
|| BX_PLATFORM_RPI \
|
||||
|| BX_PLATFORM_STEAMLINK \
|
||||
|| BX_PLATFORM_WINDOWS \
|
||||
|
Loading…
x
Reference in New Issue
Block a user