mirror of
https://github.com/mamedev/mame.git
synced 2024-11-16 07:48:32 +01:00
44eb5ea3c6
This reverts commit 1c61ccfe84
.
39 lines
835 B
Lua
39 lines
835 B
Lua
--
|
|
-- Copyright 2010-2022 Branimir Karadzic. All rights reserved.
|
|
-- License: https://github.com/bkaradzic/bx#license-bsd-2-clause
|
|
--
|
|
|
|
project "bimg"
|
|
kind "StaticLib"
|
|
|
|
includedirs {
|
|
path.join(BIMG_DIR, "include"),
|
|
path.join(BIMG_DIR, "3rdparty/astc-encoder/include"),
|
|
path.join(BIMG_DIR, "3rdparty/tinyexr/deps/miniz"),
|
|
}
|
|
|
|
files {
|
|
path.join(BIMG_DIR, "include/**"),
|
|
path.join(BIMG_DIR, "src/image.*"),
|
|
path.join(BIMG_DIR, "src/image_gnf.cpp"),
|
|
|
|
path.join(BIMG_DIR, "3rdparty/astc-encoder/source/**.cpp"),
|
|
path.join(BIMG_DIR, "3rdparty/astc-encoder/source/**.h"),
|
|
|
|
path.join(BIMG_DIR, "3rdparty/tinyexr/deps/miniz/miniz.*"),
|
|
}
|
|
|
|
using_bx()
|
|
|
|
configuration {}
|
|
|
|
removeflags {
|
|
"FloatFast", -- astc-encoder doesn't work with it.
|
|
}
|
|
|
|
configuration { "linux-*" }
|
|
buildoptions {
|
|
"-fPIC",
|
|
}
|
|
|
|
configuration {}
|