This commit is contained in:
Branimir Karadžić 2015-03-09 10:58:18 -07:00
parent bd9cd80cc0
commit c38af286b4

View file

@ -46,6 +46,14 @@ function bgfxProject(_name, _kind, _defines)
} }
end end
if (_OPTIONS["vs"] == "vs2012-xp")
or (_OPTIONS["vs"] == "vs2013-xp") then
configuration { "vs201*" }
includedirs {
"$(DXSDK_DIR)/include",
}
end
configuration { "Debug" } configuration { "Debug" }
defines { defines {
"BGFX_CONFIG_DEBUG=1", "BGFX_CONFIG_DEBUG=1",
@ -62,13 +70,6 @@ function bgfxProject(_name, _kind, _defines)
"$(DXSDK_DIR)/include", "$(DXSDK_DIR)/include",
} }
if (_OPTIONS["vs"] == "vs2012-xp") or (_OPTIONS["vs"] == "vs2013-xp") then
configuration { "vs201*" }
includedirs {
"$(DXSDK_DIR)/include",
}
end
configuration { "winphone8*"} configuration { "winphone8*"}
linkoptions { linkoptions {
"/ignore:4264" -- LNK4264: archiving object file compiled with /ZW into a static library; note that when authoring Windows Runtime types it is not recommended to link with a static library that contains Windows Runtime metadata "/ignore:4264" -- LNK4264: archiving object file compiled with /ZW into a static library; note that when authoring Windows Runtime types it is not recommended to link with a static library that contains Windows Runtime metadata