Add missing libraries when linking xenia-app on Linux
Currently, each module in Xenia is built as a static library (also called archive). On Linux, an archive only contains the object files for that module. So any depedency that module has must be specified by adding those other modules when linking the program, as the dependencies are resolved at that time.
This commit is contained in:
parent
879d6e979f
commit
03091d1b71
|
@ -8,8 +8,15 @@ project("xenia-app")
|
|||
targetname("xenia")
|
||||
language("C++")
|
||||
links({
|
||||
"capstone",
|
||||
"gflags",
|
||||
"glslang-spirv",
|
||||
"imgui",
|
||||
"libavcodec",
|
||||
"libavutil",
|
||||
"snappy",
|
||||
"spirv-tools",
|
||||
"vulkan-loader",
|
||||
"xenia-apu",
|
||||
"xenia-apu-nop",
|
||||
"xenia-base",
|
||||
|
@ -21,11 +28,15 @@ project("xenia-app")
|
|||
"xenia-gpu-gl4",
|
||||
"xenia-gpu-null",
|
||||
"xenia-gpu-vulkan",
|
||||
"xenia-hid",
|
||||
"xenia-hid-nop",
|
||||
"xenia-kernel",
|
||||
"xenia-ui",
|
||||
"xenia-ui-gl",
|
||||
"xenia-ui-spirv",
|
||||
"xenia-ui-vulkan",
|
||||
"xenia-vfs",
|
||||
"xxhash",
|
||||
})
|
||||
flags({
|
||||
"WinMain", -- Use WinMain instead of main.
|
||||
|
|
Loading…
Reference in New Issue