[libgda] Setup libgda as Meson subproject
- From: Daniel Espinosa Ortiz <despinosa src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] Setup libgda as Meson subproject
- Date: Tue, 9 Apr 2019 15:07:45 +0000 (UTC)
commit f69ee0f8f7fb143774c3d6b8eb32a52265132ace
Author: Daniel Espinosa <esodan gmail com>
Date: Mon Apr 8 17:42:38 2019 -0500
Setup libgda as Meson subproject
libgda/meson.build | 22 +++++++++++++++-------
1 file changed, 15 insertions(+), 7 deletions(-)
---
diff --git a/libgda/meson.build b/libgda/meson.build
index efb2f63ac..5fbe10225 100644
--- a/libgda/meson.build
+++ b/libgda/meson.build
@@ -337,18 +337,21 @@ valacs += custom_target('vala-lib',
)
endforeach
+libgda_deps = [
+ libgda_dep,
+ #ldap_deps,
+ gda_keywordshash_dep,
+ inc_sqliteh_dep,
+ inc_libsql_parserh_dep
+ ]
+
+
libgda = library(
'gda-'+project_api_version,
libgda_source_all+valacs,
soversion : LT_VERSION+'.'+LT_AGE+'.'+LT_REVISION,
version : LT_VERSION,
- dependencies : [
- libgda_dep,
- #ldap_deps,
- gda_keywordshash_dep,
- inc_sqliteh_dep,
- inc_libsql_parserh_dep
- ],
+ dependencies : libgda_deps,
c_args : [
libgda_cargs,
ldap_cargs,
@@ -357,6 +360,11 @@ libgda = library(
install : true
)
+libgda_dep = declare_dependency(include_directories : inc_libgdah,
+ link_with : libgda,
+ dependencies: libgda_deps
+ )
+
# GObject Introspection
if girscanner.found()
gi_sources = [
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]