This commit is contained in:
Petr Mrázek 2013-01-20 01:16:07 +01:00
parent 3e0ba1ffd3
commit f33ab9beb1
4 changed files with 33 additions and 5 deletions

View File

@ -97,8 +97,18 @@ configure_file("${PROJECT_SOURCE_DIR}/config.h.in"
SET(MULTIMC_SOURCES
main.cpp
gui/mainwindow.cpp
data/appsettings.cpp
data/inifile.cpp
data/instancebase.cpp
data/instancelist.cpp
data/settingsbase.cpp
data/stdinstance.cpp
gui/mainwindow.cpp
gui/modeditwindow.cpp
gui/settingsdialog.cpp
util/pathutils.cpp
java/javautils.cpp
@ -107,8 +117,20 @@ java/annotations.cpp
SET(MULTIMC_HEADERS
gui/mainwindow.h
gui/modeditwindow.h
gui/settingsdialog.h
data/appsettings.h
data/inifile.h
data/instancebase.h
data/instancelist.h
data/settingsbase.h
data/settingsmacros.h
data/settingsmacrosundef.h
data/stdinstance.h
util/pathutils.h
multimc_pragma.h
java/annotations.h
@ -120,13 +142,19 @@ java/javautils.h
java/membuffer.h
)
SET(MULTIMC5_UIS
gui/mainwindow.ui
gui/modeditwindow.ui
gui/settingsdialog.ui
)
SET_SOURCE_FILES_PROPERTIES(resources/MultiMCLauncher.jar GENERATED)
QT5_WRAP_UI(MULTIMC_UI gui/mainwindow.ui)
QT5_WRAP_UI(MULTIMC_UI ${MULTIMC5_UIS})
QT5_ADD_RESOURCES(MULTIMC_QRC multimc.qrc)
add_executable(multimc5 ${MULTIMC_SOURCES} ${MULTIMC_HEADERS} ${MULTIMC_UI} ${MULTIMC_QRC})
qt5_use_modules(multimc5 Widgets)
link_libraries(multimc5 quazip patchlib)
target_link_libraries(multimc5 quazip patchlib)
add_dependencies(multimc5 MultiMCLauncher)
install(TARGETS multimc5 RUNTIME DESTINATION bin)

View File

@ -18,7 +18,7 @@
#include <QSettings>
#include "../util/settingsmacros.h"
#include "settingsmacros.h"
class SettingsBase : public QSettings
{
@ -28,6 +28,6 @@ public:
};
#include "../util/settingsmacrosundef.h"
#include "settingsmacrosundef.h"
#endif // SETTINGSBASE_H

View File

View File