Added OVR SDK to GENie script.

This commit is contained in:
Branimir Karadžić
2014-10-19 21:29:27 -07:00
parent 42bee43686
commit 85cb1185b4
2 changed files with 42 additions and 1 deletions

View File

@@ -24,6 +24,15 @@ function bgfxProject(_name, _kind, _defines)
_defines,
}
if _OPTIONS["with-ovr"] then
defines {
"BGFX_CONFIG_USE_OVR=1",
}
includedirs {
"$(OVR_DIR)/LibOVR/Include",
}
end
configuration { "Debug" }
defines {
"BGFX_CONFIG_DEBUG=1",