bgfx/scripts/geometryc.lua

49 lines
940 B
Lua
Raw Normal View History

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 "geometryc"
2017-11-29 10:28:55 +03:00
uuid (os.uuid("geometryc"))
2013-02-22 09:13:56 +04:00
kind "ConsoleApp"
includedirs {
path.join(BX_DIR, "include"),
path.join(BGFX_DIR, "include"),
path.join(BGFX_DIR, "3rdparty"),
path.join(BGFX_DIR, "examples/common"),
2013-02-22 09:13:56 +04:00
}
files {
path.join(BGFX_DIR, "3rdparty/meshoptimizer/src/**.cpp"),
path.join(BGFX_DIR, "3rdparty/meshoptimizer/src/**.h"),
2020-03-29 06:06:03 +03:00
path.join(BGFX_DIR, "src/vertexlayout.**"),
path.join(BGFX_DIR, "tools/geometryc/**.cpp"),
path.join(BGFX_DIR, "tools/geometryc/**.h"),
path.join(BGFX_DIR, "examples/common/bounds.**"),
2013-02-22 09:13:56 +04:00
}
2013-04-29 01:08:59 +04:00
2017-01-09 02:55:14 +03:00
links {
"bx",
}
2016-04-30 21:08:56 +03:00
configuration { "mingw-*" }
targetextension ".exe"
2017-11-29 10:28:55 +03:00
links {
"psapi",
}
2016-04-30 21:08:56 +03:00
configuration { "osx*" }
2013-08-05 07:18:33 +04:00
links {
"Cocoa.framework",
}
2017-11-29 10:28:55 +03:00
configuration { "vs20*" }
2017-11-16 08:31:24 +03:00
links {
"psapi",
}
2016-04-30 21:08:56 +03:00
configuration {}
2013-04-29 01:08:59 +04:00
strip()