浏览代码

fix

/siyaoH-1.17-PlatformMessage
siyao 4 年前
当前提交
4a023179
共有 1 个文件被更改,包括 8 次插入7 次删除
  1. 15
      engine/Build.bee.cs

15
engine/Build.bee.cs


"-DNOMINMAX",
"-DSK_GAMMA_APPLY_TO_A8",
"-DSK_ALLOW_STATIC_GLOBAL_INITIALIZERS=1",
// TODO: fix this by update txt_lib build setting, reference: https://github.com/microsoft/vcpkg/issues/12123
// "-DGR_TEST_UTILS=1",
"-DSKIA_IMPLEMENTATION=1",
"-DSK_GL",

"-fvisibility-inlines-hidden",
}));
var basePath = skiaRoot + "/out/Debug";
var windowsSkiaBuild = skiaRoot + "/out/Debug";
np.Libraries.Add(IsWindows, c =>
{

new StaticLibrary(basePath+"/libEGL.dll.lib"),
new StaticLibrary(basePath+"/libGLESv2.dll.lib"),
new StaticLibrary(windowsSkiaBuild+"/libEGL.dll.lib"),
new StaticLibrary(windowsSkiaBuild+"/libGLESv2.dll.lib"),
new SystemLibrary("Opengl32.lib"),
new SystemLibrary("User32.lib"),

np.SupportFiles.Add(c => IsWindows(c), new [] {
new DeployableFile(basePath + "/libEGL.dll"),
new DeployableFile(basePath + "/libEGL.dll.pdb"),
new DeployableFile(basePath + "/libGLESv2.dll"),
new DeployableFile(basePath + "/libGLESv2.dll.pdb"),
new DeployableFile(windowsSkiaBuild + "/libEGL.dll"),
new DeployableFile(windowsSkiaBuild + "/libEGL.dll.pdb"),
new DeployableFile(windowsSkiaBuild + "/libGLESv2.dll"),
new DeployableFile(windowsSkiaBuild + "/libGLESv2.dll.pdb"),
}
);
np.Libraries.Add(IsMac, c => {

正在加载...
取消
保存