bgfx/premake/bgfx.lua

52 lines
812 B
Lua
Raw Normal View History

2012-06-01 22:55:56 -04:00
project "bgfx"
uuid "2dc7fd80-ed76-11e0-be50-0800200c9a66"
kind "StaticLib"
includedirs {
2012-06-27 23:49:45 -04:00
BGFX_DIR .. "../tinystl/include",
2012-06-01 22:55:56 -04:00
BGFX_DIR .. "../bx/include",
}
2012-06-02 15:44:37 -04:00
buildoptions {
2012-06-02 21:57:44 -04:00
-- "-Wall",
2012-06-02 15:44:37 -04:00
}
2012-06-01 22:55:56 -04:00
2012-06-02 15:44:37 -04:00
defines {
-- "BGFX_CONFIG_RENDERER_OPENGL=1",
}
2012-06-01 22:55:56 -04:00
configuration "Debug"
defines {
"BGFX_CONFIG_DEBUG=1",
}
configuration { "windows" }
includedirs {
"$(DXSDK_DIR)/include",
}
configuration { "not nacl" }
includedirs {
--nacl has GLES2 headers modified...
BGFX_DIR .. "3rdparty/glext",
}
2012-06-01 22:55:56 -04:00
configuration {}
includedirs {
BGFX_DIR .. "include",
}
files {
BGFX_DIR .. "include/**.h",
BGFX_DIR .. "src/**.cpp",
BGFX_DIR .. "src/**.h",
BGFX_DIR .. "src/**.mm",
2012-06-01 22:55:56 -04:00
}
excludes {
BGFX_DIR .. "src/**.bin.h",
}
2012-12-08 18:24:51 -05:00
copyLib()