aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorCalvin Rose <calsrose@gmail.com>2019-06-07 22:42:09 -0400
committerCalvin Rose <calsrose@gmail.com>2019-06-07 22:42:09 -0400
commit6249f03367d7dd550275ea36c37b7ec786c45517 (patch)
tree66efaf0d11004c49757a05a07853d9f165d2ceee
parentMerge pull request #123 from andrewchambers/stdlibfd (diff)
Add janet_dep to meson build file.
-rw-r--r--meson.build4
1 files changed, 4 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 47db1dff..ab311cf0 100644
--- a/meson.build
+++ b/meson.build
@@ -180,6 +180,10 @@ endforeach
# Repl
run_target('repl', command : [janet_nativeclient])
+# For use as meson subproject (wrap)
+janet_dep = declare_dependency(include_directories : incdir,
+ link_with : libjanet)
+
# Installation
install_man('janet.1')
install_headers('src/include/janet.h', 'src/include/janetconf.h', subdir: 'janet')