diff options
author | Timofey <t.danshin@corp.mail.ru> | 2016-09-01 14:15:09 +0300 |
---|---|---|
committer | Timofey <t.danshin@corp.mail.ru> | 2016-09-06 13:59:55 +0300 |
commit | 4ceff6053ff5c84a72b57946c4a568c220fadf06 (patch) | |
tree | 3ed0075a574508415b2853643e9d0bf4da5ddf2a /geometry | |
parent | d1c09dee99fea872e5b90a13db85e75bb0ae3bb8 (diff) |
Wrote cmake lists for base and base_tests
Diffstat (limited to 'geometry')
-rw-r--r-- | geometry/CMakeLists.txt | 51 | ||||
-rw-r--r-- | geometry/geometry_tests/CMakeLists.txt | 38 |
2 files changed, 89 insertions, 0 deletions
diff --git a/geometry/CMakeLists.txt b/geometry/CMakeLists.txt new file mode 100644 index 0000000000..0cdcb8927a --- /dev/null +++ b/geometry/CMakeLists.txt @@ -0,0 +1,51 @@ +add_subdirectory(geometry_tests) + +set( + SRC + algorithm.cpp + algorithm.hpp + angles.cpp + angles.hpp + any_rect2d.hpp + avg_vector.hpp + cellid.hpp + clipping.cpp + clipping.hpp + covering.hpp + covering_utils.hpp + distance.hpp + distance_on_sphere.cpp + distance_on_sphere.hpp + latlon.cpp + latlon.hpp + mercator.cpp + mercator.hpp + packer.cpp + packer.hpp + point2d.hpp + pointu_to_uint64.hpp + polygon.hpp + polyline2d.hpp + rect2d.hpp + rect_intersect.hpp + region2d.hpp + robust_orientation.cpp + robust_orientation.hpp + screenbase.cpp + screenbase.hpp + segment2d.cpp + segment2d.hpp + simplification.hpp + spline.cpp + spline.hpp + transformations.hpp + tree4d.hpp + triangle2d.cpp + triangle2d.hpp + + region2d/binary_operators.cpp + region2d/binary_operators.hpp + region2d/boost_concept.hpp +) + +omim_add_library(geometry ${SRC}) diff --git a/geometry/geometry_tests/CMakeLists.txt b/geometry/geometry_tests/CMakeLists.txt new file mode 100644 index 0000000000..0c560297f1 --- /dev/null +++ b/geometry/geometry_tests/CMakeLists.txt @@ -0,0 +1,38 @@ +add_definitions(-DOMIM_UNIT_TEST_DISABLE_PLATFORM_INIT) + +set( + SRC + algorithm_test.cpp + angle_test.cpp + anyrect_test.cpp + cellid_test.cpp + clipping_test.cpp + common_test.cpp + covering_test.cpp + distance_on_sphere_test.cpp + distance_test.cpp + equality.hpp + intersect_test.cpp + large_polygon.hpp + latlon_test.cpp + mercator_test.cpp + packer_test.cpp + point_test.cpp + pointu_to_uint64_test.cpp + polygon_test.cpp + rect_test.cpp + region2d_binary_op_test.cpp + region_test.cpp + robust_test.cpp + screen_test.cpp + segments_intersect_test.cpp + simplification_test.cpp + spline_test.cpp + test_regions.hpp + transformations_test.cpp + tree_test.cpp + vector_test.cpp +) + +omim_add_test(geometry_tests ${SRC}) +omim_link_libraries(geometry_tests base geometry) |