diff options
author | Ilya Zverev <ilya@zverev.info> | 2016-09-07 13:34:46 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-07 13:34:46 +0300 |
commit | 80681fa58696bad974b6e9eb12dfaac0c770e5e5 (patch) | |
tree | 28e199ea33e1993440aa706096e2351bc1920367 /geometry | |
parent | e34ff29fc192f5fe62e6a4ee21dd634277107c9a (diff) | |
parent | 8c051ba03f8b80bb12404798fa333894075b6970 (diff) |
Merge pull request #4199 from therearesomewhocallmetim/cmake_base
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) |