summaryrefslogtreecommitdiff
path: root/src/ipa/meson.build
diff options
context:
space:
mode:
authorPaul Elder <paul.elder@ideasonboard.com>2019-05-24 11:38:15 -0400
committerPaul Elder <paul.elder@ideasonboard.com>2019-06-05 10:44:52 -0400
commitdd5b899c5b599bcafc01dc8a53430d53b59b2db2 (patch)
treec2026cabbd0cd878d6fafa7f20e12995850d5c87 /src/ipa/meson.build
parent7fa98a4cdd296c86fe053ab17486c1e0e2a72e90 (diff)
libcamera: ipa: add dummy IPA implementation
Add a dummy IPA module. Signed-off-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'src/ipa/meson.build')
-rw-r--r--src/ipa/meson.build15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/ipa/meson.build b/src/ipa/meson.build
index be4f9547..3c33a37c 100644
--- a/src/ipa/meson.build
+++ b/src/ipa/meson.build
@@ -1,2 +1,15 @@
+ipa_dummy_sources = files([
+ 'ipa_dummy.cpp',
+])
+
+ipa_install_dir = join_paths(get_option('libdir'), 'libcamera')
+
+ipa_dummy = shared_library('ipa_dummy',
+ ipa_dummy_sources,
+ name_prefix : '',
+ include_directories : libcamera_includes,
+ install : true,
+ install_dir : ipa_install_dir)
+
config_h.set('IPA_MODULE_DIR',
- '"' + join_paths(get_option('prefix'), get_option('libdir'), 'libcamera') + '"')
+ '"' + join_paths(get_option('prefix'), ipa_install_dir) + '"')