pgsql: Add output directory option to gen_node_support.pl

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add output directory option to gen_node_support.pl
Date: 2022-07-18 19:56:18
Message-ID: E1oDWqn-000ADQ-R3@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add output directory option to gen_node_support.pl

This is in preparation for building postgres with meson / ninja.

When building with meson, commands are run at the root of the build tree. Add
an option to put build output into the appropriate place. This can be utilized
by src/tools/msvc/ for a minor simplification, which also provides some
coverage for the new option.

Reviewed-by: Peter Eisentraut <peter(dot)eisentraut(at)enterprisedb(dot)com>
Discussion: https://postgr.es/m/5e216522-ba3c-f0e6-7f97-5276d0270029@enterprisedb.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/adba4b74710669cefe8e66cd8f586b47e6431f48

Modified Files
--------------
src/backend/nodes/gen_node_support.pl | 29 ++++++++++++++++++-----------
src/tools/msvc/Solution.pm | 9 +++------
2 files changed, 21 insertions(+), 17 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2022-07-18 21:14:08 Re: pgsql: ecpg: Output dir, source dir, stamp file argument for preproc/*.
Previous Message Peter Eisentraut 2022-07-18 19:08:23 pgsql: Re-add SPICleanup for ABI compatibility in stable branch