[UI] Initial Qt project support
This commit is contained in:
parent
37e59464c2
commit
0d7d0761e4
|
@ -40,3 +40,6 @@
|
|||
[submodule "third_party/volk"]
|
||||
path = third_party/volk
|
||||
url = https://github.com/zeux/volk.git
|
||||
[submodule "third_party/premake-qt"]
|
||||
path = third_party/premake-qt
|
||||
url = https://github.com/dcourtois/premake-qt.git
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
include("tools/build")
|
||||
require("third_party/premake-export-compile-commands/export-compile-commands")
|
||||
require("third_party/premake-qt/qt")
|
||||
|
||||
location(build_root)
|
||||
targetdir(build_bin)
|
||||
|
@ -250,6 +251,7 @@ solution("xenia")
|
|||
include("src/xenia/hid/nop")
|
||||
include("src/xenia/kernel")
|
||||
include("src/xenia/ui")
|
||||
include("src/xenia/ui/qt")
|
||||
include("src/xenia/ui/spirv")
|
||||
include("src/xenia/ui/vulkan")
|
||||
include("src/xenia/vfs")
|
||||
|
|
|
@ -0,0 +1,28 @@
|
|||
project_root = "../../../.."
|
||||
include(project_root.."/tools/build")
|
||||
local qt = premake.extensions.qt
|
||||
|
||||
group("src")
|
||||
project("xenia-ui-qt")
|
||||
uuid("3AB69653-3ACB-4C0B-976C-3B7F044E3E3A")
|
||||
kind("StaticLib")
|
||||
language("C++")
|
||||
|
||||
-- Setup Qt libraries
|
||||
qt.enable()
|
||||
qtmodules{"core", "gui", "widgets"}
|
||||
qtprefix "Qt5"
|
||||
|
||||
configuration {"Debug"}
|
||||
qtsuffix "d"
|
||||
configuration {}
|
||||
|
||||
links({
|
||||
"xenia-base",
|
||||
})
|
||||
defines({
|
||||
})
|
||||
includedirs({
|
||||
project_root.."/third_party/gflags/src",
|
||||
})
|
||||
local_platform_files()
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 735cb810f12e7347f1894bbed32a41ad85709405
|
Loading…
Reference in New Issue