From b3303c3a32b94b61f82e739d8d494752047f11c1 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sun, 1 Feb 2015 10:14:17 +0100 Subject: Added BGFX latest code to 3rdparty (nw) --- 3rdparty/bgfx/scripts/example-common.lua | 43 ++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 3rdparty/bgfx/scripts/example-common.lua (limited to '3rdparty/bgfx/scripts/example-common.lua') diff --git a/3rdparty/bgfx/scripts/example-common.lua b/3rdparty/bgfx/scripts/example-common.lua new file mode 100644 index 00000000000..2626d18298c --- /dev/null +++ b/3rdparty/bgfx/scripts/example-common.lua @@ -0,0 +1,43 @@ +-- +-- Copyright 2010-2015 Branimir Karadzic. All rights reserved. +-- License: http://www.opensource.org/licenses/BSD-2-Clause +-- + +project ("example-common") + uuid ("21cc0e26-bf62-11e2-a01e-0291bd4c8125") + kind "StaticLib" + + includedirs { + BX_DIR .. "include", + BGFX_DIR .. "include", + BGFX_DIR .. "3rdparty", + } + + files { + BGFX_DIR .. "3rdparty/ib-compress/**.cpp", + BGFX_DIR .. "3rdparty/ib-compress/**.h", + BGFX_DIR .. "3rdparty/ocornut-imgui/**.cpp", + BGFX_DIR .. "3rdparty/ocornut-imgui/**.h", + BGFX_DIR .. "examples/common/**.cpp", + BGFX_DIR .. "examples/common/**.h", + } + + if _OPTIONS["with-sdl"] then + defines { + "ENTRY_CONFIG_USE_SDL=1", + } + includedirs { + "$(SDL2_DIR)/include", + } + end + + configuration { "mingw* or vs2008" } + includedirs { + "$(DXSDK_DIR)/include", + } + + + configuration { "winphone8*"} + 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 + } -- cgit v1.2.3-70-g09d2