From c340258be693d0c90f6f806674367176923baca4 Mon Sep 17 00:00:00 2001 From: Tau Date: Wed, 7 Nov 2018 16:40:39 -0500 Subject: [PATCH] nu: Add empty static library --- meson.build | 1 + nu/guid.c | 2 ++ nu/meson.build | 13 +++++++++++++ 3 files changed, 16 insertions(+) create mode 100644 nu/guid.c create mode 100644 nu/meson.build diff --git a/meson.build b/meson.build index 8ce7a51..b4ba461 100644 --- a/meson.build +++ b/meson.build @@ -17,4 +17,5 @@ add_project_link_arguments( inc = include_directories('.') capnhook = subproject('capnhook') +subdir('nu') subdir('util') diff --git a/nu/guid.c b/nu/guid.c new file mode 100644 index 0000000..3bb6ac4 --- /dev/null +++ b/nu/guid.c @@ -0,0 +1,2 @@ +#include +#include diff --git a/nu/meson.build b/nu/meson.build new file mode 100644 index 0000000..5f5390e --- /dev/null +++ b/nu/meson.build @@ -0,0 +1,13 @@ +nu_lib = static_library( + 'nu', + include_directories : inc, + implicit_include_directories : false, + c_pch : '../precompiled.h', + dependencies : [ + capnhook.get_variable('hook_dep'), + capnhook.get_variable('hooklib_dep'), + ], + sources : [ + 'guid.c', + ], +)