[geos-commits] r2863 - in trunk/tests: . xmltester
svn_geos at osgeo.org
svn_geos at osgeo.org
Sat Jan 16 22:12:44 EST 2010
Author: mloskot
Date: 2010-01-16 22:12:44 -0500 (Sat, 16 Jan 2010)
New Revision: 2863
Added:
trunk/tests/xmltester/CMakeLists.txt
Modified:
trunk/tests/CMakeLists.txt
Log:
Added simplewkttester and xmltester tests to CMake configuration (#317)
Modified: trunk/tests/CMakeLists.txt
===================================================================
--- trunk/tests/CMakeLists.txt 2010-01-17 03:00:26 UTC (rev 2862)
+++ trunk/tests/CMakeLists.txt 2010-01-17 03:12:44 UTC (rev 2863)
@@ -12,4 +12,7 @@
#
#################################################################################
-add_subdirectory(unit)
\ No newline at end of file
+add_subdirectory(unit)
+add_subdirectory(xmltester)
+
+# TODO: add other test programs
\ No newline at end of file
Added: trunk/tests/xmltester/CMakeLists.txt
===================================================================
--- trunk/tests/xmltester/CMakeLists.txt (rev 0)
+++ trunk/tests/xmltester/CMakeLists.txt 2010-01-17 03:12:44 UTC (rev 2863)
@@ -0,0 +1,33 @@
+#################################################################################
+# $Id$
+#
+# GEOS XML tests runner build configuration for CMake build system
+#
+# Copyright (C) 2009 Mateusz Loskot <mateusz at loskot.net>
+#
+# 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.
+#
+#################################################################################
+
+include_directories(${CMAKE_CURRENT_SOURCE_DIR})
+include_directories(${CMAKE_CURRENT_SOURCE_DIR}/tinyxml)
+
+set(simplewkttester_SOURCES SimpleWKTTester.cpp)
+
+set(xmltester_SOURCES
+ XMLTester.cpp
+ tinyxml/tinyxml.cpp
+ tinyxml/tinystr.cpp
+ tinyxml/tinyxmlerror.cpp
+ tinyxml/tinyxmlparser.cpp
+ BufferResultMatcher.cpp
+ SingleSidedBufferResultMatcher.cpp)
+
+add_executable(simplewkttester ${simplewkttester_SOURCES})
+target_link_libraries(simplewkttester geos)
+
+add_executable(xmltester ${xmltester_SOURCES})
+target_link_libraries(xmltester geos)
More information about the geos-commits
mailing list