summaryrefslogtreecommitdiff
path: root/sc/CppunitTest_sc_modelobj.mk
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2019-09-22 22:08:56 +0200
committerLuboš Luňák <l.lunak@collabora.com>2019-10-04 08:59:34 +0200
commitba33189343a622bddb78657bbb111e5f10ba82a4 (patch)
tree552283520b6c72ce3f55fa88809124d26b7ea58c /sc/CppunitTest_sc_modelobj.mk
parent98dc4ec4957ffa520c9acb21d2477df36496a000 (diff)
add gbuild function for a common PCH and use it in sc/ and sax/
And make it simple to disable the whole feature by setting gb_DISABLE_PCH_REUSE=1, just in case. Also work around a possible BOOST_ALL_NO_LIB mismatch when using the common PCH. Change-Id: I96fd507edf1ada6242ac225026250e5a588d0193 Reviewed-on: https://gerrit.libreoffice.org/79365 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'sc/CppunitTest_sc_modelobj.mk')
-rw-r--r--sc/CppunitTest_sc_modelobj.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/CppunitTest_sc_modelobj.mk b/sc/CppunitTest_sc_modelobj.mk
index 6ad683c0a793..c0d6c7a09055 100644
--- a/sc/CppunitTest_sc_modelobj.mk
+++ b/sc/CppunitTest_sc_modelobj.mk
@@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_modelobj))
$(eval $(call gb_CppunitTest_use_external,sc_modelobj,boost_headers))
+$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_modelobj))
+
$(eval $(call gb_CppunitTest_add_exception_objects,sc_modelobj, \
sc/qa/extras/scmodelobj \
))