mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Cleanup.
This commit is contained in:
@@ -56,7 +56,7 @@ function bgfxProject(_name, _kind, _defines)
|
||||
BGFX_DIR .. "3rdparty/khronos",
|
||||
}
|
||||
|
||||
configuration { "x64", "vs* or mingw" }
|
||||
configuration { "x64", "vs* or mingw*" }
|
||||
defines {
|
||||
"_WIN32_WINNT=0x601",
|
||||
}
|
||||
|
||||
@@ -111,12 +111,17 @@ function exampleProject(_name)
|
||||
"/DELAYLOAD:\"libGLESv2.dll\"",
|
||||
}
|
||||
|
||||
configuration { "windows" }
|
||||
configuration { "vs20* or mingw*" }
|
||||
links {
|
||||
"gdi32",
|
||||
"psapi",
|
||||
}
|
||||
|
||||
configuration { "mingw*" }
|
||||
links {
|
||||
"dxguid",
|
||||
}
|
||||
|
||||
configuration { "mingw-clang" }
|
||||
kind "ConsoleApp"
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ project "shaderc"
|
||||
"/wd4996" -- warning C4996: 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _strdup.
|
||||
}
|
||||
|
||||
configuration { "mingw or linux or osx" }
|
||||
configuration { "mingw* or linux or osx" }
|
||||
buildoptions {
|
||||
"-fno-strict-aliasing" -- glsl-optimizer has bugs if strict aliasing is used.
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user