mirror of
https://github.com/godotengine/godot.git
synced 2024-11-25 05:33:11 +00:00
parent
5444afae63
commit
969a35ae2b
@ -11,6 +11,7 @@ thirdparty_obj = []
|
|||||||
|
|
||||||
thirdparty_dir = "#thirdparty/libktx/"
|
thirdparty_dir = "#thirdparty/libktx/"
|
||||||
thirdparty_sources = [
|
thirdparty_sources = [
|
||||||
|
"lib/basis_transcode.cpp",
|
||||||
"lib/checkheader.c",
|
"lib/checkheader.c",
|
||||||
"lib/filestream.c",
|
"lib/filestream.c",
|
||||||
"lib/hashlist.c",
|
"lib/hashlist.c",
|
||||||
@ -32,10 +33,7 @@ env_ktx.Prepend(CPPPATH=[thirdparty_dir + "include"])
|
|||||||
env_ktx.Prepend(CPPPATH=[thirdparty_dir + "utils"])
|
env_ktx.Prepend(CPPPATH=[thirdparty_dir + "utils"])
|
||||||
env_ktx.Prepend(CPPPATH=[thirdparty_dir + "lib"])
|
env_ktx.Prepend(CPPPATH=[thirdparty_dir + "lib"])
|
||||||
env_ktx.Prepend(CPPPATH=[thirdparty_dir + "other_include"])
|
env_ktx.Prepend(CPPPATH=[thirdparty_dir + "other_include"])
|
||||||
|
env_ktx.Prepend(CPPPATH=["#thirdparty/basis_universal"])
|
||||||
if env["module_basis_universal_enabled"]:
|
|
||||||
thirdparty_sources += [thirdparty_dir + "lib/basis_transcode.cpp"]
|
|
||||||
env_ktx.Prepend(CPPPATH=["#thirdparty/basis_universal"])
|
|
||||||
|
|
||||||
if env["vulkan"]:
|
if env["vulkan"]:
|
||||||
env_ktx.Prepend(CPPPATH=["#thirdparty/vulkan/include"])
|
env_ktx.Prepend(CPPPATH=["#thirdparty/vulkan/include"])
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
def can_build(env, platform):
|
def can_build(env, platform):
|
||||||
|
env.module_add_dependencies("ktx", ["basis_universal"])
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
||||||
|
7
thirdparty/README.md
vendored
7
thirdparty/README.md
vendored
@ -310,12 +310,11 @@ Files extracted from upstream source:
|
|||||||
- `LICENSE.md`
|
- `LICENSE.md`
|
||||||
- `include/*`
|
- `include/*`
|
||||||
- `lib/dfdutils/{LICENSES/Apache-2.0.txt,KHR,*.c,*.h,*.inl}`
|
- `lib/dfdutils/{LICENSES/Apache-2.0.txt,KHR,*.c,*.h,*.inl}`
|
||||||
- `lib/{basis_sgd.h,basis_transcode.cpp,checkheader.c,filestream.*,formatsize.h,gl_format.h,hashlist.c,ktxint.h,memstream.*,swap.c,texture*,uthash.h,vk_format.h,vkformat_enum.h`
|
- `lib/{basis_sgd.h,basis_transcode.cpp,checkheader.c,filestream.*,formatsize.h,gl_format.h,hashlist.c,ktxint.h,memstream.*,swap.c,texture*,uthash.h,vk_format.h,vkformat_enum.h}`
|
||||||
- `utils/unused.h`
|
- `utils/unused.h`
|
||||||
- `other_include/KHR/*`
|
- `other_include/KHR/*`
|
||||||
- ifndef-protect NOMINMAX define in `lib/gl_format.h` (see godot.patch)
|
|
||||||
- remove `basisu/` prefix from `thirdparty/libktx/lib/basis_transcode.cpp` basisu includes (see godot.patch)
|
Some Godot-specific changes are applied via `godot.patch`.
|
||||||
- comment `VK_FORMAT_ASTC_*x*x*_UNORM_BLOCK_EXT` cases in `lib/dfdutils/vk2dfd.inl` (see godot.patch)
|
|
||||||
|
|
||||||
|
|
||||||
## libogg
|
## libogg
|
||||||
|
Loading…
Reference in New Issue
Block a user