[gnote/meson: 5/5] Meson compile gnote




commit b5f6f4d8f11c9d476af693fd326f3a709c6f9865
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Sat Mar 27 16:43:38 2021 +0200

    Meson compile gnote

 src/meson.build | 34 ++++++++++++++++++++++++++++++++--
 1 file changed, 32 insertions(+), 2 deletions(-)
---
diff --git a/src/meson.build b/src/meson.build
index d11fe8cc..3cc9c79f 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -68,10 +68,40 @@ libgnote_sources = [
   'synchronization/syncserviceaddin.cpp',
 ]
 
+gnote_sources = [
+  'sharp/addinstreemodel.cpp',
+  'actionmanager.cpp',
+  'gnote.cpp',
+  'preferencesdialog.cpp',
+  'recentchanges.cpp',
+  'searchnoteswidget.cpp',
+  'notebooks/notebookstreeview.cpp',
+  'synchronization/gnotesyncclient.cpp',
+  'synchronization/silentui.cpp',
+  'synchronization/syncdialog.cpp',
+  'synchronization/syncmanager.cpp',
+  'main.cpp',
+]
+
+dbus_sources = [
+  'remotecontrolproxy.cpp',
+  'dbus/remotecontrol.cpp',
+  'dbus/remotecontrol-glue.cpp',
+  'dbus/searchprovider.cpp',
+]
+
 libgnote_shared_lib = shared_library(
-  'gnote-@0@'.format(version),
-  libgnote_sources,
+  'gnote-@0@'.format(gnote_release),
+  [ libgnote_sources, dbus_sources ],
+  dependencies: dependencies,
+  include_directories: root_include_dir,
+)
+
+gnote = executable(
+  'gnote',
+  gnote_sources,
   dependencies: dependencies,
   include_directories: root_include_dir,
+  link_with: libgnote_shared_lib,
 )
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]