Added common library.
This commit is contained in:
parent
4f9171e8f0
commit
721f1c5dbb
5
premake/bgfx.lua
Executable file → Normal file
5
premake/bgfx.lua
Executable file → Normal file
@ -1,3 +1,8 @@
|
||||
--
|
||||
-- Copyright 2010-2013 Branimir Karadzic. All rights reserved.
|
||||
-- License: http://www.opensource.org/licenses/BSD-2-Clause
|
||||
--
|
||||
|
||||
project "bgfx"
|
||||
uuid "2dc7fd80-ed76-11e0-be50-0800200c9a66"
|
||||
kind "StaticLib"
|
||||
|
19
premake/common.lua
Normal file
19
premake/common.lua
Normal file
@ -0,0 +1,19 @@
|
||||
--
|
||||
-- Copyright 2010-2013 Branimir Karadzic. All rights reserved.
|
||||
-- License: http://www.opensource.org/licenses/BSD-2-Clause
|
||||
--
|
||||
|
||||
project ("common")
|
||||
uuid ("21cc0e26-bf62-11e2-a01e-0291bd4c8125")
|
||||
kind "StaticLib"
|
||||
|
||||
includedirs {
|
||||
BX_DIR .. "include",
|
||||
BGFX_DIR .. "include",
|
||||
BGFX_DIR .. "3rdparty",
|
||||
}
|
||||
|
||||
files {
|
||||
BGFX_DIR .. "examples/common/**.cpp",
|
||||
BGFX_DIR .. "examples/common/**.h",
|
||||
}
|
@ -1,3 +1,8 @@
|
||||
--
|
||||
-- Copyright 2010-2013 Branimir Karadzic. All rights reserved.
|
||||
-- License: http://www.opensource.org/licenses/BSD-2-Clause
|
||||
--
|
||||
|
||||
project "geometryc"
|
||||
uuid "8794dc3a-2d57-11e2-ba18-368d09e48fda"
|
||||
kind "ConsoleApp"
|
||||
|
@ -1,3 +1,8 @@
|
||||
--
|
||||
-- Copyright 2010-2013 Branimir Karadzic. All rights reserved.
|
||||
-- License: http://www.opensource.org/licenses/BSD-2-Clause
|
||||
--
|
||||
|
||||
project "makedisttex"
|
||||
uuid "b0561b30-91bb-11e1-b06e-023ad46e7d26"
|
||||
kind "ConsoleApp"
|
||||
|
@ -50,14 +50,13 @@ function exampleProject(_name, _uuid)
|
||||
}
|
||||
|
||||
files {
|
||||
BGFX_DIR .. "examples/common/**.cpp",
|
||||
BGFX_DIR .. "examples/common/**.h",
|
||||
BGFX_DIR .. "examples/" .. _name .. "/**.cpp",
|
||||
BGFX_DIR .. "examples/" .. _name .. "/**.h",
|
||||
}
|
||||
|
||||
links {
|
||||
"bgfx",
|
||||
"common",
|
||||
}
|
||||
|
||||
configuration { "android*" }
|
||||
@ -108,6 +107,7 @@ function exampleProject(_name, _uuid)
|
||||
end
|
||||
|
||||
dofile "bgfx.lua"
|
||||
dofile "common.lua"
|
||||
exampleProject("00-helloworld", "ff2c8450-ebf4-11e0-9572-0800200c9a66")
|
||||
exampleProject("01-cubes", "fec3bc94-e1e5-11e1-9c59-c7eeec2c1c51")
|
||||
exampleProject("02-metaballs", "413b2cb4-f7db-11e1-bf5f-a716de6a022f")
|
||||
|
@ -1,3 +1,8 @@
|
||||
--
|
||||
-- Copyright 2010-2013 Branimir Karadzic. All rights reserved.
|
||||
-- License: http://www.opensource.org/licenses/BSD-2-Clause
|
||||
--
|
||||
|
||||
project "shaderc"
|
||||
uuid "f3cd2e90-52a4-11e1-b86c-0800200c9a66"
|
||||
kind "ConsoleApp"
|
||||
|
@ -1,3 +1,8 @@
|
||||
--
|
||||
-- Copyright 2010-2013 Branimir Karadzic. All rights reserved.
|
||||
-- License: http://www.opensource.org/licenses/BSD-2-Clause
|
||||
--
|
||||
|
||||
project "texturec"
|
||||
uuid "838801ee-7bc3-11e1-9f19-eae7d36e7d26"
|
||||
kind "ConsoleApp"
|
||||
|
Loading…
Reference in New Issue
Block a user