# Search and/or reverse geocoding
add_subdirectory( hostip )
add_subdirectory( latlon )
add_subdirectory( local-osm-search )
add_subdirectory( localdatabase )
add_subdirectory( nominatim-search )
add_subdirectory( nominatim-reversegeocoding )
add_subdirectory( gosmore-reversegeocoding )

# Routing
add_subdirectory( gosmore-routing )
add_subdirectory( mapquest )
add_subdirectory( monav )
add_subdirectory( openrouteservice )
add_subdirectory( open-source-routing-machine )
add_subdirectory( routino )
add_subdirectory( yours )
add_subdirectory( cyclestreets )
# traveling-salesman works, but it is quite slow (tested version 1.0.3-RC1)
#add_subdirectory( traveling-salesman )

#Parsing
add_subdirectory( cache )
add_subdirectory( gpx )
add_subdirectory( json )
add_subdirectory( kml )
add_subdirectory( osm )
add_subdirectory( pn2 )
add_subdirectory( pnt )
add_subdirectory( log )
add_subdirectory( gpsbabel )

macro_optional_find_package( libshp )
marble_set_package_properties( libshp PROPERTIES DESCRIPTION "reading and writing of ESRI Shapefiles (.shp)" )
marble_set_package_properties( libshp PROPERTIES URL "http://shapelib.maptools.org/" )
marble_set_package_properties( libshp PROPERTIES TYPE OPTIONAL PURPOSE "reading and displaying .shp files" )
if( LIBSHP_FOUND )
  add_subdirectory( shp )
endif( LIBSHP_FOUND )
