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
|
|
|
BGFX_DIR .. "3rdparty/glext",
|
2012-06-01 22:55:56 -04:00
|
|
|
}
|
|
|
|
|
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",
|
|
|
|
}
|
|
|
|
|
2012-07-25 23:37:47 -04:00
|
|
|
configuration { "windows" }
|
|
|
|
includedirs {
|
|
|
|
"$(DXSDK_DIR)/include",
|
|
|
|
}
|
|
|
|
|
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",
|
|
|
|
}
|
|
|
|
|
2012-07-25 23:37:47 -04:00
|
|
|
excludes {
|
|
|
|
BGFX_DIR .. "src/**.bin.h",
|
|
|
|
}
|
|
|
|
|
2012-06-01 22:55:56 -04:00
|
|
|
-- copyLib()
|