Commit Graph

13 Commits

Author SHA1 Message Date
Sude
21699adc45 CMake: Work around FindThreads bug for CMake < 3.4.0
https://cmake.org/Bug/view.php?id=14905
2016-05-29 12:56:49 +03:00
Sude
442fad04db Add support for parallel downloads
New option "--threads" can be used to set how many parallel downloads to run. The default is 4 threads.

Changes to behavior:
- Serials and changelogs are saved and covers downloaded for all games that match the "--game" filter before any other files are downloaded.
- Automatic XML creation is run after all files are downloaded. Previously xml data was automatically created right after download finished.
- The "--limit-rate" option sets rate limit for thread not global rate limit.
2016-05-20 20:33:07 +03:00
Ferdinand Thiessen
c83f6294ab Ported code to use tinyxml2 instead of tinyxml 2016-05-13 14:37:02 +02:00
Sude
f0f670845e Version 2.28 2016-05-05 07:04:20 +03:00
Sude
2bdd485e5e CMake: set minimum required version of curl to 7.32.0 2016-05-03 17:12:23 +03:00
Sude
33fb004cdd Move GOG website related members of Downloader class to new Website class
Downloader::HTTP_Login --> Website::Login
Downloader::getGames --> Website::getGames
Downloader::getFreeGames --> Website::getFreeGames
Downloader::getGameDetailsJSON --> Website::getGameDetailsJSON
Getting wishlist details is split from Downloader::showWishlist to Website::getWishlistItems function
2016-04-18 20:33:19 +03:00
Sude
3e61a94d1e Version 2.27 2016-03-12 20:36:35 +02:00
Sude
9cf9a8f378 CMake: add check for Clang
Fixes compiling with Clang
2016-02-16 19:56:05 +02:00
Sude
84aeaa6bf1 CMake: lower the required version to 3.0.0 2016-02-16 19:02:22 +02:00
Sude
37577f9a98 Revert "Lower required CMake version"
This reverts commit e00bb4d931.
2016-02-15 02:32:12 +02:00
Sude
e00bb4d931 Lower required CMake version 2016-02-15 00:15:50 +02:00
Sude
14d9d3d89f Add -DDEBUG=1 to cmake cxx flags for debug build 2016-01-17 19:34:30 +02:00
Sandy Carter
a5cc950192 CMake: Convert Makefile build to CMake
Find libraries using cmake/Find*.cmake scripts
Replace Version String with CMake implementation based on CMake Version and
git ref-parse.
Compile manpages in man/CMakeLists.txt to build:
    cmake .
    make manpage
Set debug and release versions with
    cmake -DCMAKE_BUILD_TYPE=Debug
and
    cmake -DCMAKE_BUILD_TYPE=Release
Build and install process can be:
    cmake -DCMAKE_BUILD_TYPE=Release .
    make
    make install
More build options can be found with
    cmake .
    make help
Codeblocks project can be generated using
    cmake -G "CodeBlocks - Unix Makefiles" .
2016-01-03 16:50:29 -05:00