yuzu/CMakeLists: Remove qt5_wrap_ui macro usage

We can simply enable CMAKE_AUTOUIC and let CMake take care of handling
the UI code generation for targets.

As part of letting CMake automatically handle the header file parsing,
we must not name includes with "ui_*" unless they're related to the
output of the Qt UIC compiler. Because of this, we need to rename
ui_settings, given it would conflict with this restriction.
This commit is contained in:
Lioncash 2019-07-29 16:06:33 -04:00
parent f601f25bcc
commit 5980aa1e51
16 changed files with 41 additions and 46 deletions

15
src/yuzu/uisettings.cpp Normal file
View file

@ -0,0 +1,15 @@
// Copyright 2016 Citra Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
#include "yuzu/uisettings.h"
namespace UISettings {
const Themes themes{{
{"Default", "default"},
{"Dark", "qdarkstyle"},
}};
Values values = {};
} // namespace UISettings