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

34 lines
588 B
Lua

--
-- Copyright 2010-2024 Branimir Karadzic. All rights reserved.
-- License: https://github.com/bkaradzic/bx#license-bsd-2-clause
--
project "bimg_decode"
kind "StaticLib"
includedirs {
path.join(BIMG_DIR, "include"),
path.join(BIMG_DIR, "3rdparty"),
path.join(BIMG_DIR, "3rdparty/tinyexr/deps/miniz"),
}
files {
path.join(BIMG_DIR, "include/**"),
path.join(BIMG_DIR, "src/image_decode.*"),
}
if _OPTIONS["with-libheif"] then
defines {
"BIMG_DECODE_HEIF=1",
}
end
using_bx()
configuration { "linux-*" }
buildoptions {
"-fPIC",
}
configuration {}