diff options
| author | Dr. Chat <arkolbed@gmail.com> | 2018-05-13 14:13:37 -0500 |
|---|---|---|
| committer | Dr. Chat <arkolbed@gmail.com> | 2018-10-12 14:49:14 -0500 |
| commit | 0d7d0761e4da8876cdeb8413102923a717a9ed1a (patch) | |
| tree | 4af93f7d392e065ecdd523c1b3d89a99036de88c | |
| parent | 37e59464c2d8f84ac59d86b73a6eb86569b06df3 (diff) | |
[UI] Initial Qt project support
| -rw-r--r-- | .gitmodules | 3 | ||||
| -rw-r--r-- | premake5.lua | 2 | ||||
| -rw-r--r-- | src/xenia/ui/qt/premake5.lua | 28 | ||||
| m--------- | third_party/premake-qt | 0 |
4 files changed, 33 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules index 3a3621c2d..c0769b24a 100644 --- a/.gitmodules +++ b/.gitmodules @@ -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 diff --git a/premake5.lua b/premake5.lua index 90e1c5a5b..35ce8ef81 100644 --- a/premake5.lua +++ b/premake5.lua @@ -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") diff --git a/src/xenia/ui/qt/premake5.lua b/src/xenia/ui/qt/premake5.lua new file mode 100644 index 000000000..b5e865924 --- /dev/null +++ b/src/xenia/ui/qt/premake5.lua @@ -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() diff --git a/third_party/premake-qt b/third_party/premake-qt new file mode 160000 +Subproject 735cb810f12e7347f1894bbed32a41ad8570940 |
