1 #################################################################################
3 # CMake configuration for GEOS big test
5 # Copyright (C) 2011 Mateusz Loskot <mateusz@loskot.net>
7 # This is free software; you can redistribute and/or modify it under
8 # the terms of the GNU Lesser General Public Licence as published
9 # by the Free Software Foundation.
10 # See the COPYING file for more information.
12 #################################################################################
14 set(STATUS_MESSAGE "Enable GEOS large geometry tests build")
15 set(STATUS_RESULT "OFF")
19 include_directories(${CMAKE_CURRENT_SOURCE_DIR})
20 include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src/io/markup)
22 add_executable(bug234 bug234.cpp)
24 if(APPLE AND GEOS_ENABLE_MACOSX_FRAMEWORK)
25 target_link_libraries(bug234 GEOS)
27 target_link_libraries(bug234 geos)
30 add_executable(TestSweepLineSpeed
31 TestSweepLineSpeed.cpp
32 GeometryTestFactory.cpp
34 if(APPLE AND GEOS_ENABLE_MACOSX_FRAMEWORK)
35 target_link_libraries(TestSweepLineSpeed GEOS)
37 target_link_libraries(TestSweepLineSpeed geos)
40 add_test(bug234 ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/bug234)
41 add_test(TestSweepLineSpeed ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/TestSweepLineSpeed)
43 set(STATUS_RESULT "ON")
46 message(STATUS "${STATUS_MESSAGE} - ${STATUS_RESULT}")