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",
|
||||||
"xenia-ui-vulkan",
|
"xenia-ui-vulkan",
|
||||||
})
|
})
|
||||||
filter("platforms:Linux")
|
|
||||||
links({
|
|
||||||
"X11",
|
|
||||||
"xcb",
|
|
||||||
"X11-xcb",
|
|
||||||
"GL",
|
|
||||||
"vulkan",
|
|
||||||
})
|
|
||||||
filter()
|
|
||||||
|
|
||||||
flags({
|
flags({
|
||||||
"WinMain", -- Use WinMain instead of main.
|
"WinMain", -- Use WinMain instead of main.
|
||||||
})
|
})
|
||||||
|
@ -55,14 +45,21 @@ project("xenia-hid-demo")
|
||||||
})
|
})
|
||||||
files({
|
files({
|
||||||
"hid_demo.cc",
|
"hid_demo.cc",
|
||||||
project_root.."/src/xenia/base/main_"..platform_suffix..".cc",
|
"../base/main_"..platform_suffix..".cc",
|
||||||
})
|
|
||||||
files({
|
|
||||||
})
|
})
|
||||||
resincludedirs({
|
resincludedirs({
|
||||||
project_root,
|
project_root,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
filter("platforms:Linux")
|
||||||
|
links({
|
||||||
|
"X11",
|
||||||
|
"xcb",
|
||||||
|
"X11-xcb",
|
||||||
|
"GL",
|
||||||
|
"vulkan",
|
||||||
|
})
|
||||||
|
|
||||||
filter("platforms:Windows")
|
filter("platforms:Windows")
|
||||||
links({
|
links({
|
||||||
"xenia-hid-winkey",
|
"xenia-hid-winkey",
|
||||||
|
|
|
@ -37,16 +37,6 @@ project("xenia-ui-window-vulkan-demo")
|
||||||
"xenia-ui-spirv",
|
"xenia-ui-spirv",
|
||||||
"xenia-ui-vulkan",
|
"xenia-ui-vulkan",
|
||||||
})
|
})
|
||||||
filter("platforms:Linux")
|
|
||||||
links({
|
|
||||||
"X11",
|
|
||||||
"xcb",
|
|
||||||
"X11-xcb",
|
|
||||||
"GL",
|
|
||||||
"vulkan",
|
|
||||||
})
|
|
||||||
filter()
|
|
||||||
|
|
||||||
flags({
|
flags({
|
||||||
"WinMain", -- Use WinMain instead of main.
|
"WinMain", -- Use WinMain instead of main.
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue