summaryrefslogtreecommitdiff
path: root/clients/tui/newt
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2017-11-25 11:39:06 +0100
committerThomas Haller <thaller@redhat.com>2017-12-13 15:48:50 +0100
commit03637ad8b5d21fcc12a536a25caf46445aabde73 (patch)
tree3330fed2a9ad0f45c0c993a8aac6d3dee42ed101 /clients/tui/newt
parente96fabfc186510808cee1bf6aaaa28f460f1cea5 (diff)
downloadNetworkManager-03637ad8b5d21fcc12a536a25caf46445aabde73.tar.gz
build: add initial support for meson build system
meson is a build system focused on speed an ease of use, which helps speeding up the software development. This patch adds meson support along autotools. [thaller@redhat.com: rebased patch and adjusted for iwd support] https://mail.gnome.org/archives/networkmanager-list/2017-December/msg00022.html
Diffstat (limited to 'clients/tui/newt')
-rw-r--r--clients/tui/newt/meson.build35
1 files changed, 35 insertions, 0 deletions
diff --git a/clients/tui/newt/meson.build b/clients/tui/newt/meson.build
new file mode 100644
index 0000000000..2920a8f9fe
--- /dev/null
+++ b/clients/tui/newt/meson.build
@@ -0,0 +1,35 @@
+sources = files(
+ 'nmt-newt-button-box.c',
+ 'nmt-newt-button.c',
+ 'nmt-newt-checkbox.c',
+ 'nmt-newt-component.c',
+ 'nmt-newt-container.c',
+ 'nmt-newt-entry.c',
+ 'nmt-newt-entry-numeric.c',
+ 'nmt-newt-form.c',
+ 'nmt-newt-grid.c',
+ 'nmt-newt-hacks.c',
+ 'nmt-newt-label.c',
+ 'nmt-newt-listbox.c',
+ 'nmt-newt-popup.c',
+ 'nmt-newt-section.c',
+ 'nmt-newt-separator.c',
+ 'nmt-newt-stack.c',
+ 'nmt-newt-textbox.c',
+ 'nmt-newt-toggle-button.c',
+ 'nmt-newt-utils.c',
+ 'nmt-newt-widget.c'
+)
+
+libnmt_newt = static_library(
+ 'nmt-newt',
+ sources: sources + [libnm_core_enums_h],
+ include_directories: incs,
+ dependencies: deps,
+ c_args: cflags
+)
+
+libnmt_newt_dep = declare_dependency(
+ link_with: libnmt_newt,
+ include_directories: include_directories('.')
+)