Fix premake for xenia-hid-demo and xenia-ui-window-vulkan-demo.

This commit is contained in:
gibbed 2018-06-08 09:52:35 -05:00
parent 40e8d78d16
commit fb9eb84893
2 changed files with 10 additions and 23 deletions

View File

@ -33,16 +33,6 @@ project("xenia-hid-demo")
"xenia-ui",
"xenia-ui-vulkan",
})
filter("platforms:Linux")
links({
"X11",
"xcb",
"X11-xcb",
"GL",
"vulkan",
})
filter()
flags({
"WinMain", -- Use WinMain instead of main.
})
@ -55,14 +45,21 @@ project("xenia-hid-demo")
})
files({
"hid_demo.cc",
project_root.."/src/xenia/base/main_"..platform_suffix..".cc",
})
files({
"../base/main_"..platform_suffix..".cc",
})
resincludedirs({
project_root,
})
filter("platforms:Linux")
links({
"X11",
"xcb",
"X11-xcb",
"GL",
"vulkan",
})
filter("platforms:Windows")
links({
"xenia-hid-winkey",

View File

@ -37,16 +37,6 @@ project("xenia-ui-window-vulkan-demo")
"xenia-ui-spirv",
"xenia-ui-vulkan",
})
filter("platforms:Linux")
links({
"X11",
"xcb",
"X11-xcb",
"GL",
"vulkan",
})
filter()
flags({
"WinMain", -- Use WinMain instead of main.
})