Re: [HACKERS] MSVC build system

2008-03-12 Thread Bruce Momjian
Added to TODO for Win32: o Convert MSVC build system to remove most batch files http://archives.postgresql.org/pgsql-hackers/2007-08/msg00961.php --- Andrew Dunstan wrote: I want to overhaul

Re: [HACKERS] MSVC build system

2007-09-14 Thread Hannes Eder
Andrew Dunstan wrote: I want to overhaul the MSVC build system somewhat and want to discuss my plans. [snip]. Apart from fixing the issue with using the systems dir command rather than using File::Find, which I will revisit, I think that's all I would do now, given how close we are to

Re: [HACKERS] MSVC build system

2007-08-29 Thread David Boreham
Magnus Hagander wrote: David Boreham wrote: To add my 2d worth to this: after working on a few very large projects that built on both Unix and Windows my preference is to use a single autotools-based build for both, with a script called cccl that translates cc-style arguments for Microsoft's

Re: [HACKERS] MSVC build system

2007-08-28 Thread Magnus Hagander
Tom Lane wrote: Magnus Hagander [EMAIL PROTECTED] writes: Alvaro Herrera wrote: That, or we create the makefiles in a fixed system and keep the Makefiles in CVS (though would be derived files). IIRC, we previously looked into cmake and concluded it supported a lot fewer platforms than

[HACKERS] MSVC build system

2007-08-27 Thread Andrew Dunstan
I want to overhaul the MSVC build system somewhat and want to discuss my plans. The first thing I want to do is get rid of at least most of the .bat files in it altogether and make a single coherent perl-based system. The reasons are: . the XP_EXIT_FIX hack we built in to cater for the XP

Re: [HACKERS] MSVC build system

2007-08-27 Thread Neil Conway
On Mon, 2007-08-27 at 11:00 -0400, Andrew Dunstan wrote: In the longer run I want to make the whole system more data driven, so that it's comparatively easy for someone to add stuff. I don't mean to hijack your thread, but I wonder if maintaining two separate build systems is the best approach

Re: [HACKERS] MSVC build system

2007-08-27 Thread Andrew Dunstan
Neil Conway wrote: On Mon, 2007-08-27 at 11:00 -0400, Andrew Dunstan wrote: In the longer run I want to make the whole system more data driven, so that it's comparatively easy for someone to add stuff. I don't mean to hijack your thread, but I wonder if maintaining two separate

Re: [HACKERS] MSVC build system

2007-08-27 Thread Alvaro Herrera
Andrew Dunstan wrote: Neil Conway wrote: I don't mean to hijack your thread, but I wonder if maintaining two separate build systems is the best approach in the long term. I think CMake[1] is an interesting alternative: it would allow us to generate both makefiles and MSVC .proj's from a

Re: [HACKERS] MSVC build system

2007-08-27 Thread David Boreham
Neil Conway wrote: On Mon, 2007-08-27 at 11:00 -0400, Andrew Dunstan wrote: In the longer run I want to make the whole system more data driven, so that it's comparatively easy for someone to add stuff. I don't mean to hijack your thread, but I wonder if maintaining two separate build

Re: [HACKERS] MSVC build system

2007-08-27 Thread Magnus Hagander
Alvaro Herrera wrote: Andrew Dunstan wrote: Neil Conway wrote: I don't mean to hijack your thread, but I wonder if maintaining two separate build systems is the best approach in the long term. I think CMake[1] is an interesting alternative: it would allow us to generate both makefiles

Re: [HACKERS] MSVC build system

2007-08-27 Thread Magnus Hagander
David Boreham wrote: Neil Conway wrote: On Mon, 2007-08-27 at 11:00 -0400, Andrew Dunstan wrote: In the longer run I want to make the whole system more data driven, so that it's comparatively easy for someone to add stuff. I don't mean to hijack your thread, but I wonder if

Re: [HACKERS] MSVC build system

2007-08-27 Thread Andrew Dunstan
Magnus Hagander wrote: IIRC, we previously looked into cmake and concluded it supported a lot fewer platforms than pgsql. However, if we can go by Alvaros suggestion and keep the makefiles as derived files, that could certainly work... But everyone would still need to learn it. Maybe

Re: [HACKERS] MSVC build system

2007-08-27 Thread Magnus Hagander
Andrew Dunstan wrote: Magnus Hagander wrote: IIRC, we previously looked into cmake and concluded it supported a lot fewer platforms than pgsql. However, if we can go by Alvaros suggestion and keep the makefiles as derived files, that could certainly work... But everyone would

Re: [HACKERS] MSVC build system

2007-08-27 Thread Tom Lane
Magnus Hagander [EMAIL PROTECTED] writes: Alvaro Herrera wrote: That, or we create the makefiles in a fixed system and keep the Makefiles in CVS (though would be derived files). IIRC, we previously looked into cmake and concluded it supported a lot fewer platforms than pgsql. However, if