diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-04-08 14:52:40 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-04-08 14:52:40 +0200 |
commit | badceb8dfa8b54ff6da55e9a2188da53ad1aa8e8 (patch) | |
tree | 5332436d7e74723db680d7430adf3b483e3daaae /CMakeLists.txt | |
parent | Add FeatureSummary to CMakeLists (diff) | |
download | smolbote-badceb8dfa8b54ff6da55e9a2188da53ad1aa8e8.tar.xz |
Multithreading UrlRequestInterceptor
- Add parse() free function to UrlRequestInterceptor
- hostlists are loaded in parallel via QtConcurrent
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 1b9e25d..f582600 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,6 +8,7 @@ option(MercurialRepo "Get version information from .hg" ON) option(CompilerWarnings "Compiler warnings" ON) option(QtDeprecatedWarnings "Qt deprecated warnings" ON) option(UseLibCpp "Use libc++ over stdlibc++ (requires clang)" OFF) +option(Tests "Enable/disable some basic autotests" ON) # Libraries find_package(Qt5 COMPONENTS Core Widgets Concurrent REQUIRED) @@ -61,4 +62,10 @@ add_subdirectory(src) # configuration program add_subdirectory(config) +if (Tests) + enable_testing() + find_package(Qt5 COMPONENTS Test REQUIRED) + add_subdirectory(test) +endif() + feature_summary(WHAT ALL) |