mirror of https://github.com/bkaradzic/bgfx
Added option to build bimg with libheif.
This commit is contained in:
parent
b66f60cba0
commit
61c770b0f5
|
@ -50,6 +50,11 @@ newoption {
|
|||
description = "Enable building examples.",
|
||||
}
|
||||
|
||||
newoption {
|
||||
trigger = "with-libheif",
|
||||
description = "Enable building bimg with libheif HEIF and AVIF file format decoder.",
|
||||
}
|
||||
|
||||
newaction {
|
||||
trigger = "idl",
|
||||
description = "Generate bgfx interface source code",
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
--
|
||||
-- Copyright 2010-2024 Branimir Karadzic. All rights reserved.
|
||||
-- License: https://github.com/bkaradzic/bgfx/blob/master/LICENSE
|
||||
--
|
||||
|
||||
project ("geometryv")
|
||||
uuid (os.uuid("geometryv") )
|
||||
kind "ConsoleApp"
|
||||
|
|
|
@ -23,6 +23,14 @@ project "texturec"
|
|||
"bimg",
|
||||
}
|
||||
|
||||
if _OPTIONS["with-libheif"] then
|
||||
links {
|
||||
"heif",
|
||||
}
|
||||
|
||||
configuration {}
|
||||
end
|
||||
|
||||
using_bx()
|
||||
|
||||
configuration { "mingw-*" }
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
project ("texturev")
|
||||
--
|
||||
-- Copyright 2010-2024 Branimir Karadzic. All rights reserved.
|
||||
-- License: https://github.com/bkaradzic/bgfx/blob/master/LICENSE
|
||||
--
|
||||
|
||||
project "texturev"
|
||||
uuid (os.uuid("texturev") )
|
||||
kind "ConsoleApp"
|
||||
|
||||
|
@ -73,6 +78,14 @@ project ("texturev")
|
|||
configuration {}
|
||||
end
|
||||
|
||||
if _OPTIONS["with-libheif"] then
|
||||
links {
|
||||
"heif",
|
||||
}
|
||||
|
||||
configuration {}
|
||||
end
|
||||
|
||||
configuration { "vs*" }
|
||||
linkoptions {
|
||||
"/ignore:4199", -- LNK4199: /DELAYLOAD:*.dll ignored; no imports found from *.dll
|
||||
|
|
|
@ -76,9 +76,10 @@ static const char* s_supportedExt[] =
|
|||
"exr",
|
||||
"gif",
|
||||
"gnf",
|
||||
"jpg",
|
||||
"jpeg",
|
||||
"hdr",
|
||||
"heic",
|
||||
"jpeg",
|
||||
"jpg",
|
||||
"ktx",
|
||||
"pgm",
|
||||
"png",
|
||||
|
|
Loading…
Reference in New Issue