diff options
author | Andrew <forkk@forkk.net> | 2013-12-15 14:48:58 -0600 |
---|---|---|
committer | Andrew <forkk@forkk.net> | 2013-12-15 14:50:27 -0600 |
commit | 0ee8f90d40f5b3ddb177286c9066a4e59748c681 (patch) | |
tree | 43bdb631834ec7c1251a944b7b8b17f8a5db201c /CMakeLists.txt | |
parent | 1e96a0c8eba2d932e08a33ec909cf8141f1aaa43 (diff) | |
download | MultiMC-0ee8f90d40f5b3ddb177286c9066a4e59748c681.tar MultiMC-0ee8f90d40f5b3ddb177286c9066a4e59748c681.tar.gz MultiMC-0ee8f90d40f5b3ddb177286c9066a4e59748c681.tar.lz MultiMC-0ee8f90d40f5b3ddb177286c9066a4e59748c681.tar.xz MultiMC-0ee8f90d40f5b3ddb177286c9066a4e59748c681.zip |
Added a system to load news from MultiMC.org's RSS
Currently it doesn't show it anywhere in the UI. That's next.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 8dadbad4..7880d0d1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -110,6 +110,11 @@ IF(${BIGENDIAN}) ENDIF(${BIGENDIAN}) +######## Set URLs ######## + +SET(MultiMC_NEWS_RSS_URL "http://multimc.org/rss.xml" CACHE STRING "URL to fetch MultiMC's news RSS feed from.") + + ######## Set version numbers ######## SET(MultiMC_VERSION_MAJOR 1) SET(MultiMC_VERSION_MINOR 0) @@ -325,6 +330,12 @@ logic/updater/UpdateChecker.cpp logic/updater/DownloadUpdateTask.h logic/updater/DownloadUpdateTask.cpp +# News System +logic/news/NewsChecker.h +logic/news/NewsChecker.cpp +logic/news/NewsEntry.h +logic/news/NewsEntry.cpp + # legacy instances logic/LegacyInstance.h logic/LegacyInstance.cpp @@ -477,7 +488,7 @@ ADD_EXECUTABLE(MultiMC MACOSX_BUNDLE WIN32 # Link TARGET_LINK_LIBRARIES(MultiMC xz-embedded unpack200 quazip libUtil libSettings libGroupView ${MultiMC_LINK_ADDITIONAL_LIBS}) -QT5_USE_MODULES(MultiMC Core Widgets Network Xml ${MultiMC_QT_ADDITIONAL_MODULES}) +QT5_USE_MODULES(MultiMC Core Widgets Network Xml WebKit ${MultiMC_QT_ADDITIONAL_MODULES}) ADD_DEPENDENCIES(MultiMC MultiMCLauncher JavaCheck) ################################ INSTALLATION AND PACKAGING ################################ |