mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
OSX: Added separate osx-arm64 build configuration.
This commit is contained in:
@@ -141,7 +141,7 @@ project "spirv-opt"
|
||||
"/wd4706", -- warning C4706: assignment within conditional expression
|
||||
}
|
||||
|
||||
configuration { "mingw* or linux or osx" }
|
||||
configuration { "mingw* or linux* or osx*" }
|
||||
buildoptions {
|
||||
"-Wno-switch",
|
||||
}
|
||||
@@ -197,7 +197,7 @@ project "spirv-cross"
|
||||
"/wd4715", -- warning C4715: '': not all control paths return a value
|
||||
}
|
||||
|
||||
configuration { "mingw* or linux or osx" }
|
||||
configuration { "mingw* or linux* or osx*" }
|
||||
buildoptions {
|
||||
"-Wno-type-limits",
|
||||
}
|
||||
@@ -268,12 +268,17 @@ project "glslang"
|
||||
"/wd4838", -- warning C4838: conversion from 'spv::GroupOperation' to 'unsigned int' requires a narrowing conversion
|
||||
}
|
||||
|
||||
configuration { "mingw* or linux or osx" }
|
||||
configuration { "mingw* or linux*" }
|
||||
buildoptions {
|
||||
"-Wno-ignored-qualifiers",
|
||||
"-Wno-implicit-fallthrough",
|
||||
"-Wno-logical-op",
|
||||
"-Wno-maybe-uninitialized",
|
||||
}
|
||||
|
||||
configuration { "mingw* or linux* or osx*" }
|
||||
buildoptions {
|
||||
"-fno-strict-aliasing", -- glslang has bugs if strict aliasing is used.
|
||||
"-Wno-ignored-qualifiers",
|
||||
"-Wno-implicit-fallthrough",
|
||||
"-Wno-missing-field-initializers",
|
||||
"-Wno-reorder",
|
||||
"-Wno-return-type",
|
||||
@@ -287,7 +292,7 @@ project "glslang"
|
||||
"-Wno-unused-variable",
|
||||
}
|
||||
|
||||
configuration { "osx" }
|
||||
configuration { "osx*" }
|
||||
buildoptions {
|
||||
"-Wno-c++11-extensions",
|
||||
"-Wno-unused-const-variable",
|
||||
@@ -299,11 +304,6 @@ project "glslang"
|
||||
"-Wno-unused-but-set-variable",
|
||||
}
|
||||
|
||||
configuration { "mingw* or linux or osx" }
|
||||
buildoptions {
|
||||
"-fno-strict-aliasing", -- glslang has bugs if strict aliasing is used.
|
||||
}
|
||||
|
||||
configuration {}
|
||||
|
||||
project "glsl-optimizer"
|
||||
@@ -530,7 +530,7 @@ project "glsl-optimizer"
|
||||
"/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.
|
||||
|
||||
@@ -545,7 +545,7 @@ project "glsl-optimizer"
|
||||
"-Wshadow", -- glsl-optimizer is full of -Wshadow warnings ignore it.
|
||||
}
|
||||
|
||||
configuration { "osx" }
|
||||
configuration { "osx*" }
|
||||
buildoptions {
|
||||
"-Wno-deprecated-register",
|
||||
}
|
||||
@@ -641,7 +641,7 @@ project "shaderc"
|
||||
configuration { "mingw-*" }
|
||||
targetextension ".exe"
|
||||
|
||||
configuration { "osx" }
|
||||
configuration { "osx*" }
|
||||
links {
|
||||
"Cocoa.framework",
|
||||
}
|
||||
@@ -656,7 +656,7 @@ project "shaderc"
|
||||
"psapi",
|
||||
}
|
||||
|
||||
configuration { "osx or linux*" }
|
||||
configuration { "osx* or linux*" }
|
||||
links {
|
||||
"pthread",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user