mirror of
https://github.com/bkaradzic/bimg.git
synced 2026-02-17 20:52:38 +01:00
Moved image code from bgfx into bimg library.
This commit is contained in:
61
scripts/bimg.lua
Normal file
61
scripts/bimg.lua
Normal file
@@ -0,0 +1,61 @@
|
||||
--
|
||||
-- Copyright 2010-2017 Branimir Karadzic. All rights reserved.
|
||||
-- License: https://github.com/bkaradzic/bx#license-bsd-2-clause
|
||||
--
|
||||
|
||||
project "bimg"
|
||||
kind "StaticLib"
|
||||
|
||||
includedirs {
|
||||
path.join(BX_DIR, "include"),
|
||||
path.join(BIMG_DIR, "include"),
|
||||
}
|
||||
|
||||
files {
|
||||
path.join(BIMG_DIR, "src/image.*"),
|
||||
}
|
||||
|
||||
project "bimg_decode"
|
||||
kind "StaticLib"
|
||||
|
||||
includedirs {
|
||||
path.join(BX_DIR, "include"),
|
||||
path.join(BIMG_DIR, "include"),
|
||||
path.join(BIMG_DIR, "3rdparty"),
|
||||
path.join(BIMG_DIR, "3rdparty/nvtt"),
|
||||
path.join(BIMG_DIR, "3rdparty/iqa/include"),
|
||||
}
|
||||
|
||||
files {
|
||||
path.join(BIMG_DIR, "src/image_decode.*"),
|
||||
}
|
||||
|
||||
project "bimg_encode"
|
||||
kind "StaticLib"
|
||||
|
||||
includedirs {
|
||||
path.join(BX_DIR, "include"),
|
||||
path.join(BIMG_DIR, "include"),
|
||||
path.join(BIMG_DIR, "3rdparty"),
|
||||
path.join(BIMG_DIR, "3rdparty/nvtt"),
|
||||
path.join(BIMG_DIR, "3rdparty/iqa/include"),
|
||||
}
|
||||
|
||||
files {
|
||||
path.join(BIMG_DIR, "src/image_encode.*"),
|
||||
path.join(BIMG_DIR, "3rdparty/libsquish/**.cpp"),
|
||||
path.join(BIMG_DIR, "3rdparty/libsquish/**.h"),
|
||||
path.join(BIMG_DIR, "3rdparty/edtaa3/**.cpp"),
|
||||
path.join(BIMG_DIR, "3rdparty/edtaa3/**.h"),
|
||||
path.join(BIMG_DIR, "3rdparty/etc1/**.cpp"),
|
||||
path.join(BIMG_DIR, "3rdparty/etc1/**.h"),
|
||||
path.join(BIMG_DIR, "3rdparty/etc2/**.cpp"),
|
||||
path.join(BIMG_DIR, "3rdparty/etc2/**.hpp"),
|
||||
path.join(BIMG_DIR, "3rdparty/nvtt/**.cpp"),
|
||||
path.join(BIMG_DIR, "3rdparty/nvtt/**.h"),
|
||||
path.join(BIMG_DIR, "3rdparty/pvrtc/**.cpp"),
|
||||
path.join(BIMG_DIR, "3rdparty/pvrtc/**.h"),
|
||||
path.join(BIMG_DIR, "3rdparty/tinyexr/**.h"),
|
||||
path.join(BIMG_DIR, "3rdparty/iqa/include/**.h"),
|
||||
path.join(BIMG_DIR, "3rdparty/iqa/source/**.c"),
|
||||
}
|
||||
Reference in New Issue
Block a user