Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt1
-rw-r--r--drape_frontend/CMakeLists.txt225
-rw-r--r--drape_frontend/drape_frontend_tests/CMakeLists.txt36
3 files changed, 262 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c315ce2cf5..20ad050b20 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -153,6 +153,7 @@ add_subdirectory(geometry)
add_subdirectory(platform)
add_subdirectory(3party/opening_hours)
add_subdirectory(stats)
+add_subdirectory(drape_frontend)
add_subdirectory(storage)
add_subdirectory(editor)
add_subdirectory(indexer)
diff --git a/drape_frontend/CMakeLists.txt b/drape_frontend/CMakeLists.txt
new file mode 100644
index 0000000000..dc626e0752
--- /dev/null
+++ b/drape_frontend/CMakeLists.txt
@@ -0,0 +1,225 @@
+project(drape_frontend)
+
+include_directories(
+ .
+ watch
+ ${OMIM_ROOT}/3party/protobuf/src
+ ${OMIM_ROOT}/3party/expat/lib
+ ${OMIM_ROOT}/3party/freetype/include
+ ${OMIM_ROOT}/3party/glm
+)
+
+set(
+ SRC
+ ${OMIM_ROOT}/3party/agg/agg_curves.cpp
+ animation/animation.cpp
+ animation/animation.hpp
+ animation/arrow_animation.cpp
+ animation/arrow_animation.hpp
+ animation/base_interpolator.cpp
+ animation/base_interpolator.hpp
+ animation/follow_animation.cpp
+ animation/follow_animation.hpp
+ animation/interpolation_holder.cpp
+ animation/interpolation_holder.hpp
+ animation/interpolations.cpp
+ animation/interpolations.hpp
+ animation/interpolators.cpp
+ animation/interpolators.hpp
+ animation/linear_animation.cpp
+ animation/linear_animation.hpp
+ animation/opacity_animation.cpp
+ animation/opacity_animation.hpp
+ animation/parallel_animation.cpp
+ animation/parallel_animation.hpp
+ animation/scale_animation.cpp
+ animation/scale_animation.hpp
+ animation/sequence_animation.cpp
+ animation/sequence_animation.hpp
+ animation/show_hide_animation.cpp
+ animation/show_hide_animation.hpp
+ animation/value_mapping.hpp
+ animation_constants.hpp
+ animation_system.cpp
+ animation_system.hpp
+ animation_utils.cpp
+ animation_utils.hpp
+ apply_feature_functors.cpp
+ apply_feature_functors.hpp
+ area_shape.cpp
+ area_shape.hpp
+ arrow3d.cpp
+ arrow3d.hpp
+ backend_renderer.cpp
+ backend_renderer.hpp
+ base_renderer.cpp
+ base_renderer.hpp
+ batch_merge_helper.cpp
+ batch_merge_helper.hpp
+ batchers_pool.cpp
+ batchers_pool.hpp
+ circle_shape.cpp
+ circle_shape.hpp
+ color_constants.cpp
+ color_constants.hpp
+ drape_api.cpp
+ drape_api.hpp
+ drape_api_builder.cpp
+ drape_api_builder.hpp
+ drape_api_renderer.cpp
+ drape_api_renderer.hpp
+ drape_engine.cpp
+ drape_engine.hpp
+ engine_context.cpp
+ engine_context.hpp
+ framebuffer.cpp
+ framebuffer.hpp
+ frontend_renderer.cpp
+ frontend_renderer.hpp
+ gps_track_point.hpp
+ gps_track_renderer.cpp
+ gps_track_renderer.hpp
+ gps_track_shape.cpp
+ gps_track_shape.hpp
+ gui/choose_position_mark.cpp
+ gui/choose_position_mark.hpp
+ gui/compass.cpp
+ gui/compass.hpp
+ gui/copyright_label.cpp
+ gui/copyright_label.hpp
+ gui/debug_label.cpp
+ gui/debug_label.hpp
+ gui/drape_gui.cpp
+ gui/drape_gui.hpp
+ gui/gui_text.cpp
+ gui/gui_text.hpp
+ gui/layer_render.cpp
+ gui/layer_render.hpp
+ gui/ruler.cpp
+ gui/ruler.hpp
+ gui/ruler_helper.cpp
+ gui/ruler_helper.hpp
+ gui/shape.cpp
+ gui/shape.hpp
+ gui/skin.cpp
+ gui/skin.hpp
+ intrusive_vector.hpp
+ kinetic_scroller.cpp
+ kinetic_scroller.hpp
+ line_shape.cpp
+ line_shape.hpp
+ line_shape_helper.cpp
+ line_shape_helper.hpp
+ map_data_provider.cpp
+ map_data_provider.hpp
+ map_shape.hpp
+ message.hpp
+ message_acceptor.cpp
+ message_acceptor.hpp
+ message_queue.cpp
+ message_queue.hpp
+ message_subclasses.hpp
+ my_position.cpp
+ my_position.hpp
+ my_position_controller.cpp
+ my_position_controller.hpp
+ navigator.cpp
+ navigator.hpp
+ overlay_batcher.cpp
+ overlay_batcher.hpp
+ path_symbol_shape.cpp
+ path_symbol_shape.hpp
+ path_text_shape.cpp
+ path_text_shape.hpp
+ poi_symbol_shape.cpp
+ poi_symbol_shape.hpp
+ read_manager.cpp
+ read_manager.hpp
+ read_mwm_task.cpp
+ read_mwm_task.hpp
+ render_group.cpp
+ render_group.hpp
+ render_node.cpp
+ render_node.hpp
+ requested_tiles.cpp
+ requested_tiles.hpp
+ route_builder.cpp
+ route_builder.hpp
+ route_renderer.cpp
+ route_renderer.hpp
+ route_shape.cpp
+ route_shape.hpp
+ rule_drawer.cpp
+ rule_drawer.hpp
+ screen_animations.cpp
+ screen_animations.hpp
+ screen_operations.cpp
+ screen_operations.hpp
+ selection_shape.cpp
+ selection_shape.hpp
+ shape_view_params.hpp
+ stylist.cpp
+ stylist.hpp
+ text_handle.cpp
+ text_handle.hpp
+ text_layout.cpp
+ text_layout.hpp
+ text_shape.cpp
+ text_shape.hpp
+ threads_commutator.cpp
+ threads_commutator.hpp
+ tile_info.cpp
+ tile_info.hpp
+ tile_key.cpp
+ tile_key.hpp
+ tile_utils.cpp
+ tile_utils.hpp
+ traffic_generator.cpp
+ traffic_generator.hpp
+ traffic_renderer.cpp
+ traffic_renderer.hpp
+ transparent_layer.cpp
+ transparent_layer.hpp
+ user_event_stream.cpp
+ user_event_stream.hpp
+ user_mark_shapes.cpp
+ user_mark_shapes.hpp
+ user_marks_provider.cpp
+ user_marks_provider.hpp
+ viewport.cpp
+ viewport.hpp
+ visual_params.cpp
+ visual_params.hpp
+ watch/area_info.hpp
+ watch/brush_info.hpp
+ watch/circle_info.hpp
+ watch/cpu_drawer.cpp
+ watch/cpu_drawer.hpp
+ watch/default_font.cpp
+ watch/feature_processor.cpp
+ watch/feature_processor.hpp
+ watch/feature_styler.cpp
+ watch/feature_styler.hpp
+ watch/frame_image.hpp
+ watch/geometry_processors.cpp
+ watch/geometry_processors.hpp
+ watch/glyph_cache.cpp
+ watch/glyph_cache.hpp
+ watch/glyph_cache_impl.cpp
+ watch/glyph_cache_impl.hpp
+ watch/icon_info.hpp
+ watch/path_info.hpp
+ watch/pen_info.hpp
+ watch/point.h
+ watch/proto_to_styles.cpp
+ watch/proto_to_styles.hpp
+ watch/rect.h
+ watch/software_renderer.cpp
+ watch/software_renderer.hpp
+ watch/text_engine.cpp
+ watch/text_engine.h
+)
+
+add_library(${PROJECT_NAME} ${SRC})
+
+omim_add_test_subdirectory(drape_frontend_tests)
diff --git a/drape_frontend/drape_frontend_tests/CMakeLists.txt b/drape_frontend/drape_frontend_tests/CMakeLists.txt
new file mode 100644
index 0000000000..e50f9228f4
--- /dev/null
+++ b/drape_frontend/drape_frontend_tests/CMakeLists.txt
@@ -0,0 +1,36 @@
+project(drape_frontend_tests)
+
+set(
+ SRC
+ navigator_test.cpp
+ object_pool_tests.cpp
+ user_event_stream_tests.cpp
+)
+
+omim_add_test(${PROJECT_NAME} ${SRC})
+
+if (PLATFORM_MAC)
+ omim_link_libraries(
+ ${PROJECT_NAME}
+ ${Qt5Widgets_LIBRARIES}
+ "-framework Cocoa"
+ "-framework IOKit"
+ "-framework QuartzCore"
+ "-framework SystemConfiguration"
+ )
+endif()
+
+omim_link_libraries(
+ ${PROJECT_NAME}
+ drape_frontend
+ drape
+ platform
+ indexer
+ geometry
+ coding
+ base
+ expat
+ tomcrypt
+ stats_client
+ ${Qt5OpenGL_LIBRARIES}
+) \ No newline at end of file