mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-06-08 03:13:52 +00:00
Metal: Switched to metal-cpp. (#3624)
* Metal: Switched to metal-cpp. * Cleanup. * Remove more Obj-C code. * Add metal-cpp license. * Cleanup. * Reduce number of leak reports. * Reducing Obj-C code. * renderer_mtl.mm -> .cpp * Cleanup. * Cleanup.
This commit is contained in:
committed by
GitHub
parent
b28febb4a8
commit
608713739b
@@ -199,32 +199,7 @@ function bgfxProjectBase(_kind, _defines)
|
||||
path.join(BGFX_DIR, "src/topology.cpp"),
|
||||
path.join(BGFX_DIR, "src/vertexlayout.cpp"),
|
||||
}
|
||||
|
||||
configuration { "xcode* or osx* or ios*" }
|
||||
files {
|
||||
path.join(BGFX_DIR, "src/amalgamated.mm"),
|
||||
}
|
||||
|
||||
excludes {
|
||||
path.join(BGFX_DIR, "src/renderer_**.mm"),
|
||||
path.join(BGFX_DIR, "src/amalgamated.cpp"),
|
||||
}
|
||||
|
||||
configuration { "not (xcode* or osx* or ios*)" }
|
||||
excludes {
|
||||
path.join(BGFX_DIR, "src/**.mm"),
|
||||
}
|
||||
|
||||
configuration {}
|
||||
|
||||
else
|
||||
configuration { "xcode* or osx* or ios*" }
|
||||
files {
|
||||
path.join(BGFX_DIR, "src/renderer_**.mm"),
|
||||
}
|
||||
|
||||
configuration {}
|
||||
|
||||
excludes {
|
||||
path.join(BGFX_DIR, "src/amalgamated.**"),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user