Ticket #15 (closed defect: fixed)

Opened 13 months ago

Last modified 5 months ago

Provide a way to programatically obtain the library version

Reported by: hobu Owned by: mhadji
Priority: minor Milestone: 1.4
Component: Indexes Version:
Keywords: Cc:

Description

It may be necessary for applications to be able to do fine-grained things based on the version of libspatialindex that is currently linked. I propose that we use a GDAL/libLAS-style approach with an include called #Version.h (or other appropriate name).

 http://liblas.org/browser/trunk/include/liblas/capi/las_version.h

The only downside I see is remembering to increment things at release time.

I'm open to other approaches than this rather simple one, but I think it is important for developers to be able to determine at compile time what version of libspatialindex they might be dealing with.

Howard

Change History

Changed 5 months ago by hobu

  • priority changed from major to minor
  • status changed from new to closed
  • resolution set to fixed
  • milestone set to 1.4

Added in r117

Note: See TracTickets for help on using tickets.