[Premake] Removed unused/unnecessary subprojects.
- Testing currently doesn't work - VFS Dump is unused. You can use internal function for it - Demos are only for fun - Trace Dump & Trace Viewer (unsure, but ok) You can re-enable them by changing values: enableTests and enableMiscSubprojects in main premake file. In the future there should be xb command support to overwrite them
This commit is contained in:
parent
7298536d46
commit
31d715d100
|
@ -7,6 +7,11 @@ location(build_root)
|
||||||
targetdir(build_bin)
|
targetdir(build_bin)
|
||||||
objdir(build_obj)
|
objdir(build_obj)
|
||||||
|
|
||||||
|
-- Define variables for enabling specific submodules
|
||||||
|
-- Todo: Add changing from xb command
|
||||||
|
enableTests = false
|
||||||
|
enableMiscSubprojects = false
|
||||||
|
|
||||||
-- Define an ARCH variable
|
-- Define an ARCH variable
|
||||||
-- Only use this to enable architecture-specific functionality.
|
-- Only use this to enable architecture-specific functionality.
|
||||||
if os.istarget("linux") then
|
if os.istarget("linux") then
|
||||||
|
|
|
@ -54,11 +54,13 @@ project("xenia-app")
|
||||||
-- Unified library containing all apps as StaticLibs, not just the main
|
-- Unified library containing all apps as StaticLibs, not just the main
|
||||||
-- emulator windowed app.
|
-- emulator windowed app.
|
||||||
kind("SharedLib")
|
kind("SharedLib")
|
||||||
links({
|
if enableMiscSubprojects then
|
||||||
"xenia-gpu-vulkan-trace-viewer",
|
links({
|
||||||
"xenia-hid-demo",
|
"xenia-gpu-vulkan-trace-viewer",
|
||||||
"xenia-ui-window-vulkan-demo",
|
"xenia-hid-demo",
|
||||||
})
|
"xenia-ui-window-vulkan-demo",
|
||||||
|
})
|
||||||
|
end
|
||||||
filter(NOT_SINGLE_LIBRARY_FILTER)
|
filter(NOT_SINGLE_LIBRARY_FILTER)
|
||||||
kind("WindowedApp")
|
kind("WindowedApp")
|
||||||
|
|
||||||
|
@ -114,15 +116,13 @@ project("xenia-app")
|
||||||
"xenia-ui-d3d12",
|
"xenia-ui-d3d12",
|
||||||
})
|
})
|
||||||
|
|
||||||
filter({"platforms:Windows", SINGLE_LIBRARY_FILTER})
|
if enableMiscSubprojects then
|
||||||
links({
|
filter({"platforms:Windows", SINGLE_LIBRARY_FILTER})
|
||||||
"xenia-gpu-d3d12-trace-viewer",
|
links({
|
||||||
"xenia-ui-window-d3d12-demo",
|
"xenia-gpu-d3d12-trace-viewer",
|
||||||
})
|
"xenia-ui-window-d3d12-demo",
|
||||||
-- filter({"configurations:Release", "platforms:Windows"})
|
})
|
||||||
-- buildoptions({
|
end
|
||||||
-- "/O1",
|
|
||||||
-- })
|
|
||||||
|
|
||||||
filter("platforms:Windows")
|
filter("platforms:Windows")
|
||||||
-- Only create the .user file if it doesn't already exist.
|
-- Only create the .user file if it doesn't already exist.
|
||||||
|
|
|
@ -17,4 +17,6 @@ project("xenia-base")
|
||||||
"debug_visualizers.natvis",
|
"debug_visualizers.natvis",
|
||||||
})
|
})
|
||||||
|
|
||||||
include("testing")
|
if enableTests then
|
||||||
|
include("testing")
|
||||||
|
end
|
|
@ -21,9 +21,7 @@ project("xenia-cpu")
|
||||||
local_platform_files("hir")
|
local_platform_files("hir")
|
||||||
local_platform_files("ppc")
|
local_platform_files("ppc")
|
||||||
|
|
||||||
include("testing")
|
if enableTests then
|
||||||
include("ppc/testing")
|
include("testing")
|
||||||
-- filter({"configurations:Release", "platforms:Windows"})
|
include("ppc/testing")
|
||||||
-- buildoptions({
|
end
|
||||||
-- "/O1",
|
|
||||||
-- })
|
|
||||||
|
|
|
@ -19,108 +19,110 @@ project("xenia-gpu-d3d12")
|
||||||
"../shaders/bytecode/d3d12_5_1/*.h",
|
"../shaders/bytecode/d3d12_5_1/*.h",
|
||||||
})
|
})
|
||||||
|
|
||||||
group("src")
|
if enableMiscSubprojects then
|
||||||
project("xenia-gpu-d3d12-trace-viewer")
|
group("src")
|
||||||
uuid("7b5b9fcb-7bf1-43ff-a774-d4c41c8706be")
|
project("xenia-gpu-d3d12-trace-viewer")
|
||||||
single_library_windowed_app_kind()
|
uuid("7b5b9fcb-7bf1-43ff-a774-d4c41c8706be")
|
||||||
language("C++")
|
single_library_windowed_app_kind()
|
||||||
links({
|
language("C++")
|
||||||
"xenia-apu",
|
|
||||||
"xenia-apu-nop",
|
|
||||||
"xenia-base",
|
|
||||||
"xenia-core",
|
|
||||||
"xenia-cpu",
|
|
||||||
"xenia-gpu",
|
|
||||||
"xenia-gpu-d3d12",
|
|
||||||
"xenia-hid",
|
|
||||||
"xenia-hid-nop",
|
|
||||||
"xenia-hid-skylander",
|
|
||||||
"xenia-kernel",
|
|
||||||
"xenia-patcher",
|
|
||||||
"xenia-ui",
|
|
||||||
"xenia-ui-d3d12",
|
|
||||||
"xenia-vfs",
|
|
||||||
})
|
|
||||||
links({
|
|
||||||
"aes_128",
|
|
||||||
"capstone",
|
|
||||||
"dxbc",
|
|
||||||
"fmt",
|
|
||||||
"imgui",
|
|
||||||
"libavcodec",
|
|
||||||
"libavutil",
|
|
||||||
"mspack",
|
|
||||||
"snappy",
|
|
||||||
"xxhash",
|
|
||||||
})
|
|
||||||
files({
|
|
||||||
"d3d12_trace_viewer_main.cc",
|
|
||||||
"../../ui/windowed_app_main_"..platform_suffix..".cc",
|
|
||||||
})
|
|
||||||
-- Only create the .user file if it doesn't already exist.
|
|
||||||
local user_file = project_root.."/build/xenia-gpu-d3d12-trace-viewer.vcxproj.user"
|
|
||||||
if not os.isfile(user_file) then
|
|
||||||
debugdir(project_root)
|
|
||||||
debugargs({
|
|
||||||
"2>&1",
|
|
||||||
"1>scratch/stdout-trace-viewer.txt",
|
|
||||||
})
|
|
||||||
end
|
|
||||||
|
|
||||||
filter("architecture:x86_64")
|
|
||||||
links({
|
links({
|
||||||
"xenia-cpu-backend-x64",
|
"xenia-apu",
|
||||||
|
"xenia-apu-nop",
|
||||||
|
"xenia-base",
|
||||||
|
"xenia-core",
|
||||||
|
"xenia-cpu",
|
||||||
|
"xenia-gpu",
|
||||||
|
"xenia-gpu-d3d12",
|
||||||
|
"xenia-hid",
|
||||||
|
"xenia-hid-nop",
|
||||||
|
"xenia-hid-skylander",
|
||||||
|
"xenia-kernel",
|
||||||
|
"xenia-patcher",
|
||||||
|
"xenia-ui",
|
||||||
|
"xenia-ui-d3d12",
|
||||||
|
"xenia-vfs",
|
||||||
})
|
})
|
||||||
|
|
||||||
group("src")
|
|
||||||
project("xenia-gpu-d3d12-trace-dump")
|
|
||||||
uuid("686b859c-0046-44c4-a02c-41fc3fb75698")
|
|
||||||
kind("ConsoleApp")
|
|
||||||
language("C++")
|
|
||||||
links({
|
|
||||||
"xenia-apu",
|
|
||||||
"xenia-apu-nop",
|
|
||||||
"xenia-base",
|
|
||||||
"xenia-core",
|
|
||||||
"xenia-cpu",
|
|
||||||
"xenia-gpu",
|
|
||||||
"xenia-gpu-d3d12",
|
|
||||||
"xenia-hid",
|
|
||||||
"xenia-hid-nop",
|
|
||||||
"xenia-hid-skylander",
|
|
||||||
"xenia-kernel",
|
|
||||||
"xenia-ui",
|
|
||||||
"xenia-ui-d3d12",
|
|
||||||
"xenia-vfs",
|
|
||||||
"xenia-patcher",
|
|
||||||
})
|
|
||||||
links({
|
|
||||||
"aes_128",
|
|
||||||
"capstone",
|
|
||||||
"dxbc",
|
|
||||||
"fmt",
|
|
||||||
"imgui",
|
|
||||||
"libavcodec",
|
|
||||||
"libavutil",
|
|
||||||
"mspack",
|
|
||||||
"snappy",
|
|
||||||
"xxhash",
|
|
||||||
})
|
|
||||||
files({
|
|
||||||
"d3d12_trace_dump_main.cc",
|
|
||||||
"../../base/console_app_main_"..platform_suffix..".cc",
|
|
||||||
})
|
|
||||||
-- Only create the .user file if it doesn't already exist.
|
|
||||||
local user_file = project_root.."/build/xenia-gpu-d3d12-trace-dump.vcxproj.user"
|
|
||||||
if not os.isfile(user_file) then
|
|
||||||
debugdir(project_root)
|
|
||||||
debugargs({
|
|
||||||
"2>&1",
|
|
||||||
"1>scratch/stdout-trace-dump.txt",
|
|
||||||
})
|
|
||||||
end
|
|
||||||
|
|
||||||
filter("architecture:x86_64")
|
|
||||||
links({
|
links({
|
||||||
"xenia-cpu-backend-x64",
|
"aes_128",
|
||||||
|
"capstone",
|
||||||
|
"dxbc",
|
||||||
|
"fmt",
|
||||||
|
"imgui",
|
||||||
|
"libavcodec",
|
||||||
|
"libavutil",
|
||||||
|
"mspack",
|
||||||
|
"snappy",
|
||||||
|
"xxhash",
|
||||||
})
|
})
|
||||||
|
files({
|
||||||
|
"d3d12_trace_viewer_main.cc",
|
||||||
|
"../../ui/windowed_app_main_"..platform_suffix..".cc",
|
||||||
|
})
|
||||||
|
-- Only create the .user file if it doesn't already exist.
|
||||||
|
local user_file = project_root.."/build/xenia-gpu-d3d12-trace-viewer.vcxproj.user"
|
||||||
|
if not os.isfile(user_file) then
|
||||||
|
debugdir(project_root)
|
||||||
|
debugargs({
|
||||||
|
"2>&1",
|
||||||
|
"1>scratch/stdout-trace-viewer.txt",
|
||||||
|
})
|
||||||
|
end
|
||||||
|
|
||||||
|
filter("architecture:x86_64")
|
||||||
|
links({
|
||||||
|
"xenia-cpu-backend-x64",
|
||||||
|
})
|
||||||
|
|
||||||
|
group("src")
|
||||||
|
project("xenia-gpu-d3d12-trace-dump")
|
||||||
|
uuid("686b859c-0046-44c4-a02c-41fc3fb75698")
|
||||||
|
kind("ConsoleApp")
|
||||||
|
language("C++")
|
||||||
|
links({
|
||||||
|
"xenia-apu",
|
||||||
|
"xenia-apu-nop",
|
||||||
|
"xenia-base",
|
||||||
|
"xenia-core",
|
||||||
|
"xenia-cpu",
|
||||||
|
"xenia-gpu",
|
||||||
|
"xenia-gpu-d3d12",
|
||||||
|
"xenia-hid",
|
||||||
|
"xenia-hid-nop",
|
||||||
|
"xenia-hid-skylander",
|
||||||
|
"xenia-kernel",
|
||||||
|
"xenia-ui",
|
||||||
|
"xenia-ui-d3d12",
|
||||||
|
"xenia-vfs",
|
||||||
|
"xenia-patcher",
|
||||||
|
})
|
||||||
|
links({
|
||||||
|
"aes_128",
|
||||||
|
"capstone",
|
||||||
|
"dxbc",
|
||||||
|
"fmt",
|
||||||
|
"imgui",
|
||||||
|
"libavcodec",
|
||||||
|
"libavutil",
|
||||||
|
"mspack",
|
||||||
|
"snappy",
|
||||||
|
"xxhash",
|
||||||
|
})
|
||||||
|
files({
|
||||||
|
"d3d12_trace_dump_main.cc",
|
||||||
|
"../../base/console_app_main_"..platform_suffix..".cc",
|
||||||
|
})
|
||||||
|
-- Only create the .user file if it doesn't already exist.
|
||||||
|
local user_file = project_root.."/build/xenia-gpu-d3d12-trace-dump.vcxproj.user"
|
||||||
|
if not os.isfile(user_file) then
|
||||||
|
debugdir(project_root)
|
||||||
|
debugargs({
|
||||||
|
"2>&1",
|
||||||
|
"1>scratch/stdout-trace-dump.txt",
|
||||||
|
})
|
||||||
|
end
|
||||||
|
|
||||||
|
filter("architecture:x86_64")
|
||||||
|
links({
|
||||||
|
"xenia-cpu-backend-x64",
|
||||||
|
})
|
||||||
|
end
|
|
@ -23,132 +23,134 @@ project("xenia-gpu-vulkan")
|
||||||
"../shaders/bytecode/vulkan_spirv/*.h",
|
"../shaders/bytecode/vulkan_spirv/*.h",
|
||||||
})
|
})
|
||||||
|
|
||||||
group("src")
|
if enableMiscSubprojects then
|
||||||
project("xenia-gpu-vulkan-trace-viewer")
|
group("src")
|
||||||
uuid("86a1dddc-a26a-4885-8c55-cf745225d93e")
|
project("xenia-gpu-vulkan-trace-viewer")
|
||||||
single_library_windowed_app_kind()
|
uuid("86a1dddc-a26a-4885-8c55-cf745225d93e")
|
||||||
language("C++")
|
single_library_windowed_app_kind()
|
||||||
links({
|
language("C++")
|
||||||
"xenia-apu",
|
|
||||||
"xenia-apu-nop",
|
|
||||||
"xenia-base",
|
|
||||||
"xenia-core",
|
|
||||||
"xenia-cpu",
|
|
||||||
"xenia-gpu",
|
|
||||||
"xenia-gpu-vulkan",
|
|
||||||
"xenia-hid",
|
|
||||||
"xenia-hid-nop",
|
|
||||||
"xenia-hid-skylander",
|
|
||||||
"xenia-kernel",
|
|
||||||
"xenia-patcher",
|
|
||||||
"xenia-ui",
|
|
||||||
"xenia-ui-vulkan",
|
|
||||||
"xenia-vfs",
|
|
||||||
})
|
|
||||||
links({
|
|
||||||
"aes_128",
|
|
||||||
"capstone",
|
|
||||||
"fmt",
|
|
||||||
"glslang-spirv",
|
|
||||||
"imgui",
|
|
||||||
"libavcodec",
|
|
||||||
"libavutil",
|
|
||||||
"mspack",
|
|
||||||
"snappy",
|
|
||||||
"xxhash",
|
|
||||||
})
|
|
||||||
includedirs({
|
|
||||||
project_root.."/third_party/Vulkan-Headers/include",
|
|
||||||
})
|
|
||||||
files({
|
|
||||||
"vulkan_trace_viewer_main.cc",
|
|
||||||
"../../ui/windowed_app_main_"..platform_suffix..".cc",
|
|
||||||
})
|
|
||||||
|
|
||||||
filter("architecture:x86_64")
|
|
||||||
links({
|
links({
|
||||||
"xenia-cpu-backend-x64",
|
"xenia-apu",
|
||||||
|
"xenia-apu-nop",
|
||||||
|
"xenia-base",
|
||||||
|
"xenia-core",
|
||||||
|
"xenia-cpu",
|
||||||
|
"xenia-gpu",
|
||||||
|
"xenia-gpu-vulkan",
|
||||||
|
"xenia-hid",
|
||||||
|
"xenia-hid-nop",
|
||||||
|
"xenia-hid-skylander",
|
||||||
|
"xenia-kernel",
|
||||||
|
"xenia-patcher",
|
||||||
|
"xenia-ui",
|
||||||
|
"xenia-ui-vulkan",
|
||||||
|
"xenia-vfs",
|
||||||
|
})
|
||||||
|
links({
|
||||||
|
"aes_128",
|
||||||
|
"capstone",
|
||||||
|
"fmt",
|
||||||
|
"glslang-spirv",
|
||||||
|
"imgui",
|
||||||
|
"libavcodec",
|
||||||
|
"libavutil",
|
||||||
|
"mspack",
|
||||||
|
"snappy",
|
||||||
|
"xxhash",
|
||||||
|
})
|
||||||
|
includedirs({
|
||||||
|
project_root.."/third_party/Vulkan-Headers/include",
|
||||||
|
})
|
||||||
|
files({
|
||||||
|
"vulkan_trace_viewer_main.cc",
|
||||||
|
"../../ui/windowed_app_main_"..platform_suffix..".cc",
|
||||||
})
|
})
|
||||||
|
|
||||||
filter("platforms:Linux")
|
filter("architecture:x86_64")
|
||||||
links({
|
links({
|
||||||
"X11",
|
"xenia-cpu-backend-x64",
|
||||||
"xcb",
|
|
||||||
"X11-xcb",
|
|
||||||
})
|
|
||||||
|
|
||||||
filter("platforms:Windows")
|
|
||||||
-- Only create the .user file if it doesn't already exist.
|
|
||||||
local user_file = project_root.."/build/xenia-gpu-vulkan-trace-viewer.vcxproj.user"
|
|
||||||
if not os.isfile(user_file) then
|
|
||||||
debugdir(project_root)
|
|
||||||
debugargs({
|
|
||||||
"2>&1",
|
|
||||||
"1>scratch/stdout-trace-viewer.txt",
|
|
||||||
})
|
})
|
||||||
end
|
|
||||||
|
|
||||||
group("src")
|
filter("platforms:Linux")
|
||||||
project("xenia-gpu-vulkan-trace-dump")
|
links({
|
||||||
uuid("0dd0dd1c-b321-494d-ab9a-6c062f0c65cc")
|
"X11",
|
||||||
kind("ConsoleApp")
|
"xcb",
|
||||||
language("C++")
|
"X11-xcb",
|
||||||
links({
|
|
||||||
"xenia-apu",
|
|
||||||
"xenia-apu-nop",
|
|
||||||
"xenia-base",
|
|
||||||
"xenia-core",
|
|
||||||
"xenia-cpu",
|
|
||||||
"xenia-gpu",
|
|
||||||
"xenia-gpu-vulkan",
|
|
||||||
"xenia-hid",
|
|
||||||
"xenia-hid-nop",
|
|
||||||
"xenia-hid-skylander",
|
|
||||||
"xenia-kernel",
|
|
||||||
"xenia-ui",
|
|
||||||
"xenia-ui-vulkan",
|
|
||||||
"xenia-vfs",
|
|
||||||
"xenia-patcher",
|
|
||||||
})
|
|
||||||
links({
|
|
||||||
"aes_128",
|
|
||||||
"capstone",
|
|
||||||
"fmt",
|
|
||||||
"glslang-spirv",
|
|
||||||
"imgui",
|
|
||||||
"libavcodec",
|
|
||||||
"libavutil",
|
|
||||||
"mspack",
|
|
||||||
"snappy",
|
|
||||||
"xxhash",
|
|
||||||
})
|
|
||||||
includedirs({
|
|
||||||
project_root.."/third_party/Vulkan-Headers/include",
|
|
||||||
})
|
|
||||||
files({
|
|
||||||
"vulkan_trace_dump_main.cc",
|
|
||||||
"../../base/console_app_main_"..platform_suffix..".cc",
|
|
||||||
})
|
|
||||||
|
|
||||||
filter("architecture:x86_64")
|
|
||||||
links({
|
|
||||||
"xenia-cpu-backend-x64",
|
|
||||||
})
|
|
||||||
|
|
||||||
filter("platforms:Linux")
|
|
||||||
links({
|
|
||||||
"X11",
|
|
||||||
"xcb",
|
|
||||||
"X11-xcb",
|
|
||||||
})
|
|
||||||
|
|
||||||
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"
|
|
||||||
if not os.isfile(user_file) then
|
|
||||||
debugdir(project_root)
|
|
||||||
debugargs({
|
|
||||||
"2>&1",
|
|
||||||
"1>scratch/stdout-trace-dump.txt",
|
|
||||||
})
|
})
|
||||||
end
|
|
||||||
|
filter("platforms:Windows")
|
||||||
|
-- Only create the .user file if it doesn't already exist.
|
||||||
|
local user_file = project_root.."/build/xenia-gpu-vulkan-trace-viewer.vcxproj.user"
|
||||||
|
if not os.isfile(user_file) then
|
||||||
|
debugdir(project_root)
|
||||||
|
debugargs({
|
||||||
|
"2>&1",
|
||||||
|
"1>scratch/stdout-trace-viewer.txt",
|
||||||
|
})
|
||||||
|
end
|
||||||
|
|
||||||
|
group("src")
|
||||||
|
project("xenia-gpu-vulkan-trace-dump")
|
||||||
|
uuid("0dd0dd1c-b321-494d-ab9a-6c062f0c65cc")
|
||||||
|
kind("ConsoleApp")
|
||||||
|
language("C++")
|
||||||
|
links({
|
||||||
|
"xenia-apu",
|
||||||
|
"xenia-apu-nop",
|
||||||
|
"xenia-base",
|
||||||
|
"xenia-core",
|
||||||
|
"xenia-cpu",
|
||||||
|
"xenia-gpu",
|
||||||
|
"xenia-gpu-vulkan",
|
||||||
|
"xenia-hid",
|
||||||
|
"xenia-hid-nop",
|
||||||
|
"xenia-hid-skylander",
|
||||||
|
"xenia-kernel",
|
||||||
|
"xenia-ui",
|
||||||
|
"xenia-ui-vulkan",
|
||||||
|
"xenia-vfs",
|
||||||
|
"xenia-patcher",
|
||||||
|
})
|
||||||
|
links({
|
||||||
|
"aes_128",
|
||||||
|
"capstone",
|
||||||
|
"fmt",
|
||||||
|
"glslang-spirv",
|
||||||
|
"imgui",
|
||||||
|
"libavcodec",
|
||||||
|
"libavutil",
|
||||||
|
"mspack",
|
||||||
|
"snappy",
|
||||||
|
"xxhash",
|
||||||
|
})
|
||||||
|
includedirs({
|
||||||
|
project_root.."/third_party/Vulkan-Headers/include",
|
||||||
|
})
|
||||||
|
files({
|
||||||
|
"vulkan_trace_dump_main.cc",
|
||||||
|
"../../base/console_app_main_"..platform_suffix..".cc",
|
||||||
|
})
|
||||||
|
|
||||||
|
filter("architecture:x86_64")
|
||||||
|
links({
|
||||||
|
"xenia-cpu-backend-x64",
|
||||||
|
})
|
||||||
|
|
||||||
|
filter("platforms:Linux")
|
||||||
|
links({
|
||||||
|
"X11",
|
||||||
|
"xcb",
|
||||||
|
"X11-xcb",
|
||||||
|
})
|
||||||
|
|
||||||
|
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"
|
||||||
|
if not os.isfile(user_file) then
|
||||||
|
debugdir(project_root)
|
||||||
|
debugargs({
|
||||||
|
"2>&1",
|
||||||
|
"1>scratch/stdout-trace-dump.txt",
|
||||||
|
})
|
||||||
|
end
|
||||||
|
end
|
|
@ -10,33 +10,30 @@ project("xenia-ui-d3d12")
|
||||||
"xenia-base",
|
"xenia-base",
|
||||||
"xenia-ui",
|
"xenia-ui",
|
||||||
})
|
})
|
||||||
-- filter({"configurations:Release", "platforms:Windows"})
|
|
||||||
-- buildoptions({
|
|
||||||
-- "/O1",
|
|
||||||
-- })
|
|
||||||
-- filter {}
|
|
||||||
local_platform_files()
|
local_platform_files()
|
||||||
files({
|
files({
|
||||||
"../shaders/bytecode/d3d12_5_1/*.h",
|
"../shaders/bytecode/d3d12_5_1/*.h",
|
||||||
})
|
})
|
||||||
|
|
||||||
group("demos")
|
if enableMiscSubprojects then
|
||||||
project("xenia-ui-window-d3d12-demo")
|
group("demos")
|
||||||
uuid("3b9686a7-0f04-4e17-8b00-aeb78ae1107c")
|
project("xenia-ui-window-d3d12-demo")
|
||||||
single_library_windowed_app_kind()
|
uuid("3b9686a7-0f04-4e17-8b00-aeb78ae1107c")
|
||||||
language("C++")
|
single_library_windowed_app_kind()
|
||||||
links({
|
language("C++")
|
||||||
"fmt",
|
links({
|
||||||
"imgui",
|
"fmt",
|
||||||
"xenia-base",
|
"imgui",
|
||||||
"xenia-ui",
|
"xenia-base",
|
||||||
"xenia-ui-d3d12",
|
"xenia-ui",
|
||||||
})
|
"xenia-ui-d3d12",
|
||||||
files({
|
})
|
||||||
"../window_demo.cc",
|
files({
|
||||||
"d3d12_window_demo.cc",
|
"../window_demo.cc",
|
||||||
project_root.."/src/xenia/ui/windowed_app_main_"..platform_suffix..".cc",
|
"d3d12_window_demo.cc",
|
||||||
})
|
project_root.."/src/xenia/ui/windowed_app_main_"..platform_suffix..".cc",
|
||||||
resincludedirs({
|
})
|
||||||
project_root,
|
resincludedirs({
|
||||||
})
|
project_root,
|
||||||
|
})
|
||||||
|
end
|
|
@ -14,10 +14,6 @@ project("xenia-ui")
|
||||||
local_platform_files()
|
local_platform_files()
|
||||||
removefiles({"*_demo.cc"})
|
removefiles({"*_demo.cc"})
|
||||||
removefiles({"windowed_app_main_*.cc"})
|
removefiles({"windowed_app_main_*.cc"})
|
||||||
-- filter({"configurations:Release", "platforms:Windows"})
|
|
||||||
-- buildoptions({
|
|
||||||
-- "/O1",
|
|
||||||
-- })
|
|
||||||
filter("platforms:Android-*")
|
filter("platforms:Android-*")
|
||||||
-- Exports JNI functions.
|
-- Exports JNI functions.
|
||||||
wholelib("On")
|
wholelib("On")
|
||||||
|
|
|
@ -10,11 +10,6 @@ project("xenia-ui-vulkan")
|
||||||
"xenia-base",
|
"xenia-base",
|
||||||
"xenia-ui",
|
"xenia-ui",
|
||||||
})
|
})
|
||||||
-- filter({"configurations:Release", "platforms:Windows"})
|
|
||||||
-- buildoptions({
|
|
||||||
-- "/O1",
|
|
||||||
-- })
|
|
||||||
-- filter {}
|
|
||||||
includedirs({
|
includedirs({
|
||||||
project_root.."/third_party/Vulkan-Headers/include",
|
project_root.."/third_party/Vulkan-Headers/include",
|
||||||
})
|
})
|
||||||
|
@ -24,33 +19,35 @@ project("xenia-ui-vulkan")
|
||||||
"../shaders/bytecode/vulkan_spirv/*.h",
|
"../shaders/bytecode/vulkan_spirv/*.h",
|
||||||
})
|
})
|
||||||
|
|
||||||
group("demos")
|
if enableMiscSubprojects then
|
||||||
project("xenia-ui-window-vulkan-demo")
|
group("demos")
|
||||||
uuid("97598f13-3177-454c-8e58-c59e2b6ede27")
|
project("xenia-ui-window-vulkan-demo")
|
||||||
single_library_windowed_app_kind()
|
uuid("97598f13-3177-454c-8e58-c59e2b6ede27")
|
||||||
language("C++")
|
single_library_windowed_app_kind()
|
||||||
links({
|
language("C++")
|
||||||
"fmt",
|
|
||||||
"imgui",
|
|
||||||
"xenia-base",
|
|
||||||
"xenia-ui",
|
|
||||||
"xenia-ui-vulkan",
|
|
||||||
})
|
|
||||||
includedirs({
|
|
||||||
project_root.."/third_party/Vulkan-Headers/include",
|
|
||||||
})
|
|
||||||
files({
|
|
||||||
"../window_demo.cc",
|
|
||||||
"vulkan_window_demo.cc",
|
|
||||||
project_root.."/src/xenia/ui/windowed_app_main_"..platform_suffix..".cc",
|
|
||||||
})
|
|
||||||
resincludedirs({
|
|
||||||
project_root,
|
|
||||||
})
|
|
||||||
|
|
||||||
filter("platforms:Linux")
|
|
||||||
links({
|
links({
|
||||||
"X11",
|
"fmt",
|
||||||
"xcb",
|
"imgui",
|
||||||
"X11-xcb",
|
"xenia-base",
|
||||||
|
"xenia-ui",
|
||||||
|
"xenia-ui-vulkan",
|
||||||
})
|
})
|
||||||
|
includedirs({
|
||||||
|
project_root.."/third_party/Vulkan-Headers/include",
|
||||||
|
})
|
||||||
|
files({
|
||||||
|
"../window_demo.cc",
|
||||||
|
"vulkan_window_demo.cc",
|
||||||
|
project_root.."/src/xenia/ui/windowed_app_main_"..platform_suffix..".cc",
|
||||||
|
})
|
||||||
|
resincludedirs({
|
||||||
|
project_root,
|
||||||
|
})
|
||||||
|
|
||||||
|
filter("platforms:Linux")
|
||||||
|
links({
|
||||||
|
"X11",
|
||||||
|
"xcb",
|
||||||
|
"X11-xcb",
|
||||||
|
})
|
||||||
|
end
|
|
@ -7,35 +7,37 @@ project("xenia-vfs")
|
||||||
kind("StaticLib")
|
kind("StaticLib")
|
||||||
language("C++")
|
language("C++")
|
||||||
links({
|
links({
|
||||||
"xenia-base", "zstd", "zarchive"
|
"xenia-base",
|
||||||
|
"zstd",
|
||||||
|
"zarchive"
|
||||||
})
|
})
|
||||||
defines({
|
defines({
|
||||||
})
|
})
|
||||||
-- filter({"configurations:Release", "platforms:Windows"})
|
|
||||||
-- buildoptions({
|
|
||||||
-- "/O1",
|
|
||||||
-- })
|
|
||||||
-- filter {}
|
|
||||||
|
|
||||||
recursive_platform_files()
|
recursive_platform_files()
|
||||||
removefiles({"vfs_dump.cc"})
|
removefiles({"vfs_dump.cc"})
|
||||||
|
|
||||||
project("xenia-vfs-dump")
|
if enableMiscSubprojects then
|
||||||
uuid("2EF270C7-41A8-4D0E-ACC5-59693A9CCE32")
|
project("xenia-vfs-dump")
|
||||||
kind("ConsoleApp")
|
uuid("2EF270C7-41A8-4D0E-ACC5-59693A9CCE32")
|
||||||
language("C++")
|
kind("ConsoleApp")
|
||||||
links({
|
language("C++")
|
||||||
"fmt",
|
links({
|
||||||
"xenia-base",
|
"fmt",
|
||||||
"xenia-vfs",
|
"xenia-base",
|
||||||
})
|
"xenia-vfs",
|
||||||
defines({})
|
})
|
||||||
|
defines({})
|
||||||
|
|
||||||
files({
|
files({
|
||||||
"vfs_dump.cc",
|
"vfs_dump.cc",
|
||||||
project_root.."/src/xenia/base/console_app_main_"..platform_suffix..".cc",
|
project_root.."/src/xenia/base/console_app_main_"..platform_suffix..".cc",
|
||||||
})
|
})
|
||||||
resincludedirs({
|
resincludedirs({
|
||||||
project_root,
|
project_root,
|
||||||
})
|
})
|
||||||
include("testing")
|
end
|
||||||
|
|
||||||
|
if enableTests then
|
||||||
|
include("testing")
|
||||||
|
end
|
||||||
|
|
Loading…
Reference in New Issue