Fix premake for xenia-hid-demo and xenia-ui-window-vulkan-demo.
This commit is contained in:
parent
40e8d78d16
commit
fb9eb84893
|
@ -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",
|
||||
|
|
|
@ -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.
|
||||
})
|
||||
|
|
Loading…
Reference in New Issue