mirror of
https://github.com/Dark98/threeSD.git
synced 2026-07-04 00:38:47 +00:00
Fix stuff; add appveyor config
This commit is contained in:
+5
-3
@@ -75,12 +75,10 @@ else()
|
||||
-Wall
|
||||
-Wno-attributes
|
||||
-pedantic
|
||||
-pedantic-errors
|
||||
-Wno-missing-braces
|
||||
)
|
||||
|
||||
if (WARNINGS_AS_ERRORS)
|
||||
add_compile_options(-Werror -Wfatal-errors)
|
||||
add_compile_options(-Werror -Wfatal-errors -pedantic-errors)
|
||||
endif()
|
||||
|
||||
if (APPLE AND CMAKE_CXX_COMPILER_ID STREQUAL Clang)
|
||||
@@ -107,6 +105,10 @@ else()
|
||||
add_compile_options("-static")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if (NOT DEBUG)
|
||||
add_compile_options("-flto")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
add_subdirectory(common)
|
||||
|
||||
@@ -18,6 +18,15 @@
|
||||
#include "common/common_paths.h"
|
||||
#endif
|
||||
|
||||
#ifdef QT_STATICPLUGIN
|
||||
#include <QtPlugin>
|
||||
|
||||
Q_IMPORT_PLUGIN(QWindowsIntegrationPlugin)
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 10, 0)
|
||||
Q_IMPORT_PLUGIN(QWindowsVistaStylePlugin)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
bool IsConfigGood(const Core::Config& config) {
|
||||
return !config.sdmc_path.empty() && !config.user_path.empty() &&
|
||||
!config.movable_sed_path.empty() && !config.bootrom_path.empty();
|
||||
|
||||
Reference in New Issue
Block a user