bdd112289b
Using path.join instead of string concatenation makes the scripts more OS-neutral. It also protects against missing or doubled "/" characters in paths.
30 lines
560 B
Lua
30 lines
560 B
Lua
--
|
|
-- Copyright 2010-2015 Branimir Karadzic. All rights reserved.
|
|
-- License: http://www.opensource.org/licenses/BSD-2-Clause
|
|
--
|
|
|
|
project "texturec"
|
|
uuid "838801ee-7bc3-11e1-9f19-eae7d36e7d26"
|
|
kind "ConsoleApp"
|
|
|
|
includedirs {
|
|
path.join(BX_DIR, "include"),
|
|
path.join(BGFX_DIR, "include"),
|
|
path.join(BGFX_DIR, "src"),
|
|
}
|
|
|
|
files {
|
|
path.join(BGFX_DIR, "src/image.*"),
|
|
path.join(BGFX_DIR, "tools/texturec/**.cpp"),
|
|
path.join(BGFX_DIR, "tools/texturec/**.h"),
|
|
}
|
|
|
|
links {
|
|
-- "bgfx",
|
|
}
|
|
|
|
configuration { "osx" }
|
|
links {
|
|
"Cocoa.framework",
|
|
}
|