1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-07-05 00:28:52 +02:00
Files
pgbackrest/src/postgres/meson.build
David Steele c625f05a13 Unify code builder binaries into a single binary.
Creating new binaries was convenient at first but has now become a maintenance issue.

Solve this by combining that into a single binary that takes an additional parameter to indicate which code should be built.

Also clean up path handling to make it easier to build code from the command line.
2022-07-20 17:45:39 -04:00

16 lines
575 B
Meson

####################################################################################################################################
# Generate PostgreSQL interfaces
####################################################################################################################################
interface_auto_c_inc = custom_target(
'interface.auto.c.inc',
output : 'interface.auto.c.inc',
depend_files: [
'../build/postgres/postgres.yaml',
],
command : [
build_code,
'postgres',
'@CURRENT_SOURCE_DIR@/../..',
],
)