Files
bimg/scripts/texturec.lua
Бранимир Караџић c4268ed766 Added option to build with libheif.
2024-06-11 17:58:39 -07:00

48 lines
690 B
Lua

--
-- Copyright 2010-2024 Branimir Karadzic. All rights reserved.
-- License: https://github.com/bkaradzic/bimg/blob/master/LICENSE
--
project "texturec"
kind "ConsoleApp"
includedirs {
path.join(BIMG_DIR, "include"),
}
files {
path.join(BIMG_DIR, "tools/texturec/**.cpp"),
path.join(BIMG_DIR, "tools/texturec/**.h"),
}
links {
"bimg_decode",
"bimg_encode",
"bimg",
}
if _OPTIONS["with-libheif"] then
links {
"heif",
}
configuration {}
end
using_bx()
configuration { "mingw-*" }
targetextension ".exe"
configuration { "osx*" }
links {
"Cocoa.framework",
}
configuration { "vs20* or mingw*" }
links {
"psapi",
}
configuration {}