diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2020-07-30 21:18:46 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-07-31 10:04:09 +0200 |
commit | 6353c51e8bf66fe223080db649fc07e62a3a6c97 (patch) | |
tree | 111c6ea992efd848027e38cd8841eff8a2c64feb /sw/Library_swqahelper.mk | |
parent | 87f0e1f1016826cd63c2c740ae37e7242fb4c6a8 (diff) |
sw: introduce a Library_swqahelper
So it is no longer necessary to define all SwModelTestBase functions
inline.
Change-Id: Ia1055ff967b3614102275ec92607c85ec063fce7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99820
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sw/Library_swqahelper.mk')
-rw-r--r-- | sw/Library_swqahelper.mk | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/sw/Library_swqahelper.mk b/sw/Library_swqahelper.mk new file mode 100644 index 000000000000..6c089e63cf60 --- /dev/null +++ b/sw/Library_swqahelper.mk @@ -0,0 +1,62 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# +# This file is part of the LibreOffice project. +# +# This Source Code Form is subject to the terms of the Mozilla Public +# License, v. 2.0. If a copy of the MPL was not distributed with this +# file, You can obtain one at http://mozilla.org/MPL/2.0/. +# + +$(eval $(call gb_Library_Library,swqahelper)) + +$(eval $(call gb_Library_set_include,swqahelper,\ + -I$(SRCDIR)/sw/inc \ + -I$(SRCDIR)/sw/source/core/inc \ + -I$(SRCDIR)/sw/qa/inc \ + $$(INCLUDE) \ +)) + +$(eval $(call gb_Library_use_externals,swqahelper, \ + boost_headers \ + cppunit \ + libxml2 \ +)) + +$(eval $(call gb_Library_add_defs,swqahelper,\ + -DSWQAHELPER_DLLIMPLEMENTATION \ +)) + +$(eval $(call gb_Library_use_api,swqahelper,\ + udkapi \ + offapi \ + oovbaapi \ +)) + +$(eval $(call gb_Library_use_libraries,swqahelper,\ + comphelper \ + cppu \ + cppuhelper \ + editeng \ + for \ + sal \ + sw \ + sfx \ + sot \ + svl \ + svt \ + svx \ + svxcore \ + test \ + tl \ + unotest \ + utl \ + ucbhelper \ + unotest \ + vcl \ +)) + +$(eval $(call gb_Library_add_exception_objects,swqahelper,\ + sw/qa/unit/swmodeltestbase \ +)) + +# vim: set noet sw=4 ts=4: |