[babl] add extensions, tools
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [babl] add extensions, tools
- Date: Sat, 16 Dec 2017 01:49:15 +0000 (UTC)
commit d66945ca594011da9084a96693189fface114760
Author: Félix Piédallu <felix piedallu me>
Date: Thu Nov 23 18:18:56 2017 +0100
add extensions, tools
extensions/meson.build | 44 ++++++++++++++++++++++++++++++++++++++++++++
meson.build | 4 ++--
tools/meson.build | 23 +++++++++++++++++++++++
3 files changed, 69 insertions(+), 2 deletions(-)
---
diff --git a/extensions/meson.build b/extensions/meson.build
new file mode 100644
index 0000000..547c059
--- /dev/null
+++ b/extensions/meson.build
@@ -0,0 +1,44 @@
+extension_names = [
+ '16bit',
+ 'cairo',
+ 'CIE',
+ 'fast-float',
+ 'float-half',
+ 'float',
+ 'gegl-fixups',
+ 'gggl-lies',
+ 'gggl-table-lies',
+ 'gggl-table',
+ 'gggl',
+ 'gimp-8bit',
+ 'grey',
+ 'HCY',
+ 'HSL',
+ 'HSV',
+ 'naive-CMYK',
+ 'simple',
+ 'sse-half',
+ 'sse2-float',
+ 'sse2-int16',
+ 'sse2-int8',
+ 'sse4-int8',
+ 'two-table',
+ 'ycbcr',
+]
+
+foreach extension_name : extension_names
+ extension = library(extension_name,
+ extension_name + '.c',
+ include_directories: [ rootInclude, bablInclude, ],
+ link_with: [ babl, ],
+ dependencies: [ math, thread, ],
+ name_prefix: '',
+ install: false,
+ )
+endforeach
+
+# sse2_float_la_CFLAGS = $(SSE2_EXTRA_CFLAGS)
+# sse2_int8_la_CFLAGS = $(SSE2_EXTRA_CFLAGS)
+# sse2_int16_la_CFLAGS = $(SSE2_EXTRA_CFLAGS)
+# sse4_int8_la_CFLAGS = $(SSE4_1_EXTRA_CFLAGS)
+# sse_half_la_CFLAGS = $(SSE4_1_EXTRA_CFLAGS) $(F16C_EXTRA_CFLAGS)
diff --git a/meson.build b/meson.build
index 68f6414..075c8df 100644
--- a/meson.build
+++ b/meson.build
@@ -248,9 +248,9 @@ configure_file(
rootInclude = include_directories('.')
subdir('babl')
-# subdir('extensions')
+subdir('extensions')
subdir('tests')
-# subdir('tools')
+subdir('tools')
if get_option('with-docs')
# subdir('docs')
endif
diff --git a/tools/meson.build b/tools/meson.build
new file mode 100644
index 0000000..0daf092
--- /dev/null
+++ b/tools/meson.build
@@ -0,0 +1,23 @@
+
+tool_names = [
+ 'babl_fish_path_fitness',
+ 'babl-benchmark',
+ 'babl-html-dump',
+ 'babl-icc-dump',
+ 'babl-icc-rewrite',
+ 'babl-verify',
+ 'conversions',
+ 'formats',
+ 'introspect',
+ 'trc-validator',
+]
+
+foreach tool_name : tool_names
+ tool = executable(tool_name,
+ tool_name + '.c',
+ include_directories: [ rootInclude, bablInclude, ],
+ link_with: [ babl, ],
+ dependencies: [ math, thread, ],
+ install: false,
+ )
+endforeach
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]