diff options
author | Timofey <t.danshin@corp.mail.ru> | 2016-09-29 15:47:03 +0300 |
---|---|---|
committer | Timofey <t.danshin@corp.mail.ru> | 2016-10-04 14:32:46 +0300 |
commit | 117816a3ed32299d0672dffb60b80576408a3028 (patch) | |
tree | ee879a2bbbda04aecf6d5ac2e5e7d70e2fed1e66 /platform | |
parent | fc814daaf9b1854e97237050f98a4e5cdc475073 (diff) |
Decimated spaces in the CMake files.
Diffstat (limited to 'platform')
-rw-r--r-- | platform/CMakeLists.txt | 176 | ||||
-rw-r--r-- | platform/platform_tests/CMakeLists.txt | 36 | ||||
-rw-r--r-- | platform/platform_tests_support/CMakeLists.txt | 18 |
3 files changed, 115 insertions, 115 deletions
diff --git a/platform/CMakeLists.txt b/platform/CMakeLists.txt index 90f694b02e..bf4c2e972e 100644 --- a/platform/CMakeLists.txt +++ b/platform/CMakeLists.txt @@ -1,103 +1,103 @@ include_directories(${CMAKE_HOME_DIRECTORY}/3party/jansson/src ${OMIM_DIR}/platform) set( - SRC - chunks_download_strategy.cpp - chunks_download_strategy.hpp - constants.hpp - country_defines.cpp - country_defines.hpp - country_file.cpp - country_file.hpp - file_logging.cpp - file_logging.hpp - get_text_by_id.cpp - get_text_by_id.hpp - http_request.cpp - http_request.hpp - http_thread_callback.hpp - local_country_file.cpp - local_country_file.hpp - local_country_file_utils.cpp - local_country_file_utils.hpp - location.hpp - measurement_utils.cpp - measurement_utils.hpp - mwm_traits.cpp - mwm_traits.hpp - mwm_version.cpp - mwm_version.hpp - platform.cpp - platform.hpp - preferred_languages.cpp - preferred_languages.hpp - servers_list.cpp - servers_list.hpp - settings.cpp - settings.hpp + SRC + chunks_download_strategy.cpp + chunks_download_strategy.hpp + constants.hpp + country_defines.cpp + country_defines.hpp + country_file.cpp + country_file.hpp + file_logging.cpp + file_logging.hpp + get_text_by_id.cpp + get_text_by_id.hpp + http_request.cpp + http_request.hpp + http_thread_callback.hpp + local_country_file.cpp + local_country_file.hpp + local_country_file_utils.cpp + local_country_file_utils.hpp + location.hpp + measurement_utils.cpp + measurement_utils.hpp + mwm_traits.cpp + mwm_traits.hpp + mwm_version.cpp + mwm_version.hpp + platform.cpp + platform.hpp + preferred_languages.cpp + preferred_languages.hpp + servers_list.cpp + servers_list.hpp + settings.cpp + settings.hpp ) if(${PL_IPHONE}) + set( + SRC + ${SRC} + http_thread_apple.h + http_thread_apple.mm + platform_ios.mm + platform_unix_impl.cpp + platform_unix_impl.hpp + ) +elseif(${PL_ANDROID}) + set( + SRC + ${SRC} + platform_android.cpp + platform_unix_impl.cpp + platform_unix_impl.hpp + ) +else() # neither iPhone nor Android + set( + SRC + ${SRC} + location_service.cpp + location_service.hpp + platform_qt.cpp + wifi_info.hpp + wifi_location_service.cpp + ) + + if (${PL_WIN}) set( - SRC - ${SRC} - http_thread_apple.h - http_thread_apple.mm - platform_ios.mm - platform_unix_impl.cpp - platform_unix_impl.hpp + SRC + ${SRC} + http_thread_qt.cpp + http_thread_qt.hpp + platform_win.cpp + wifi_info_windows.cpp ) -elseif(${PL_ANDROID}) + elseif(${PL_MAC}) set( - SRC - ${SRC} - platform_android.cpp - platform_unix_impl.cpp - platform_unix_impl.hpp + SRC + ${SRC} + apple_location_service.mm + http_thread_apple.h + http_thread_apple.mm + platform_mac.mm + platform_unix_impl.cpp + platform_unix_impl.hpp ) -else() # neither iPhone nor Android + elseif(${PL_LINUX}) set( - SRC - ${SRC} - location_service.cpp - location_service.hpp - platform_qt.cpp - wifi_info.hpp - wifi_location_service.cpp - ) - - if (${PL_WIN}) - set( - SRC - ${SRC} - http_thread_qt.cpp - http_thread_qt.hpp - platform_win.cpp - wifi_info_windows.cpp - ) - elseif(${PL_MAC}) - set( - SRC - ${SRC} - apple_location_service.mm - http_thread_apple.h - http_thread_apple.mm - platform_mac.mm - platform_unix_impl.cpp - platform_unix_impl.hpp - ) - elseif(${PL_LINUX}) - set( - SRC - ${SRC} - http_thread_qt.cpp - http_thread_qt.hpp - platform_linux.cpp - platform_unix_impl.cpp - platform_unix_impl.hpp - ) - endif() + SRC + ${SRC} + http_thread_qt.cpp + http_thread_qt.hpp + platform_linux.cpp + platform_unix_impl.cpp + platform_unix_impl.hpp + ) + endif() endif() diff --git a/platform/platform_tests/CMakeLists.txt b/platform/platform_tests/CMakeLists.txt index 5a664e20a3..23c03dcbc1 100644 --- a/platform/platform_tests/CMakeLists.txt +++ b/platform/platform_tests/CMakeLists.txt @@ -2,17 +2,17 @@ add_definitions(-DOMIM_UNIT_TEST_WITH_QT_EVENT_LOOP) include_directories(${APL_SYSCON}) set( - SRC - apk_test.cpp - country_file_tests.cpp - get_text_by_id_tests.cpp - jansson_test.cpp - language_test.cpp - local_country_file_tests.cpp - location_test.cpp - measurement_tests.cpp - mwm_version_test.cpp - platform_test.cpp + SRC + apk_test.cpp + country_file_tests.cpp + get_text_by_id_tests.cpp + jansson_test.cpp + language_test.cpp + local_country_file_tests.cpp + location_test.cpp + measurement_tests.cpp + mwm_version_test.cpp + platform_test.cpp ) omim_add_test(platform_tests ${SRC}) @@ -20,14 +20,14 @@ omim_link_libraries(platform_tests platform_tests_support platform coding base j if (${PL_MAC}) - target_link_libraries(platform_tests ${Qt5Widgets_LIBRARIES} - "-framework Cocoa" - "-framework IOKit" - "-framework QuartzCore" - "-framework SystemConfiguration" - ) + target_link_libraries(platform_tests ${Qt5Widgets_LIBRARIES} + "-framework Cocoa" + "-framework IOKit" + "-framework QuartzCore" + "-framework SystemConfiguration" + ) endif() if (${PL_WIN} OR ${PL_LINUX}) - target_link_libraries(platform_tests ${Qt5Network_LIBRARIES}) + target_link_libraries(platform_tests ${Qt5Network_LIBRARIES}) endif() diff --git a/platform/platform_tests_support/CMakeLists.txt b/platform/platform_tests_support/CMakeLists.txt index 1a25dcb9cd..8aca483afd 100644 --- a/platform/platform_tests_support/CMakeLists.txt +++ b/platform/platform_tests_support/CMakeLists.txt @@ -1,13 +1,13 @@ set( - SRC - scoped_dir.cpp - scoped_dir.hpp - scoped_file.cpp - scoped_file.hpp - scoped_mwm.cpp - scoped_mwm.hpp - writable_dir_changer.cpp - writable_dir_changer.hpp + SRC + scoped_dir.cpp + scoped_dir.hpp + scoped_file.cpp + scoped_file.hpp + scoped_mwm.cpp + scoped_mwm.hpp + writable_dir_changer.cpp + writable_dir_changer.hpp ) add_library(platform_tests_support ${SRC}) |