2013-05-17 19:39:08 -07:00
|
|
|
--
|
2019-01-13 17:13:25 -08:00
|
|
|
-- Copyright 2010-2019 Branimir Karadzic. All rights reserved.
|
2016-01-01 00:11:04 -08:00
|
|
|
-- License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause
|
2013-05-17 19:39:08 -07:00
|
|
|
--
|
|
|
|
|
2013-02-21 21:13:56 -08:00
|
|
|
project "texturec"
|
2017-11-28 23:28:55 -08:00
|
|
|
uuid (os.uuid("texturec"))
|
2013-02-21 21:13:56 -08:00
|
|
|
kind "ConsoleApp"
|
|
|
|
|
|
|
|
includedirs {
|
2017-04-03 22:42:27 -07:00
|
|
|
path.join(BX_DIR, "include"),
|
|
|
|
path.join(BIMG_DIR, "include"),
|
2015-02-27 15:44:24 -08:00
|
|
|
path.join(BGFX_DIR, "include"),
|
2017-04-03 22:42:27 -07:00
|
|
|
path.join(BIMG_DIR, "3rdparty/iqa/include"),
|
2013-02-21 21:13:56 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
files {
|
2017-05-09 20:07:41 -07:00
|
|
|
path.join(BIMG_DIR, "tools/texturec/texturec.cpp"),
|
2013-02-21 21:13:56 -08:00
|
|
|
}
|
|
|
|
|
2017-01-08 15:55:14 -08:00
|
|
|
links {
|
2017-04-03 22:42:27 -07:00
|
|
|
"bimg_decode",
|
|
|
|
"bimg_encode",
|
|
|
|
"bimg",
|
2017-01-08 15:55:14 -08:00
|
|
|
"bx",
|
|
|
|
}
|
|
|
|
|
2016-04-30 11:08:56 -07:00
|
|
|
configuration { "mingw-*" }
|
|
|
|
targetextension ".exe"
|
2017-11-28 23:28:55 -08:00
|
|
|
links {
|
|
|
|
"psapi",
|
|
|
|
}
|
2013-08-04 20:18:33 -07:00
|
|
|
|
|
|
|
configuration { "osx" }
|
|
|
|
links {
|
|
|
|
"Cocoa.framework",
|
|
|
|
}
|
2016-04-30 11:08:56 -07:00
|
|
|
|
2017-11-28 23:28:55 -08:00
|
|
|
configuration { "vs20*" }
|
2017-01-08 18:20:00 -08:00
|
|
|
links {
|
|
|
|
"psapi",
|
|
|
|
}
|
|
|
|
|
2016-04-30 11:08:56 -07:00
|
|
|
configuration {}
|