47 lines
932 B
Lua
47 lines
932 B
Lua
--
|
|
-- Copyright 2010-2022 Branimir Karadzic. All rights reserved.
|
|
-- License: https://github.com/bkaradzic/bgfx/blob/master/LICENSE
|
|
--
|
|
|
|
project "geometryc"
|
|
uuid (os.uuid("geometryc"))
|
|
kind "ConsoleApp"
|
|
|
|
includedirs {
|
|
path.join(BX_DIR, "include"),
|
|
path.join(BGFX_DIR, "include"),
|
|
path.join(BGFX_DIR, "3rdparty"),
|
|
path.join(BGFX_DIR, "examples/common"),
|
|
}
|
|
|
|
files {
|
|
path.join(BGFX_DIR, "3rdparty/meshoptimizer/src/**.cpp"),
|
|
path.join(BGFX_DIR, "3rdparty/meshoptimizer/src/**.h"),
|
|
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.**"),
|
|
}
|
|
|
|
using_bx();
|
|
|
|
configuration { "mingw-*" }
|
|
targetextension ".exe"
|
|
links {
|
|
"psapi",
|
|
}
|
|
|
|
configuration { "osx*" }
|
|
links {
|
|
"Cocoa.framework",
|
|
}
|
|
|
|
configuration { "vs20*" }
|
|
links {
|
|
"psapi",
|
|
}
|
|
|
|
configuration {}
|
|
|
|
strip()
|