2016-08-29 22:31:11 +02:00
|
|
|
--
|
2018-02-03 17:39:28 +01:00
|
|
|
-- Copyright 2010-2018 Branimir Karadzic. All rights reserved.
|
2016-08-29 22:31:11 +02:00
|
|
|
-- License: https://github.com/bkaradzic/bgfx#license-bsd-2-clause
|
|
|
|
--
|
|
|
|
|
|
|
|
project "geometryc"
|
2018-02-03 17:39:28 +01:00
|
|
|
uuid (os.uuid("geometryc"))
|
2016-08-29 22:31:11 +02: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"),
|
|
|
|
}
|
|
|
|
|
|
|
|
files {
|
|
|
|
path.join(BGFX_DIR, "3rdparty/forsyth-too/**.cpp"),
|
|
|
|
path.join(BGFX_DIR, "3rdparty/forsyth-too/**.h"),
|
|
|
|
path.join(BGFX_DIR, "3rdparty/ib-compress/**.cpp"),
|
|
|
|
path.join(BGFX_DIR, "3rdparty/ib-compress/**.h"),
|
|
|
|
path.join(BGFX_DIR, "src/vertexdecl.**"),
|
|
|
|
path.join(BGFX_DIR, "tools/geometryc/**.cpp"),
|
|
|
|
path.join(BGFX_DIR, "tools/geometryc/**.h"),
|
|
|
|
path.join(BGFX_DIR, "examples/common/bounds.**"),
|
|
|
|
}
|
|
|
|
|
2017-04-11 08:16:10 +02:00
|
|
|
links {
|
|
|
|
"bx",
|
|
|
|
}
|
|
|
|
|
2016-08-29 22:31:11 +02:00
|
|
|
configuration { "mingw-*" }
|
|
|
|
targetextension ".exe"
|
2018-02-03 17:39:28 +01:00
|
|
|
links {
|
|
|
|
"psapi",
|
|
|
|
}
|
2016-08-29 22:31:11 +02:00
|
|
|
|
|
|
|
configuration { "osx" }
|
|
|
|
links {
|
|
|
|
"Cocoa.framework",
|
|
|
|
}
|
|
|
|
|
2018-02-03 17:39:28 +01:00
|
|
|
configuration { "vs20*" }
|
|
|
|
links {
|
|
|
|
"psapi",
|
|
|
|
}
|
|
|
|
|
2016-08-29 22:31:11 +02:00
|
|
|
configuration {}
|
|
|
|
|
|
|
|
strip()
|