Index: README =================================================================== --- README (revision 2933) +++ README (working copy) @@ -2,13 +2,22 @@ ============================= Unix ------ +---- - # ./configure - # make - # make check - # make install +Using Autotools (not CMake): + ./autogen.sh # if obtained from SVN + ./configure +Using CMake; build in a directory outside the source directory: + mkdir build + cd build + cmake ../trunk # (geos source directory) + +Now, all versions: + make + make check + make install + Win32 ----- @@ -38,47 +47,46 @@ To compile programs against the C lib (recommended): - CFLAGS += `geos-config --cflags` - LDFLAGS += `geos-config --ldflags` -lgeos_c - #include + CFLAGS += `geos-config --cflags` + LDFLAGS += `geos-config --ldflags` -lgeos_c + #include Example usage: - capi/geostest.c contains basic usage - examples. + capi/geostest.c contains basic usage examples. Using the C++ interface (discouraged) ------------------------------------- To compile programs against the C++ lib: - CFLAGS += `geos-config --cflags` - LDFLAGS += `geos-config --ldflags` -lgeos - #include + CFLAGS += `geos-config --cflags` + LDFLAGS += `geos-config --ldflags` -lgeos + #include Example usage: - doc/example.cpp contains basic usage - examples. + doc/example.cpp contains basic usage examples. Scripting language bindings --------------------------- -Ruby bindings are fully supported. To build, use the --enable-ruby option when -configuring: +Ruby bindings are fully supported. To build, use the --enable-ruby option +when configuring: - # ./configure ... --enable-ruby + ./configure ... --enable-ruby Since version 3.0, the Python bindings are unsupported. Recommended options: 1. Become or recruit a new maintainer. - 2. Use Shapely (http://pypi.python.org/pypi/Shapely) with Python versions 2.4 or greater. + 2. Use Shapely (http://pypi.python.org/pypi/Shapely) with Python + versions 2.4 or greater. 3. Simply call functions from libgeos_c via Python ctypes. DOCUMENTATION ============= - # cd doc; make doxygen-html + cd doc; make doxygen-html - http://trac.osgeo.org/geos + http://trac.osgeo.org/geos