CMake/MSVC Support

Paul Ramsey pramsey at cleverelephant.ca
Wed Jul 17 07:13:45 PDT 2024


Tracks right for me. Cmake and postgis has never been a priority, mostly because we need to integrate with the postgresql build, and nothing happened there for cmake. As Regina mentioned, doing something with meson is a more fruitful path to an MSVC build, at this point.

P

> On Jul 16, 2024, at 10:40 PM, Regina Obe <lr at pcorp.us> wrote:
> 
> We had debates about it a long time ago, but none of us were interested in putting in the effort to make it work
> and those that did put in effort dropped a half done patch and left.
>  Even though I’m a windows user, I don’t like using MSVC except when I’m forced to so I’m personally not interested in working on CMake just to support MSVC.
>  If we go any route, it would be most likely Meson to be in line with PostgreSQL proper which does support MSVC in their Meson tooling.
> But this is my VERY VERY opinionated rehash of history that has passed.
>  Anyone else want to give an alternative view of our CMake past history discussions.
>  Thanks,
> Regina
>   From: Will Bowers <wbowers314 at gmail.com> 
> Sent: Tuesday, July 16, 2024 8:00 PM
> To: postgis-devel at lists.osgeo.org
> Subject: CMake/MSVC Support
>  Hello,
>  I was wondering if PostGIS has any current, past, or planned support for CMake? I have seen some old forks of PostGIS with some CMake project files. I also saw some very old posts talking about building PostGIS with CMake, but I don't see anything up to date on the subject.
>  My ultimate goal is to get PostGIS building with MSVC as well.
>  Let me know if you have any resources for me, or if you are interested in someone getting this working!
> Will




More information about the postgis-devel mailing list