[dia: 10/105] #19: Add app/meson.build. Builds dia app but still need objects/.
- From: Zander <zbrown src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dia: 10/105] #19: Add app/meson.build. Builds dia app but still need objects/.
- Date: Mon, 28 Jan 2019 19:20:10 +0000 (UTC)
commit 688f52d01b61c9c5a60d9bce027d275c7ce4d4b7
Author: Eduard Nicodei <eddnicodei gmail com>
Date: Mon Dec 17 00:45:48 2018 +0000
#19: Add app/meson.build. Builds dia app but still need objects/.
app/meson.build | 72 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
lib/meson.build | 2 ++
meson.build | 1 +
3 files changed, 75 insertions(+)
---
diff --git a/app/meson.build b/app/meson.build
new file mode 100644
index 00000000..0f842587
--- /dev/null
+++ b/app/meson.build
@@ -0,0 +1,72 @@
+subdir('pixmaps')
+
+dia_sources = [
+ 'confirm.c',
+ 'exit_dialog.c',
+ 'diagram.c',
+ 'preferences.c',
+ 'load_save.c',
+ 'properties-dialog.c',
+ 'defaults.c',
+ 'undo.c',
+ 'object_ops.c',
+ 'layer_dialog.c',
+ 'commands.c',
+ 'app_procs.c',
+ 'connectionpoint_ops.c',
+ 'disp_callbacks.c',
+ 'display.c',
+ 'select.c',
+ 'color_area.c',
+ 'linewidth_area.c',
+ 'grid.c',
+ 'handle_ops.c',
+ 'interface.c',
+ 'toolbox.c',
+ 'modify_tool.c',
+ 'scroll_tool.c',
+ 'create_object.c',
+ 'magnify.c',
+ 'menus.c',
+ 'cut_n_paste.c',
+ 'render_gdk.c',
+ 'ruler.c',
+ 'tool.c',
+ 'diapagelayout.c',
+ 'pagesetup.c',
+ 'filedlg.c',
+ 'find-and-replace.c',
+ 'plugin-manager.c',
+ 'dia-props.c',
+ 'gtkwrapbox.c',
+ 'gtkhwrapbox.c',
+ 'gtkvwrapbox.c',
+ 'cursor.c',
+ 'splash.c',
+ 'recent_files.c',
+
+ 'dia-application.c',
+
+ 'diagram_tree_model.c',
+ 'diagram_tree_view.c',
+
+ 'sheets.c',
+ 'sheets_dialog.c',
+ 'sheets_dialog_callbacks.c',
+ 'autosave.c',
+ 'dynamic_refresh.c',
+ 'navigation.c',
+ 'highlight.c',
+ 'textedit.c',
+ 'textedit_tool.c',
+
+ 'main.c'
+]
+
+dia = executable('dia',
+ dia_sources + [dia_app_icons_h],
+ dependencies : [libgtk_dep, libxml_dep, libm_dep],
+ link_with : libdia,
+ include_directories : [configuration_inc, libdia_inc],
+ gui_app : true,
+ install : true)
diff --git a/lib/meson.build b/lib/meson.build
index 1f4ca143..b2431d9b 100644
--- a/lib/meson.build
+++ b/lib/meson.build
@@ -129,6 +129,8 @@ libdia_deps = [
gmodule_dep
]
+libdia_inc = include_directories('.')
+
libdia = shared_library('dia',
libdia_sources + [diamarshal_c, diamarshal_h, dia_lib_icons_h],
dependencies : libdia_deps,
diff --git a/meson.build b/meson.build
index 90213545..b3ad206a 100644
--- a/meson.build
+++ b/meson.build
@@ -60,3 +60,4 @@ configuration_inc = include_directories('.')
add_project_arguments('-DHAVE_CONFIG_H', language : 'c')
subdir('lib')
+subdir('app')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]