mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2025-02-26 08:33:53 -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",
|
"$(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*" }
|
configuration { "xcode4 or osx or ios*" }
|
||||||
files {
|
files {
|
||||||
BGFX_DIR .. "src/**.mm",
|
BGFX_DIR .. "src/**.mm",
|
||||||
|
|
|
@ -31,3 +31,8 @@ project ("example-common")
|
||||||
includedirs {
|
includedirs {
|
||||||
BX_DIR .. "include/compat/osx",
|
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",
|
"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*" }
|
configuration { "mingw*" }
|
||||||
links {
|
links {
|
||||||
"dxguid",
|
"dxguid",
|
||||||
|
|
Loading…
Reference in a new issue