2012-04-03 23:30:07 -04:00
|
|
|
--
|
2012-09-16 20:36:08 -04:00
|
|
|
-- Copyright 2010-2012 Branimir Karadzic. All rights reserved.
|
2012-04-03 23:30:07 -04:00
|
|
|
-- License: http://www.opensource.org/licenses/BSD-2-Clause
|
|
|
|
--
|
|
|
|
|
|
|
|
solution "bgfx"
|
|
|
|
configurations {
|
|
|
|
"Debug",
|
|
|
|
"Release",
|
|
|
|
}
|
|
|
|
|
|
|
|
platforms {
|
|
|
|
"x32",
|
|
|
|
"x64",
|
|
|
|
"Xbox360",
|
|
|
|
}
|
|
|
|
|
|
|
|
language "C++"
|
|
|
|
|
2012-06-01 22:55:56 -04:00
|
|
|
BGFX_DIR = (path.getabsolute("..") .. "/")
|
|
|
|
local BGFX_BUILD_DIR = (BGFX_DIR .. ".build/")
|
|
|
|
local BGFX_THIRD_PARTY_DIR = (BGFX_DIR .. "3rdparty/")
|
2012-12-08 18:24:51 -05:00
|
|
|
BX_DIR = (BGFX_DIR .. "../bx/")
|
2012-09-16 20:36:08 -04:00
|
|
|
|
2012-12-09 01:24:16 -05:00
|
|
|
dofile (BX_DIR .. "premake/toolchain.lua")
|
|
|
|
toolchain(BGFX_BUILD_DIR, BGFX_THIRD_PARTY_DIR)
|
2012-04-03 23:30:07 -04:00
|
|
|
|
2012-06-02 00:56:20 -04:00
|
|
|
function copyLib()
|
|
|
|
end
|
|
|
|
|
2012-06-01 22:55:56 -04:00
|
|
|
dofile "bgfx.lua"
|
|
|
|
dofile "makedisttex.lua"
|
|
|
|
dofile "shaderc.lua"
|
2012-11-25 21:24:50 -05:00
|
|
|
dofile "texturec.lua"
|
2012-12-28 20:09:34 -05:00
|
|
|
dofile "geometryc.lua"
|
2012-09-16 20:36:08 -04:00
|
|
|
dofile "example-00-helloworld.lua"
|
|
|
|
dofile "example-01-cubes.lua"
|
|
|
|
dofile "example-02-metaballs.lua"
|
2012-10-07 23:41:18 -04:00
|
|
|
dofile "example-03-raymarch.lua"
|
|
|
|
dofile "example-04-mesh.lua"
|
2012-10-09 02:24:10 -04:00
|
|
|
dofile "example-05-instancing.lua"
|
2012-10-28 00:34:41 -04:00
|
|
|
dofile "example-06-bump.lua"
|
2012-12-30 23:52:47 -05:00
|
|
|
dofile "example-07-callback.lua"
|
2013-01-06 20:53:45 -05:00
|
|
|
dofile "example-08-update.lua"
|