[postgis-devel]WKTRaster:WhyhavingtocompilePostgreSQL&PostGISfirst?

Mateusz Loskot mateusz at loskot.net
Wed Mar 4 15:45:09 PST 2009


Magnus Hagander wrote:
> Mark Cave-Ayland wrote:
>> Mateusz Loskot wrote:
>>> b) it can be compiled using Visual C++ and
>>> c) there is building configuration for Visual Studio toolset,
>>> then I can't see any reason why some makefiles couldn't be generated
>>> under Windows without MinGW or cygwin.
>>
>> Well as part of the rebuilding of the PostGIS build system, I made a
>> conscious effort to write it in a way that would make compilation under
>> MSVC possible. As a result, all of the logic has been moved from the
>> Makefiles into autotools which generates postgis_config.h. So if you can
>> come up with a suitable file for MSVC, you should just be left with
>> standard MSVC compatibility issues.
> 
> Sorry for pehaps bringing up an already closed topic, but what happened
> to previous discussions about using cmake? If you want examples, there
> are now cmake buildfiles for pgAdmin3 (they're not the primary ones yet,
> but they're there)

Magnus,

Could you explain how cmake can help for getting PGXS working with
Visual C++?

I still seem to be missing some important puzzles - what for autotools
are required for PGXS? What is so unique in autotools that can not be
replaced, for PGXS?

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org



More information about the postgis-devel mailing list