diff options
author | Timofey <t.danshin@corp.mail.ru> | 2015-10-22 20:24:32 +0300 |
---|---|---|
committer | Timofey <t.danshin@corp.mail.ru> | 2015-10-26 17:10:20 +0300 |
commit | f3e28e9795376702c874f9083aca46c17bb48b4a (patch) | |
tree | 7d30e18c1c38bdd4a4f8514a4c9a8a22c888f9ec /platform/downloader_tests/downloader_tests.pro | |
parent | 7696222a6c470cdc387182a3a05f0f32c49c4670 (diff) |
Moving downloader_tests into a separate executable.
Added $$ROOT_DIR
Removed unnecessary comments
Diffstat (limited to 'platform/downloader_tests/downloader_tests.pro')
-rw-r--r-- | platform/downloader_tests/downloader_tests.pro | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/platform/downloader_tests/downloader_tests.pro b/platform/downloader_tests/downloader_tests.pro new file mode 100644 index 0000000000..22545d5340 --- /dev/null +++ b/platform/downloader_tests/downloader_tests.pro @@ -0,0 +1,27 @@ +TARGET = downloader_tests +CONFIG += console warn_on +CONFIG -= app_bundle +TEMPLATE = app + +ROOT_DIR = ../.. +DEPENDENCIES = platform_tests_support platform coding base minizip tomcrypt jansson + +include($$ROOT_DIR/common.pri) + +INCLUDEPATH *= $$ROOT_DIR/3party/jansson/src + +DEFINES *= OMIM_UNIT_TEST_WITH_QT_EVENT_LOOP + +QT *= core + +macx-* { + QT *= gui widgets # needed for QApplication with event loop, to test async events (downloader, etc.) + LIBS *= "-framework IOKit" "-framework QuartzCore" +} +win32*|linux* { + QT *= network +} + +SOURCES += \ + ../../testing/testingmain.cpp \ + downloader_test.cpp \ |