2016-08-29 22:31:11 +02:00
|
|
|
--
|
2017-04-11 08:16:10 +02:00
|
|
|
-- Copyright 2010-2017 Branimir Karadzic. All rights reserved.
|
2016-08-29 22:31:11 +02:00
|
|
|
-- License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause
|
|
|
|
--
|
|
|
|
|
|
|
|
project "texturec"
|
|
|
|
uuid "838801ee-7bc3-11e1-9f19-eae7d36e7d26"
|
|
|
|
kind "ConsoleApp"
|
|
|
|
|
|
|
|
includedirs {
|
2017-04-11 09:15:27 +02:00
|
|
|
path.join(BX_DIR, "include"),
|
|
|
|
path.join(BIMG_DIR, "include"),
|
2016-08-29 22:31:11 +02:00
|
|
|
path.join(BGFX_DIR, "include"),
|
2017-04-11 09:15:27 +02:00
|
|
|
path.join(BIMG_DIR, "3rdparty/iqa/include"),
|
2016-08-29 22:31:11 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
files {
|
2017-04-11 09:15:27 +02:00
|
|
|
path.join(BGFX_DIR, "tools/texturec/texturec.cpp"),
|
2016-08-29 22:31:11 +02:00
|
|
|
}
|
|
|
|
|
2017-04-11 08:16:10 +02:00
|
|
|
links {
|
2017-04-11 09:15:27 +02:00
|
|
|
"bimg_decode",
|
|
|
|
"bimg_encode",
|
|
|
|
"bimg",
|
2017-04-11 08:16:10 +02:00
|
|
|
"bx",
|
|
|
|
}
|
|
|
|
|
2016-08-29 22:31:11 +02:00
|
|
|
configuration { "mingw-*" }
|
|
|
|
targetextension ".exe"
|
|
|
|
|
|
|
|
configuration { "osx" }
|
|
|
|
links {
|
|
|
|
"Cocoa.framework",
|
|
|
|
}
|
|
|
|
|
2017-04-11 08:16:10 +02:00
|
|
|
configuration { "vs20* or mingw*" }
|
|
|
|
links {
|
|
|
|
"psapi",
|
|
|
|
}
|
|
|
|
|
2016-08-29 22:31:11 +02:00
|
|
|
configuration {}
|