diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2019-09-22 22:08:56 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2019-10-04 08:59:34 +0200 |
commit | ba33189343a622bddb78657bbb111e5f10ba82a4 (patch) | |
tree | 552283520b6c72ce3f55fa88809124d26b7ea58c /scaddins | |
parent | 98dc4ec4957ffa520c9acb21d2477df36496a000 (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 'scaddins')
-rw-r--r-- | scaddins/Library_analysis.mk | 2 | ||||
-rw-r--r-- | scaddins/Library_date.mk | 2 | ||||
-rw-r--r-- | scaddins/Library_pricing.mk | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/scaddins/Library_analysis.mk b/scaddins/Library_analysis.mk index dc854a0fb56d..0fff21bb416a 100644 --- a/scaddins/Library_analysis.mk +++ b/scaddins/Library_analysis.mk @@ -28,6 +28,8 @@ $(eval $(call gb_Library_set_include,analysis,\ $(eval $(call gb_Library_use_external,analysis,boost_headers)) +$(eval $(call gb_Library_use_common_precompiled_header,analysis)) + $(eval $(call gb_Library_use_internal_comprehensive_api,analysis,\ offapi \ scaddins \ diff --git a/scaddins/Library_date.mk b/scaddins/Library_date.mk index 96b1e58430d5..d469a82457df 100644 --- a/scaddins/Library_date.mk +++ b/scaddins/Library_date.mk @@ -28,6 +28,8 @@ $(eval $(call gb_Library_set_include,date,\ $(eval $(call gb_Library_use_external,date,boost_headers)) +$(eval $(call gb_Library_use_common_precompiled_header,date)) + $(eval $(call gb_Library_use_internal_comprehensive_api,date,\ offapi \ scaddins \ diff --git a/scaddins/Library_pricing.mk b/scaddins/Library_pricing.mk index 1c5e43a22da3..927839a8c7c7 100644 --- a/scaddins/Library_pricing.mk +++ b/scaddins/Library_pricing.mk @@ -28,6 +28,8 @@ $(eval $(call gb_Library_set_include,pricing,\ $(eval $(call gb_Library_use_external,pricing,boost_headers)) +$(eval $(call gb_Library_use_common_precompiled_header,pricing)) + $(eval $(call gb_Library_use_internal_comprehensive_api,pricing,\ offapi \ scaddins \ |