summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2020-02-17 01:01:32 +0200
committerJan-Marek Glogowski <glogow@fbihome.de>2021-04-07 16:17:08 +0000
commit6ad1cc9d2fbae534ce55b042a0fe63c7f9039cc5 (patch)
treef5479647c1dfb484fc8babad127c1ff13274da87
parenta62d29cd3d1d49df6c969a8d16ce9da6c055343b (diff)
Build filterconfig.
Change-Id: Ic3b273f92f3e98b10f6223b830f16983ef53ce5c
-rw-r--r--filter/meson.build34
-rw-r--r--meson.build1
-rw-r--r--officecfg/TypeDetection/meson.build15
-rw-r--r--officecfg/meson.build1
4 files changed, 51 insertions, 0 deletions
diff --git a/filter/meson.build b/filter/meson.build
new file mode 100644
index 000000000000..1b0fb1ec61c6
--- /dev/null
+++ b/filter/meson.build
@@ -0,0 +1,34 @@
+filterconfig_lib = shared_library('filterconfig',
+ 'source/config/cache/basecontainer.cxx',
+ 'source/config/cache/cacheitem.cxx',
+ 'source/config/cache/cacheupdatelistener.cxx',
+ 'source/config/cache/configflush.cxx',
+ 'source/config/cache/contenthandlerfactory.cxx',
+ 'source/config/cache/filtercache.cxx',
+ 'source/config/cache/filterfactory.cxx',
+ 'source/config/cache/frameloaderfactory.cxx',
+ 'source/config/cache/querytokenizer.cxx',
+ 'source/config/cache/registration.cxx',
+ 'source/config/cache/typedetection.cxx',
+ udk_fake_h, off_fake_h, setup_hxx, uisort_hxx,
+ cpp_args: ['-DLIBO_INTERNAL_ONLY'],
+ include_directories: [main_inc, udkh_inc, offapi_inc, 'inc', setup_inc],
+ link_with: [fwe_lib, utl_lib, tl_lib, comphelper_lib, cppuhelper_lib, cppu_lib, salhelper_lib, sal_lib, i18nlangtag_lib],
+ dependencies: [],
+)
+
+# Requires too much custom target work. Fix later.
+#svgfilter_lib = shared_library('svgfilter',
+# 'source/svg/svgfilter.cxx',
+# 'source/svg/svgexport.cxx',
+# 'source/svg/svgfontexport.cxx',
+# 'source/svg/svgwriter.cxx',
+# udk_fake_h, off_fake_h, setup_hxx, uisort_hxx,
+# cpp_args: ['-DLIBO_INTERNAL_ONLY',
+# '-DBOOST_ALL_NO_LIB',
+# '-DUSE_MODERN_SPIRIT',
+# '-DFILTER_DLLIMPLEMENTATION'],
+# include_directories: [main_inc, udkh_inc, offapi_inc, 'inc', setup_inc],
+# link_with: [],
+# dependencies: [],
+#)
diff --git a/meson.build b/meson.build
index 860610dc967d..e33525f25191 100644
--- a/meson.build
+++ b/meson.build
@@ -120,3 +120,4 @@ subdir('avmedia')
subdir('connectivity')
subdir('svx')
subdir('package')
+subdir('filter')
diff --git a/officecfg/TypeDetection/meson.build b/officecfg/TypeDetection/meson.build
new file mode 100644
index 000000000000..902f64ac4cbf
--- /dev/null
+++ b/officecfg/TypeDetection/meson.build
@@ -0,0 +1,15 @@
+uisort_hxx = custom_target('UISort.hxx',
+ output: 'UISort.hxx',
+ input: ['../registry/cppheader.xsl',
+ '../registry/schema/org/openoffice/TypeDetection/UISort.xcs'],
+ command: [xslt_bin,
+ '--nonet',
+ '--stringparam',
+ 'ns1',
+ 'TypeDetection',
+ '--stringparam',
+ 'ns2',
+ 'UISort',
+ '-o',
+ '@OUTPUT@',
+ '@INPUT@'])
diff --git a/officecfg/meson.build b/officecfg/meson.build
index 6210adf59c33..b2029efccb41 100644
--- a/officecfg/meson.build
+++ b/officecfg/meson.build
@@ -1,4 +1,5 @@
subdir('Office')
+subdir('TypeDetection')
setup_hxx = custom_target('Setup.hxx',
output: 'Setup.hxx',