[mapserver-dev] Building external projects with libmapserver
sebastic at xs4all.nl
Thu Sep 26 02:35:10 PDT 2013
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
Is the CMake module the way to go for external project, or am I missing
GnuPG: 0xE88D4AF1 (new) / 0x77A975AD (old)
More information about the mapserver-dev