################################################################################# # # CMake configuration for GEOS benchmarks/operation/predicate tests # # Copyright (C) 2017 Mateusz Loskot # # This is free software; you can redistribute and/or modify it under # the terms of the GNU Lesser General Public Licence as published # by the Free Software Foundation. # See the COPYING file for more information. # ################################################################################# add_executable(perf_interiorpoint_area InteriorPointAreaPerfTest.cpp) target_link_libraries(perf_interiorpoint_area geos) add_executable(perf_unaryunion_segments UnaryUnionSegmentsPerfTest.cpp) target_link_libraries(perf_unaryunion_segments geos) if (benchmark_FOUND) add_executable(perf_orientation OrientationIndexPerfTest.cpp ${PROJECT_SOURCE_DIR}/src/algorithm/CGAlgorithmsDD.cpp ${PROJECT_SOURCE_DIR}/src/math/DD.cpp) target_include_directories(perf_orientation PUBLIC $ $) target_link_libraries(perf_orientation PRIVATE benchmark::benchmark geos_cxx_flags) add_executable(perf_line_intersector LineIntersectorPerfTest.cpp) target_include_directories(perf_line_intersector PUBLIC $ $ $) target_link_libraries(perf_line_intersector PRIVATE benchmark::benchmark geos) add_executable(perf_voronoi VoronoiPerfTest.cpp) target_include_directories(perf_voronoi PUBLIC $ $ $) target_link_libraries(perf_voronoi PRIVATE benchmark::benchmark geos) endif() add_subdirectory(locate)