diff --git a/omim.pro b/omim.pro index 6d4b58201f..cd11fa16f3 100644 --- a/omim.pro +++ b/omim.pro @@ -22,6 +22,7 @@ SUBDIRS = 3party \ stats \ indexer \ platform \ + routing routing/routing_tests \ geometry/geometry_tests \ platform/platform_tests \ anim \ @@ -52,6 +53,7 @@ SUBDIRS = 3party \ platform \ anim \ indexer \ + routing \ storage \ graphics \ gui \ diff --git a/routing/routing.pro b/routing/routing.pro new file mode 100644 index 0000000000..c59a7b89ab --- /dev/null +++ b/routing/routing.pro @@ -0,0 +1,14 @@ +# Base functions project. +TARGET = routing +TEMPLATE = lib +CONFIG += staticlib warn_on + +ROOT_DIR = .. + +include($$ROOT_DIR/common.pri) + +SOURCES += \ + routing_engine.cpp \ + +HEADERS += \ + routing_engine.hpp \ diff --git a/routing/routing_engine.cpp b/routing/routing_engine.cpp new file mode 100644 index 0000000000..4269d833e8 --- /dev/null +++ b/routing/routing_engine.cpp @@ -0,0 +1,10 @@ +#include "routing_engine.hpp" + +namespace routing +{ + +RoutingEngine::RoutingEngine() +{ +} + +} // routing \ No newline at end of file diff --git a/routing/routing_engine.hpp b/routing/routing_engine.hpp new file mode 100644 index 0000000000..30f28c9bab --- /dev/null +++ b/routing/routing_engine.hpp @@ -0,0 +1,12 @@ +#pragma once + +namespace routing +{ + +class RoutingEngine +{ +public: + RoutingEngine(); +}; + +} // routing \ No newline at end of file diff --git a/routing/routing_tests/routing_smoke.cpp b/routing/routing_tests/routing_smoke.cpp new file mode 100644 index 0000000000..a6e779ea35 --- /dev/null +++ b/routing/routing_tests/routing_smoke.cpp @@ -0,0 +1,8 @@ +#include "../../testing/testing.hpp" + +#include "../routing_engine.hpp" + +UNIT_TEST(Routing_Smoke) +{ + TEST(true, ()); +} diff --git a/routing/routing_tests/routing_tests.pro b/routing/routing_tests/routing_tests.pro new file mode 100644 index 0000000000..b83bd4a617 --- /dev/null +++ b/routing/routing_tests/routing_tests.pro @@ -0,0 +1,20 @@ +# Routing lib unit tests + +TARGET = routing_tests +CONFIG += console warn_on +CONFIG -= app_bundle +TEMPLATE = app + +ROOT_DIR = ../.. +DEPENDENCIES = routing platform indexer geometry coding base + +include($$ROOT_DIR/common.pri) + +SOURCES += \ + ../../testing/testingmain.cpp \ + routing_smoke.cpp \ + +HEADERS += + + +