[mapserver-dev] Building external projects with libmapserver
pagameba at gmail.com
Thu Sep 26 07:33:43 PDT 2013
I am interested in the public C API for consumption in node-mapserver.
On 2013-09-26, at 6:29 AM, thomas bonfort <thomas.bonfort at GMAIL.COM> wrote:
> The higher level issue we have is that we do not publish a public API,
> and therefore there should be no 3rd party applications having the
> need to link or compile against us. That said, we could rather easily
> bring back the mapserver-config script by having it generated by cmake
> (very closely to the patches you've applied for debian). For 7.0 I
> would like to publish such an API that would be sufficient for
> mapcache, other interested projects can chime in and help if they need
> further functionality exposed.
> On 26 September 2013 11:35, Sebastiaan Couwenberg <sebastic at xs4all.nl> wrote:
>> Hi all,
>> Related to the recent threads about building MapCache with MapServer
>> support on mapserver-users  and zoo-project on mapserver-dev .
>> The mapserver-config executable provided build information that is no
>> longer available in the current CMake builds.
>> While it's possible to build MapCache 1.2.0 with MapServer 6.2.1 by just
>> specifying MAPSERVER_LIBRARY, this is not sufficient to build MapCache
>> 1.2.0 with MapServer 6.4.0.
>> For the Debian packages I've patched the CMake build to export a CMake
>> module which contains among others the list of include directories used
>> to build MapServer so these can be included in the MapCache build.
>>  This information used to be provided by mapserver-config, but has
>> no equivalent in MapServer 6.4.0.
>> While the exported module looks like a nice solution for CMake based
>> projects, autotools based projects are not able to easily get the list
>> of includes required for MapServer. Or they'd need to parse the CMake
>> module too.
>> Is the CMake module the way to go for external project, or am I missing
>> Kind Regards,
>> GnuPG: 0xE88D4AF1 (new) / 0x77A975AD (old)
>> mapserver-dev mailing list
>> mapserver-dev at lists.osgeo.org
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org
More information about the mapserver-dev