From a6397f94b72fd7e149fc7d4d9d49ced318ef9587 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Mon, 25 Apr 2016 19:17:42 -0700 Subject: [PATCH] Renamed CX specific file to use .cx extension. --- examples/common/entry/{entry_winrt.cpp => entry_winrt.cx} | 0 scripts/example-common.lua | 8 ++++++-- 2 files changed, 6 insertions(+), 2 deletions(-) rename examples/common/entry/{entry_winrt.cpp => entry_winrt.cx} (100%) diff --git a/examples/common/entry/entry_winrt.cpp b/examples/common/entry/entry_winrt.cx similarity index 100% rename from examples/common/entry/entry_winrt.cpp rename to examples/common/entry/entry_winrt.cx diff --git a/scripts/example-common.lua b/scripts/example-common.lua index fcaca364f..078877fea 100644 --- a/scripts/example-common.lua +++ b/scripts/example-common.lua @@ -19,6 +19,7 @@ project ("example-common") path.join(BGFX_DIR, "3rdparty/ocornut-imgui/**.cpp"), path.join(BGFX_DIR, "3rdparty/ocornut-imgui/**.h"), path.join(BGFX_DIR, "examples/common/**.cpp"), + path.join(BGFX_DIR, "examples/common/**.cpp"), path.join(BGFX_DIR, "examples/common/**.h"), } @@ -60,7 +61,7 @@ project ("example-common") "ENTRY_CONFIG_USE_GLFW=1", } end - + configuration { "linux-steamlink" } defines { "EGL_API_FB", @@ -71,7 +72,10 @@ project ("example-common") path.join(BGFX_DIR, "examples/common/**.mm"), } - configuration { "winphone8* or winstore8*"} + configuration { "winphone8* or winstore8* or durango"} + files { + path.join(BGFX_DIR, "examples/common/**.cx"), + } 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 }