summaryrefslogtreecommitdiff
path: root/starmath/Library_sm.mk
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2015-01-12 00:45:17 +0900
committerMichael Stahl <mstahl@redhat.com>2015-01-13 12:12:13 +0000
commit9b87116fa4c5873fa719468f775589edd6c8613c (patch)
treec495ae1adf2f009ee065b5c7c0f5466e1c9dc104 /starmath/Library_sm.mk
parent5e4a7a95027d979b3bdd729d7ebe950da1129b2b (diff)
fdo#70185: starmath: unit test writing
This adds a unit test of importing a simple MathML file. New smdllapi.hxx defines a macro SM_DLLPUBLIC to turn on visibility of symbols required from a CppunitTest. Change-Id: I4f72d7d8f2766751580e5bde7dac4870e8dad62a Reviewed-on: https://gerrit.libreoffice.org/13861 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'starmath/Library_sm.mk')
-rw-r--r--starmath/Library_sm.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/starmath/Library_sm.mk b/starmath/Library_sm.mk
index fc1d1e1a9077..7208dcb49c74 100644
--- a/starmath/Library_sm.mk
+++ b/starmath/Library_sm.mk
@@ -21,6 +21,10 @@ $(eval $(call gb_Library_set_include,sm,\
$$(INCLUDE) \
))
+$(eval $(call gb_Library_add_defs,sm,\
+ -DSM_DLLIMPLEMENTATION \
+))
+
$(eval $(call gb_Library_use_external,sm,boost_headers))
$(eval $(call gb_Library_use_custom_headers,sm,oox/generated))