Script changes for building WinRT projects.

This commit is contained in:
Mike Popoloski 2014-11-09 18:24:22 -05:00
parent ace930ebd9
commit f5fa39c1b1
3 changed files with 20 additions and 0 deletions

View file

@ -49,6 +49,11 @@ function bgfxProject(_name, _kind, _defines)
"$(DXSDK_DIR)/include",
}
configuration { "winphone8*"}
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
}
configuration { "xcode4 or osx or ios*" }
files {
BGFX_DIR .. "src/**.mm",

View file

@ -31,3 +31,8 @@ project ("example-common")
includedirs {
BX_DIR .. "include/compat/osx",
}
configuration { "winphone8*"}
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
}

View file

@ -149,6 +149,16 @@ function exampleProject(_name)
"psapi",
}
configuration { "winphone8*"}
removelinks {
"DelayImp",
"gdi32",
"psapi"
}
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
}
configuration { "mingw*" }
links {
"dxguid",