bgfx/scripts/geometryc.lua

47 lines
932 B
Lua
Raw Permalink Normal View History

2013-05-18 06:39:08 +04:00
--
2024-01-14 12:56:36 +03:00
-- Copyright 2010-2024 Branimir Karadzic. All rights reserved.
2022-01-15 22:59:06 +03:00
-- License: https://github.com/bkaradzic/bgfx/blob/master/LICENSE
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
using_bx();
2017-01-09 02:55:14 +03:00
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()