[libgda/wip/meson] Meson: postgres provider use its own gen_def program
- From: Daniel Espinosa Ortiz <despinosa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda/wip/meson] Meson: postgres provider use its own gen_def program
- Date: Mon, 18 Jun 2018 22:37:45 +0000 (UTC)
commit 30abab80bdcb83a6baeed95b89a6851a9f2dfb78
Author: Daniel Espinosa <esodan gmail com>
Date: Mon Jun 18 16:44:23 2018 -0500
Meson: postgres provider use its own gen_def program
providers/reuseable/postgres/meson.build | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/providers/reuseable/postgres/meson.build b/providers/reuseable/postgres/meson.build
index b04625382..ba9c8d01d 100644
--- a/providers/reuseable/postgres/meson.build
+++ b/providers/reuseable/postgres/meson.build
@@ -54,8 +54,15 @@ pg_lemon_parserh = custom_target('pg_lemon-parser_h',
install : false
)
+postgres_gendef = executable('gen_def', 'gen_def.c',
+ c_args: [
+ '-DIMPOSED_HEADER="'+join_paths (meson.build_root(), 'libgda',
'sql-parser','token_types.h')+'"'
+ ],
+ install: false
+ )
+
pg_token_types = custom_target('pg_token_types',
- command: [gendef_exe],
+ command: [postgres_gendef],
capture: true,
input: [pg_lemon_parserh],
output: 'postgres_token_types.h',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]