mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-12-01 11:56:58 -05:00
Merge pull request #279 from mmicko/master
Added support for building on VS2012/13 targeting XP
This commit is contained in:
commit
e43e7e0cb5
2 changed files with 13 additions and 1 deletions
|
@ -62,6 +62,13 @@ 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
|
||||||
|
|
|
@ -35,7 +35,12 @@ project ("example-common")
|
||||||
includedirs {
|
includedirs {
|
||||||
"$(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 {
|
||||||
|
|
Loading…
Reference in a new issue