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
path: root/base
diff options
context:
space:
mode:
authorTimofey <t.danshin@corp.mail.ru>2016-09-01 14:15:09 +0300
committerTimofey <t.danshin@corp.mail.ru>2016-09-06 13:59:55 +0300
commit4ceff6053ff5c84a72b57946c4a568c220fadf06 (patch)
tree3ed0075a574508415b2853643e9d0bf4da5ddf2a /base
parentd1c09dee99fea872e5b90a13db85e75bb0ae3bb8 (diff)
Wrote cmake lists for base and base_tests
Diffstat (limited to 'base')
-rw-r--r--base/CMakeLists.txt82
-rw-r--r--base/base_tests/CMakeLists.txt38
2 files changed, 120 insertions, 0 deletions
diff --git a/base/CMakeLists.txt b/base/CMakeLists.txt
new file mode 100644
index 0000000000..cf59f0932c
--- /dev/null
+++ b/base/CMakeLists.txt
@@ -0,0 +1,82 @@
+add_subdirectory(base_tests)
+
+set(
+ SRC
+ SRC_FIRST.hpp
+ array_adapters.hpp
+ assert.hpp
+ base.cpp
+ base.hpp
+ bits.hpp
+ buffer_vector.hpp
+ cache.hpp
+ cancellable.hpp
+ collection_cast.hpp
+ condition.cpp
+ condition.hpp
+ condition_bada.cpp
+ condition_posix.cpp
+ condition_windows_native.cpp
+ const_helper.hpp
+ deferred_task.cpp
+ deferred_task.hpp
+ exception.cpp
+ exception.hpp
+ gmtime.cpp
+ gmtime.hpp
+ limited_priority_queue.hpp
+ logging.cpp
+ logging.hpp
+ lower_case.cpp
+ macros.hpp
+ math.hpp
+ matrix.hpp
+ mem_trie.hpp
+ mutex.hpp
+ newtype.hpp
+ normalize_unicode.cpp
+ object_tracker.cpp
+ object_tracker.hpp
+ observer_list.hpp
+ range_iterator.hpp
+ ref_counted.hpp
+ rolling_hash.hpp
+ scope_guard.hpp
+ set_operations.hpp
+ shared_buffer_manager.cpp
+ shared_buffer_manager.hpp
+ src_point.cpp
+ src_point.hpp
+ stats.hpp
+ std_serialization.hpp
+ stl_add.hpp
+ stl_helpers.hpp
+ stl_iterator.hpp
+ string_format.cpp
+ string_format.hpp
+ string_utils.cpp
+ string_utils.hpp
+ strings_bundle.cpp
+ strings_bundle.hpp
+ sunrise_sunset.cpp
+ sunrise_sunset.hpp
+ swap.hpp
+ thread.cpp
+ thread.hpp
+ thread_checker.cpp
+ thread_checker.hpp
+ thread_pool.cpp
+ thread_pool.hpp
+ threaded_container.cpp
+ threaded_container.hpp
+ threaded_list.hpp
+ threaded_priority_queue.hpp
+ timegm.cpp
+ timegm.hpp
+ timer.cpp
+ timer.hpp
+ worker_thread.hpp
+ internal/message.cpp
+)
+
+omim_add_library(base ${SRC})
diff --git a/base/base_tests/CMakeLists.txt b/base/base_tests/CMakeLists.txt
new file mode 100644
index 0000000000..4a51f647b2
--- /dev/null
+++ b/base/base_tests/CMakeLists.txt
@@ -0,0 +1,38 @@
+add_definitions(-DOMIM_UNIT_TEST_DISABLE_PLATFORM_INIT)
+
+set(
+ SRC
+ assert_test.cpp
+ bits_test.cpp
+ buffer_vector_test.cpp
+ cache_test.cpp
+ collection_cast_test.cpp
+ condition_test.cpp
+ const_helper.cpp
+ containers_test.cpp
+ logging_test.cpp
+ math_test.cpp
+ matrix_test.cpp
+ mem_trie_test.cpp
+ newtype_test.cpp
+ observer_list_test.cpp
+ range_iterator_test.cpp
+ ref_counted_tests.cpp
+ regexp_test.cpp
+ rolling_hash_test.cpp
+ scope_guard_test.cpp
+ stl_add_test.cpp
+ stl_helpers_test.cpp
+ string_format_test.cpp
+ string_utils_test.cpp
+ sunrise_sunset_test.cpp
+ thread_pool_tests.cpp
+ threaded_list_test.cpp
+ threads_test.cpp
+ timegm_test.cpp
+ timer_test.cpp
+ worker_thread_test.cpp
+)
+
+omim_add_test(base_tests ${SRC})
+omim_link_libraries(base_tests base)