summaryrefslogtreecommitdiff
path: root/sc/CppunitTest_sc_opencl_test.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_opencl_test.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_opencl_test.mk')
-rw-r--r--sc/CppunitTest_sc_opencl_test.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/CppunitTest_sc_opencl_test.mk b/sc/CppunitTest_sc_opencl_test.mk
index 65b63c136ff5..13396ba2f240 100644
--- a/sc/CppunitTest_sc_opencl_test.mk
+++ b/sc/CppunitTest_sc_opencl_test.mk
@@ -9,6 +9,8 @@
$(eval $(call gb_CppunitTest_CppunitTest,sc_opencl_test))
+$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_opencl_test))
+
$(eval $(call gb_CppunitTest_add_exception_objects,sc_opencl_test, \
sc/qa/unit/opencl-test \
))