Fixup 360 support
This commit is contained in:
@@ -60,6 +60,15 @@ project("xenia-app")
|
||||
project_root,
|
||||
})
|
||||
|
||||
filter("platforms:Linux")
|
||||
links({
|
||||
"X11",
|
||||
"xcb",
|
||||
"X11-xcb",
|
||||
"GL",
|
||||
"vulkan",
|
||||
})
|
||||
|
||||
filter("platforms:Windows")
|
||||
links({
|
||||
"xenia-apu-xaudio2",
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
// NOTE: if you're including this file it means you are explicitly depending
|
||||
// on Linux headers. Including this file outside of linux platform specific
|
||||
// source code will break portability
|
||||
#include <cstddef>
|
||||
|
||||
#include "xenia/base/platform.h"
|
||||
|
||||
|
||||
@@ -189,7 +189,7 @@ class TestRunner {
|
||||
|
||||
~TestRunner() {
|
||||
memory::DeallocFixed(memory_, memory_size_,
|
||||
memory::DeallocationType::kDecommitRelease);
|
||||
memory::DeallocationType::kRelease);
|
||||
|
||||
memory::AlignedFree(context_);
|
||||
}
|
||||
|
||||
@@ -68,6 +68,15 @@ project("xenia-gpu-gl4-trace-viewer")
|
||||
"../../base/main_"..platform_suffix..".cc",
|
||||
})
|
||||
|
||||
filter("platforms:Linux")
|
||||
links({
|
||||
"X11",
|
||||
"xcb",
|
||||
"X11-xcb",
|
||||
"GL",
|
||||
"vulkan",
|
||||
})
|
||||
|
||||
filter("platforms:Windows")
|
||||
links({
|
||||
"xenia-apu-xaudio2",
|
||||
|
||||
@@ -71,6 +71,15 @@ project("xenia-gpu-vulkan-trace-viewer")
|
||||
"../../base/main_"..platform_suffix..".cc",
|
||||
})
|
||||
|
||||
filter("platforms:Linux")
|
||||
links({
|
||||
"X11",
|
||||
"xcb",
|
||||
"X11-xcb",
|
||||
"GL",
|
||||
"vulkan",
|
||||
})
|
||||
|
||||
filter("platforms:Windows")
|
||||
links({
|
||||
"xenia-apu-xaudio2",
|
||||
@@ -131,6 +140,15 @@ project("xenia-gpu-vulkan-trace-dump")
|
||||
"../../base/main_"..platform_suffix..".cc",
|
||||
})
|
||||
|
||||
filter("platforms:Linux")
|
||||
links({
|
||||
"X11",
|
||||
"xcb",
|
||||
"X11-xcb",
|
||||
"GL",
|
||||
"vulkan",
|
||||
})
|
||||
|
||||
filter("platforms:Windows")
|
||||
-- Only create the .user file if it doesn't already exist.
|
||||
local user_file = project_root.."/build/xenia-gpu-vulkan-trace-dump.vcxproj.user"
|
||||
|
||||
Reference in New Issue
Block a user