mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 10:35:43 -05:00
Script changes for building WinRT projects.
This commit is contained in:
parent
ace930ebd9
commit
f5fa39c1b1
3 changed files with 20 additions and 0 deletions
|
@ -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",
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue