bgfx/scripts/texturec.lua

42 lines
720 B
Lua

--
-- Copyright 2010-2017 Branimir Karadzic. All rights reserved.
-- License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause
--
project "texturec"
uuid "838801ee-7bc3-11e1-9f19-eae7d36e7d26"
kind "ConsoleApp"
includedirs {
path.join(BX_DIR, "include"),
path.join(BIMG_DIR, "include"),
path.join(BGFX_DIR, "include"),
path.join(BIMG_DIR, "3rdparty/iqa/include"),
}
files {
path.join(BIMG_DIR, "tools/texturec/texturec.cpp"),
}
links {
"bimg_decode",
"bimg_encode",
"bimg",
"bx",
}
configuration { "mingw-*" }
targetextension ".exe"
configuration { "osx" }
links {
"Cocoa.framework",
}
configuration { "vs20* or mingw*" }
links {
"psapi",
}
configuration {}