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