2015-02-01 10:14:17 +01:00
|
|
|
--
|
2021-08-10 20:28:56 +02:00
|
|
|
-- Copyright 2010-2021 Branimir Karadzic. All rights reserved.
|
2016-01-04 19:00:51 +01:00
|
|
|
-- License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause
|
2015-02-01 10:14:17 +01:00
|
|
|
--
|
|
|
|
|
|
|
|
project "texturec"
|
2017-12-01 13:22:27 +01:00
|
|
|
uuid (os.uuid("texturec"))
|
2015-02-01 10:14:17 +01:00
|
|
|
kind "ConsoleApp"
|
|
|
|
|
|
|
|
includedirs {
|
2017-12-01 13:22:27 +01:00
|
|
|
path.join(BX_DIR, "include"),
|
|
|
|
path.join(BIMG_DIR, "include"),
|
2015-02-28 07:52:28 +01:00
|
|
|
path.join(BGFX_DIR, "include"),
|
2017-12-01 13:22:27 +01:00
|
|
|
path.join(BIMG_DIR, "3rdparty/iqa/include"),
|
2015-02-01 10:14:17 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
files {
|
2017-12-01 13:22:27 +01:00
|
|
|
path.join(BIMG_DIR, "tools/texturec/texturec.cpp"),
|
2015-02-01 10:14:17 +01:00
|
|
|
}
|
|
|
|
|
2017-02-05 13:56:35 +01:00
|
|
|
links {
|
2017-12-01 13:22:27 +01:00
|
|
|
"bimg_decode",
|
|
|
|
"bimg_encode",
|
|
|
|
"bimg",
|
2017-02-05 13:56:35 +01:00
|
|
|
"bx",
|
|
|
|
}
|
|
|
|
|
2016-05-03 12:20:29 +02:00
|
|
|
configuration { "mingw-*" }
|
|
|
|
targetextension ".exe"
|
2017-12-01 13:22:27 +01:00
|
|
|
links {
|
|
|
|
"psapi",
|
|
|
|
}
|
2015-02-01 10:14:17 +01:00
|
|
|
|
2021-08-10 20:28:56 +02:00
|
|
|
configuration { "osx*" }
|
2015-02-01 10:14:17 +01:00
|
|
|
links {
|
|
|
|
"Cocoa.framework",
|
|
|
|
}
|
2016-05-03 12:20:29 +02:00
|
|
|
|
2017-12-01 13:22:27 +01:00
|
|
|
configuration { "vs20*" }
|
2017-02-05 13:56:35 +01:00
|
|
|
links {
|
|
|
|
"psapi",
|
|
|
|
}
|
|
|
|
|
2016-05-03 12:20:29 +02:00
|
|
|
configuration {}
|