diff --git a/pch/StaticLibrary_precompiled_system.mk b/pch/StaticLibrary_precompiled_system.mk index 9cc9f0b56a1a..1812bc6aa609 100644 --- a/pch/StaticLibrary_precompiled_system.mk +++ b/pch/StaticLibrary_precompiled_system.mk @@ -17,4 +17,12 @@ $(eval $(call gb_StaticLibrary_add_exception_objects,precompiled_system,\ pch/system_empty \ )) +# We use this to disable a weird "auto-link" feature of boost. +# Define it for the PCH, so that it's set in all cases, +# and gb_LinkTarget_reuse_precompiled_header enforces it for any uses. +$(eval $(call gb_StaticLibrary_add_defs,precompiled_system, \ + -DBOOST_ALL_NO_LIB \ +)) + + # vim: set noet sw=4 ts=4: diff --git a/pch/inc/clangfix.hxx b/pch/inc/clangfix.hxx index 9d1c131081b8..7280032baa1c 100644 --- a/pch/inc/clangfix.hxx +++ b/pch/inc/clangfix.hxx @@ -13,9 +13,11 @@ // And many of these macros are not actually used. So use them here to silence the warnings. // See gb_PrecompiledHeader_ignore_flags_system in solenv/gbuild/PrecompiledHeaders.mk . +#ifdef FASTSAX_DLLIMPLEMENTATION +#endif #ifdef SAX_DLLIMPLEMENTATION #endif -#ifdef FASTSAX_DLLIMPLEMENTATION +#ifdef SCQAHELPER_DLLIMPLEMENTATION #endif #ifdef SYSTEM_EXPAT #endif diff --git a/sax/CppunitTest_sax.mk b/sax/CppunitTest_sax.mk index 652695cc9732..282ba2414e41 100644 --- a/sax/CppunitTest_sax.mk +++ b/sax/CppunitTest_sax.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_use_sdk_api,sax)) $(eval $(call gb_CppunitTest_use_external,sax,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sax)) + $(eval $(call gb_CppunitTest_use_libraries,sax, \ sax \ sal \ diff --git a/sax/CppunitTest_sax_attributes.mk b/sax/CppunitTest_sax_attributes.mk index 020ccc21436e..198629814fb8 100644 --- a/sax/CppunitTest_sax_attributes.mk +++ b/sax/CppunitTest_sax_attributes.mk @@ -9,6 +9,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sax_attributes)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sax_attributes)) + $(eval $(call gb_CppunitTest_add_exception_objects,sax_attributes, \ sax/qa/cppunit/attributes \ )) diff --git a/sax/CppunitTest_sax_parser.mk b/sax/CppunitTest_sax_parser.mk index eafad95a06a2..4c1fe31015bd 100644 --- a/sax/CppunitTest_sax_parser.mk +++ b/sax/CppunitTest_sax_parser.mk @@ -9,6 +9,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sax_parser)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sax_parser)) + $(eval $(call gb_CppunitTest_add_exception_objects,sax_parser, \ sax/qa/cppunit/parser \ )) diff --git a/sax/CppunitTest_sax_xmlimport.mk b/sax/CppunitTest_sax_xmlimport.mk index b8cc56dbb311..2e107363294b 100644 --- a/sax/CppunitTest_sax_xmlimport.mk +++ b/sax/CppunitTest_sax_xmlimport.mk @@ -9,6 +9,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sax_xmlimport)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sax_xmlimport)) + $(eval $(call gb_CppunitTest_add_exception_objects,sax_xmlimport, \ sax/qa/cppunit/xmlimport \ )) diff --git a/sax/Library_expwrap.mk b/sax/Library_expwrap.mk index f4d811886ca0..7f4e9004c25a 100644 --- a/sax/Library_expwrap.mk +++ b/sax/Library_expwrap.mk @@ -16,7 +16,7 @@ $(eval $(call gb_Library_set_include,expwrap,\ $$(INCLUDE) \ )) -$(eval $(call gb_Library_reuse_precompiled_header,expwrap,pch/inc/pch/precompiled_system)) +$(eval $(call gb_Library_use_common_precompiled_header,expwrap)) $(eval $(call gb_Library_add_defs,expwrap,\ -DFASTSAX_DLLIMPLEMENTATION \ diff --git a/sax/Library_sax.mk b/sax/Library_sax.mk index 7fff54b7eed7..6e84a042614d 100644 --- a/sax/Library_sax.mk +++ b/sax/Library_sax.mk @@ -16,7 +16,7 @@ $(eval $(call gb_Library_set_include,sax,\ $(eval $(call gb_Library_use_external,sax,boost_headers)) -$(eval $(call gb_Library_reuse_precompiled_header,sax,pch/inc/pch/precompiled_system)) +$(eval $(call gb_Library_use_common_precompiled_header,sax)) $(eval $(call gb_Library_use_sdk_api,sax)) diff --git a/sc/CppunitTest_sc_addin_functions_test.mk b/sc/CppunitTest_sc_addin_functions_test.mk index 66489b67d626..a6ac4947192a 100644 --- a/sc/CppunitTest_sc_addin_functions_test.mk +++ b/sc/CppunitTest_sc_addin_functions_test.mk @@ -9,6 +9,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_addin_functions_test)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_addin_functions_test)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_addin_functions_test, \ sc/qa/unit/functions_addin \ )) diff --git a/sc/CppunitTest_sc_anchor_test.mk b/sc/CppunitTest_sc_anchor_test.mk index c942128a0bf9..d8ae6e69fb8d 100644 --- a/sc/CppunitTest_sc_anchor_test.mk +++ b/sc/CppunitTest_sc_anchor_test.mk @@ -11,6 +11,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_anchor_test)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_anchor_test)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_anchor_test, \ sc/qa/extras/anchor \ )) diff --git a/sc/CppunitTest_sc_annotationobj.mk b/sc/CppunitTest_sc_annotationobj.mk index ce4bd3009be1..43d76b04e839 100644 --- a/sc/CppunitTest_sc_annotationobj.mk +++ b/sc/CppunitTest_sc_annotationobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_annotationobj)) $(eval $(call gb_CppunitTest_use_external,sc_annotationobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_annotationobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_annotationobj, \ sc/qa/extras/scannotationobj \ )) diff --git a/sc/CppunitTest_sc_annotationshapeobj.mk b/sc/CppunitTest_sc_annotationshapeobj.mk index e985dbc3879f..e01b50c02de3 100644 --- a/sc/CppunitTest_sc_annotationshapeobj.mk +++ b/sc/CppunitTest_sc_annotationshapeobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_annotationshapeobj)) $(eval $(call gb_CppunitTest_use_external,sc_annotationshapeobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_annotationshapeobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_annotationshapeobj, \ sc/qa/extras/scannotationshapeobj \ )) diff --git a/sc/CppunitTest_sc_annotationsobj.mk b/sc/CppunitTest_sc_annotationsobj.mk index 638d2eff2b79..ec5a49a8c68a 100644 --- a/sc/CppunitTest_sc_annotationsobj.mk +++ b/sc/CppunitTest_sc_annotationsobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_annotationsobj)) $(eval $(call gb_CppunitTest_use_external,sc_annotationsobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_annotationsobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_annotationsobj, \ sc/qa/extras/scannotationsobj \ )) diff --git a/sc/CppunitTest_sc_arealinkobj.mk b/sc/CppunitTest_sc_arealinkobj.mk index 0762b8f8461b..efc7f60f7afe 100644 --- a/sc/CppunitTest_sc_arealinkobj.mk +++ b/sc/CppunitTest_sc_arealinkobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_arealinkobj)) $(eval $(call gb_CppunitTest_use_external,sc_arealinkobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_arealinkobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_arealinkobj, \ sc/qa/extras/scarealinkobj \ )) diff --git a/sc/CppunitTest_sc_arealinksobj.mk b/sc/CppunitTest_sc_arealinksobj.mk index 46c4aec10870..c523c27625b8 100644 --- a/sc/CppunitTest_sc_arealinksobj.mk +++ b/sc/CppunitTest_sc_arealinksobj.mk @@ -11,6 +11,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_arealinksobj)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_arealinksobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_arealinksobj, \ sc/qa/extras/scarealinksobj \ )) diff --git a/sc/CppunitTest_sc_array_functions_test.mk b/sc/CppunitTest_sc_array_functions_test.mk index 8d1f26442c82..1c13df75dbb9 100644 --- a/sc/CppunitTest_sc_array_functions_test.mk +++ b/sc/CppunitTest_sc_array_functions_test.mk @@ -9,6 +9,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_array_functions_test)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_array_functions_test)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_array_functions_test, \ sc/qa/unit/functions_array \ )) diff --git a/sc/CppunitTest_sc_autoformatobj.mk b/sc/CppunitTest_sc_autoformatobj.mk index bd3121d8b093..8da9612f245b 100644 --- a/sc/CppunitTest_sc_autoformatobj.mk +++ b/sc/CppunitTest_sc_autoformatobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_autoformatobj)) $(eval $(call gb_CppunitTest_use_external,sc_autoformatobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_autoformatobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_autoformatobj, \ sc/qa/extras/scautoformatobj \ )) diff --git a/sc/CppunitTest_sc_autoformatsobj.mk b/sc/CppunitTest_sc_autoformatsobj.mk index d0bc00b3e478..aa6d33bec662 100644 --- a/sc/CppunitTest_sc_autoformatsobj.mk +++ b/sc/CppunitTest_sc_autoformatsobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_autoformatsobj)) $(eval $(call gb_CppunitTest_use_external,sc_autoformatsobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_autoformatsobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_autoformatsobj, \ sc/qa/extras/scautoformatsobj \ )) diff --git a/sc/CppunitTest_sc_bugfix_test.mk b/sc/CppunitTest_sc_bugfix_test.mk index d671e4b3e90b..3b89413b5da9 100644 --- a/sc/CppunitTest_sc_bugfix_test.mk +++ b/sc/CppunitTest_sc_bugfix_test.mk @@ -9,6 +9,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_bugfix_test)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_bugfix_test)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_bugfix_test, \ sc/qa/unit/bugfix-test \ )) diff --git a/sc/CppunitTest_sc_cache_test.mk b/sc/CppunitTest_sc_cache_test.mk index 1a1cd671207e..66ecab8c1226 100644 --- a/sc/CppunitTest_sc_cache_test.mk +++ b/sc/CppunitTest_sc_cache_test.mk @@ -18,6 +18,8 @@ $(eval $(call gb_CppunitTest_use_externals,sc_cache_test, \ mdds_headers \ )) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_cache_test)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_cache_test, \ sc/qa/unit/datacache \ )) diff --git a/sc/CppunitTest_sc_cellcursorobj.mk b/sc/CppunitTest_sc_cellcursorobj.mk index 4ebca949c3c4..3033294472d0 100644 --- a/sc/CppunitTest_sc_cellcursorobj.mk +++ b/sc/CppunitTest_sc_cellcursorobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_cellcursorobj)) $(eval $(call gb_CppunitTest_use_external,sc_cellcursorobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_cellcursorobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_cellcursorobj, \ sc/qa/extras/sccellcursorobj \ )) diff --git a/sc/CppunitTest_sc_cellfieldsobj.mk b/sc/CppunitTest_sc_cellfieldsobj.mk index 3d672ea176f5..2be13dfc6be7 100644 --- a/sc/CppunitTest_sc_cellfieldsobj.mk +++ b/sc/CppunitTest_sc_cellfieldsobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_cellfieldsobj)) $(eval $(call gb_CppunitTest_use_external,sc_cellfieldsobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_cellfieldsobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_cellfieldsobj, \ sc/qa/extras/sccellfieldsobj \ )) diff --git a/sc/CppunitTest_sc_cellformatsenumeration.mk b/sc/CppunitTest_sc_cellformatsenumeration.mk index 2da7fed227d3..ce2f574fbbf0 100644 --- a/sc/CppunitTest_sc_cellformatsenumeration.mk +++ b/sc/CppunitTest_sc_cellformatsenumeration.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_cellformatsenumeration)) $(eval $(call gb_CppunitTest_use_external,sc_cellformatsenumeration,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_cellformatsenumeration)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_cellformatsenumeration, \ sc/qa/extras/sccellformatsenumeration \ )) diff --git a/sc/CppunitTest_sc_cellformatsobj.mk b/sc/CppunitTest_sc_cellformatsobj.mk index 82175e00d918..5e5728fcff2d 100644 --- a/sc/CppunitTest_sc_cellformatsobj.mk +++ b/sc/CppunitTest_sc_cellformatsobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_cellformatsobj)) $(eval $(call gb_CppunitTest_use_external,sc_cellformatsobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_cellformatsobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_cellformatsobj, \ sc/qa/extras/sccellformatsobj \ )) diff --git a/sc/CppunitTest_sc_cellobj.mk b/sc/CppunitTest_sc_cellobj.mk index 1f932a442b36..dc2d052b2d5e 100644 --- a/sc/CppunitTest_sc_cellobj.mk +++ b/sc/CppunitTest_sc_cellobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_cellobj)) $(eval $(call gb_CppunitTest_use_external,sc_cellobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_cellobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_cellobj, \ sc/qa/extras/sccellobj \ )) diff --git a/sc/CppunitTest_sc_cellrangeobj.mk b/sc/CppunitTest_sc_cellrangeobj.mk index 3aff8a10e0f8..e35c78e8d542 100644 --- a/sc/CppunitTest_sc_cellrangeobj.mk +++ b/sc/CppunitTest_sc_cellrangeobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_cellrangeobj)) $(eval $(call gb_CppunitTest_use_external,sc_cellrangeobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_cellrangeobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_cellrangeobj, \ sc/qa/extras/sccellrangeobj\ )) diff --git a/sc/CppunitTest_sc_cellrangesobj.mk b/sc/CppunitTest_sc_cellrangesobj.mk index 0890bb71838e..d35fce9280fe 100644 --- a/sc/CppunitTest_sc_cellrangesobj.mk +++ b/sc/CppunitTest_sc_cellrangesobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_cellrangesobj)) $(eval $(call gb_CppunitTest_use_external,sc_cellrangesobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_cellrangesobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_cellrangesobj, \ sc/qa/extras/sccellrangesobj\ )) diff --git a/sc/CppunitTest_sc_cellsearchobj.mk b/sc/CppunitTest_sc_cellsearchobj.mk index a6bc54d1e9aa..24ef2769b00c 100644 --- a/sc/CppunitTest_sc_cellsearchobj.mk +++ b/sc/CppunitTest_sc_cellsearchobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_cellsearchobj)) $(eval $(call gb_CppunitTest_use_external,sc_cellsearchobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_cellsearchobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_cellsearchobj, \ sc/qa/extras/sccellsearchobj \ )) diff --git a/sc/CppunitTest_sc_cellsenumeration.mk b/sc/CppunitTest_sc_cellsenumeration.mk index 892370b74f6c..43755b4a812e 100644 --- a/sc/CppunitTest_sc_cellsenumeration.mk +++ b/sc/CppunitTest_sc_cellsenumeration.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_cellsenumeration)) $(eval $(call gb_CppunitTest_use_external,sc_cellsenumeration,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_cellsenumeration)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_cellsenumeration, \ sc/qa/extras/sccellsenumeration \ )) diff --git a/sc/CppunitTest_sc_cellsobj.mk b/sc/CppunitTest_sc_cellsobj.mk index 07dfd37992da..20360fd816e1 100644 --- a/sc/CppunitTest_sc_cellsobj.mk +++ b/sc/CppunitTest_sc_cellsobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_cellsobj)) $(eval $(call gb_CppunitTest_use_external,sc_cellsobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_cellsobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_cellsobj, \ sc/qa/extras/sccellsobj \ )) diff --git a/sc/CppunitTest_sc_chart2dataprovider.mk b/sc/CppunitTest_sc_chart2dataprovider.mk index 8a9b7fae8282..a790129dfcbe 100644 --- a/sc/CppunitTest_sc_chart2dataprovider.mk +++ b/sc/CppunitTest_sc_chart2dataprovider.mk @@ -9,6 +9,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_chart2dataprovider)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_chart2dataprovider)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_chart2dataprovider, \ sc/qa/unit/chart2dataprovider \ )) diff --git a/sc/CppunitTest_sc_chart_regression_test.mk b/sc/CppunitTest_sc_chart_regression_test.mk index d1e0ef8bfffa..8bfab584f753 100644 --- a/sc/CppunitTest_sc_chart_regression_test.mk +++ b/sc/CppunitTest_sc_chart_regression_test.mk @@ -9,6 +9,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_chart_regression_test)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_chart_regression_test)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_chart_regression_test, \ sc/qa/extras/regression-test \ )) diff --git a/sc/CppunitTest_sc_chartobj.mk b/sc/CppunitTest_sc_chartobj.mk index 84a78eed88a6..962e4d305a55 100644 --- a/sc/CppunitTest_sc_chartobj.mk +++ b/sc/CppunitTest_sc_chartobj.mk @@ -12,6 +12,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_chartobj)) $(eval $(call gb_CppunitTest_use_external,sc_chartobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_chartobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_chartobj, \ sc/qa/extras/scchartobj \ )) diff --git a/sc/CppunitTest_sc_chartsobj.mk b/sc/CppunitTest_sc_chartsobj.mk index 6459a2fe985b..7cd24be8f5e2 100644 --- a/sc/CppunitTest_sc_chartsobj.mk +++ b/sc/CppunitTest_sc_chartsobj.mk @@ -12,6 +12,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_chartsobj)) $(eval $(call gb_CppunitTest_use_external,sc_chartsobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_chartsobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_chartsobj, \ sc/qa/extras/scchartsobj \ )) diff --git a/sc/CppunitTest_sc_check_data_pilot_field.mk b/sc/CppunitTest_sc_check_data_pilot_field.mk index dd0b0f16f858..eb29eae0c8ed 100644 --- a/sc/CppunitTest_sc_check_data_pilot_field.mk +++ b/sc/CppunitTest_sc_check_data_pilot_field.mk @@ -11,6 +11,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_check_data_pilot_field)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_check_data_pilot_field)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_check_data_pilot_field, \ sc/qa/extras/check_data_pilot_field \ )) diff --git a/sc/CppunitTest_sc_check_data_pilot_table.mk b/sc/CppunitTest_sc_check_data_pilot_table.mk index a311b730ac9d..1b04eefd7569 100644 --- a/sc/CppunitTest_sc_check_data_pilot_table.mk +++ b/sc/CppunitTest_sc_check_data_pilot_table.mk @@ -11,6 +11,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_check_data_pilot_table)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_check_data_pilot_table)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_check_data_pilot_table, \ sc/qa/extras/check_data_pilot_table \ )) diff --git a/sc/CppunitTest_sc_check_xcell_ranges_query.mk b/sc/CppunitTest_sc_check_xcell_ranges_query.mk index 9abc6422d9c8..b7322fea20cb 100644 --- a/sc/CppunitTest_sc_check_xcell_ranges_query.mk +++ b/sc/CppunitTest_sc_check_xcell_ranges_query.mk @@ -11,6 +11,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_check_xcell_ranges_query)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_check_xcell_ranges_query)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_check_xcell_ranges_query, \ sc/qa/extras/check_xcell_ranges_query \ )) diff --git a/sc/CppunitTest_sc_cond_format_merge.mk b/sc/CppunitTest_sc_cond_format_merge.mk index c86b204d1c31..ab5b351c47e5 100644 --- a/sc/CppunitTest_sc_cond_format_merge.mk +++ b/sc/CppunitTest_sc_cond_format_merge.mk @@ -9,6 +9,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_cond_format_merge)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_cond_format_merge)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_cond_format_merge, \ sc/qa/unit/cond_format_merge \ )) diff --git a/sc/CppunitTest_sc_consolidationdescriptorobj.mk b/sc/CppunitTest_sc_consolidationdescriptorobj.mk index d128320cd5fa..67eebee76009 100644 --- a/sc/CppunitTest_sc_consolidationdescriptorobj.mk +++ b/sc/CppunitTest_sc_consolidationdescriptorobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_consolidationdescriptorobj)) $(eval $(call gb_CppunitTest_use_external,sc_consolidationdescriptorobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_consolidationdescriptorobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_consolidationdescriptorobj, \ sc/qa/extras/scconsolidationdescriptorobj \ )) diff --git a/sc/CppunitTest_sc_copypaste.mk b/sc/CppunitTest_sc_copypaste.mk index e7759957df86..a9351f7a3cb1 100644 --- a/sc/CppunitTest_sc_copypaste.mk +++ b/sc/CppunitTest_sc_copypaste.mk @@ -9,6 +9,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_copypaste)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_copypaste)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_copypaste, \ sc/qa/unit/copy_paste_test \ )) diff --git a/sc/CppunitTest_sc_core.mk b/sc/CppunitTest_sc_core.mk index b37f7649b5fa..5f57fe007c83 100644 --- a/sc/CppunitTest_sc_core.mk +++ b/sc/CppunitTest_sc_core.mk @@ -15,6 +15,8 @@ $(eval $(call gb_CppunitTest_use_externals,sc_core, \ $(eval $(call gb_CppunitTest_use_sdk_api,sc_core)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_core)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_core, \ sc/qa/unit/test_ScChartListenerCollection \ )) diff --git a/sc/CppunitTest_sc_database_functions_test.mk b/sc/CppunitTest_sc_database_functions_test.mk index 0b6b04ff0c64..528f816c3c45 100644 --- a/sc/CppunitTest_sc_database_functions_test.mk +++ b/sc/CppunitTest_sc_database_functions_test.mk @@ -9,6 +9,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_database_functions_test)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_database_functions_test)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_database_functions_test, \ sc/qa/unit/functions_database \ )) diff --git a/sc/CppunitTest_sc_databaserangeobj.mk b/sc/CppunitTest_sc_databaserangeobj.mk index 593d9faad876..5b652a3bcbb8 100644 --- a/sc/CppunitTest_sc_databaserangeobj.mk +++ b/sc/CppunitTest_sc_databaserangeobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_databaserangeobj)) $(eval $(call gb_CppunitTest_use_external,sc_databaserangeobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_databaserangeobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_databaserangeobj, \ sc/qa/extras/scdatabaserangeobj \ )) diff --git a/sc/CppunitTest_sc_databaserangesobj.mk b/sc/CppunitTest_sc_databaserangesobj.mk index 4c04705080a3..f5952e691a2d 100644 --- a/sc/CppunitTest_sc_databaserangesobj.mk +++ b/sc/CppunitTest_sc_databaserangesobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_databaserangesobj)) $(eval $(call gb_CppunitTest_use_external,sc_databaserangesobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_databaserangesobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_databaserangesobj, \ sc/qa/extras/scdatabaserangesobj \ )) diff --git a/sc/CppunitTest_sc_datapilotfieldgroupitemobj.mk b/sc/CppunitTest_sc_datapilotfieldgroupitemobj.mk index 3b3509af8d21..638f0b350784 100644 --- a/sc/CppunitTest_sc_datapilotfieldgroupitemobj.mk +++ b/sc/CppunitTest_sc_datapilotfieldgroupitemobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_datapilotfieldgroupitemobj)) $(eval $(call gb_CppunitTest_use_external,sc_datapilotfieldgroupitemobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_datapilotfieldgroupitemobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_datapilotfieldgroupitemobj, \ sc/qa/extras/scdatapilotfieldgroupitemobj \ )) diff --git a/sc/CppunitTest_sc_datapilotfieldgroupobj.mk b/sc/CppunitTest_sc_datapilotfieldgroupobj.mk index bf6002e37adc..5fc7a4c4cb8e 100644 --- a/sc/CppunitTest_sc_datapilotfieldgroupobj.mk +++ b/sc/CppunitTest_sc_datapilotfieldgroupobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_datapilotfieldgroupobj)) $(eval $(call gb_CppunitTest_use_external,sc_datapilotfieldgroupobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_datapilotfieldgroupobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_datapilotfieldgroupobj, \ sc/qa/extras/scdatapilotfieldgroupobj \ )) diff --git a/sc/CppunitTest_sc_datapilotfieldgroupsobj.mk b/sc/CppunitTest_sc_datapilotfieldgroupsobj.mk index 2a539defd0f5..22c5eda357f0 100644 --- a/sc/CppunitTest_sc_datapilotfieldgroupsobj.mk +++ b/sc/CppunitTest_sc_datapilotfieldgroupsobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_datapilotfieldgroupsobj)) $(eval $(call gb_CppunitTest_use_external,sc_datapilotfieldgroupsobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_datapilotfieldgroupsobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_datapilotfieldgroupsobj, \ sc/qa/extras/scdatapilotfieldgroupsobj \ )) diff --git a/sc/CppunitTest_sc_datapilotfieldobj.mk b/sc/CppunitTest_sc_datapilotfieldobj.mk index da8781adde35..b43e693d15cc 100644 --- a/sc/CppunitTest_sc_datapilotfieldobj.mk +++ b/sc/CppunitTest_sc_datapilotfieldobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_datapilotfieldobj)) $(eval $(call gb_CppunitTest_use_external,sc_datapilotfieldobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_datapilotfieldobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_datapilotfieldobj, \ sc/qa/extras/scdatapilotfieldobj \ )) diff --git a/sc/CppunitTest_sc_datapilotfieldsobj.mk b/sc/CppunitTest_sc_datapilotfieldsobj.mk index 03dc63afed97..394c8f02da57 100644 --- a/sc/CppunitTest_sc_datapilotfieldsobj.mk +++ b/sc/CppunitTest_sc_datapilotfieldsobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_datapilotfieldsobj)) $(eval $(call gb_CppunitTest_use_external,sc_datapilotfieldsobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_datapilotfieldsobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_datapilotfieldsobj, \ sc/qa/extras/scdatapilotfieldsobj \ )) diff --git a/sc/CppunitTest_sc_datapilotitemobj.mk b/sc/CppunitTest_sc_datapilotitemobj.mk index 4e1cc35ae92c..e34cd82a3768 100644 --- a/sc/CppunitTest_sc_datapilotitemobj.mk +++ b/sc/CppunitTest_sc_datapilotitemobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_datapilotitemobj)) $(eval $(call gb_CppunitTest_use_external,sc_datapilotitemobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_datapilotitemobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_datapilotitemobj, \ sc/qa/extras/scdatapilotitemobj \ )) diff --git a/sc/CppunitTest_sc_datapilotitemsobj.mk b/sc/CppunitTest_sc_datapilotitemsobj.mk index dab71b60ee23..73201be40ca8 100644 --- a/sc/CppunitTest_sc_datapilotitemsobj.mk +++ b/sc/CppunitTest_sc_datapilotitemsobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_datapilotitemsobj)) $(eval $(call gb_CppunitTest_use_external,sc_datapilotitemsobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_datapilotitemsobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_datapilotitemsobj, \ sc/qa/extras/scdatapilotitemsobj \ )) diff --git a/sc/CppunitTest_sc_datapilottableobj.mk b/sc/CppunitTest_sc_datapilottableobj.mk index f17660c82f86..d40b25c3c229 100644 --- a/sc/CppunitTest_sc_datapilottableobj.mk +++ b/sc/CppunitTest_sc_datapilottableobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_datapilottableobj)) $(eval $(call gb_CppunitTest_use_external,sc_datapilottableobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_datapilottableobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_datapilottableobj, \ sc/qa/extras/scdatapilottableobj \ )) diff --git a/sc/CppunitTest_sc_datapilottablesobj.mk b/sc/CppunitTest_sc_datapilottablesobj.mk index 95a1c74be74b..874473b79b61 100644 --- a/sc/CppunitTest_sc_datapilottablesobj.mk +++ b/sc/CppunitTest_sc_datapilottablesobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_datapilottablesobj)) $(eval $(call gb_CppunitTest_use_external,sc_datapilottablesobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_datapilottablesobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_datapilottablesobj, \ sc/qa/extras/scdatapilottablesobj \ )) diff --git a/sc/CppunitTest_sc_dataprovider.mk b/sc/CppunitTest_sc_dataprovider.mk index a2092498629d..a7b29dd1c2c6 100644 --- a/sc/CppunitTest_sc_dataprovider.mk +++ b/sc/CppunitTest_sc_dataprovider.mk @@ -9,6 +9,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_dataprovider)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_dataprovider)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_dataprovider, \ sc/qa/unit/dataproviders_test \ )) diff --git a/sc/CppunitTest_sc_datatransformation.mk b/sc/CppunitTest_sc_datatransformation.mk index c1e44a2a3870..81dbd7127bbe 100644 --- a/sc/CppunitTest_sc_datatransformation.mk +++ b/sc/CppunitTest_sc_datatransformation.mk @@ -9,6 +9,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_datatransformation)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_datatransformation)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_datatransformation, \ sc/qa/unit/datatransformation_test \ )) diff --git a/sc/CppunitTest_sc_datetime_functions_test.mk b/sc/CppunitTest_sc_datetime_functions_test.mk index cccf938015c5..90393e0bebc6 100644 --- a/sc/CppunitTest_sc_datetime_functions_test.mk +++ b/sc/CppunitTest_sc_datetime_functions_test.mk @@ -9,6 +9,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_datetime_functions_test)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_datetime_functions_test)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_datetime_functions_test, \ sc/qa/unit/functions_datetime \ )) diff --git a/sc/CppunitTest_sc_ddelinkobj.mk b/sc/CppunitTest_sc_ddelinkobj.mk index 60ab216aaca4..6e361d361304 100644 --- a/sc/CppunitTest_sc_ddelinkobj.mk +++ b/sc/CppunitTest_sc_ddelinkobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_ddelinkobj)) $(eval $(call gb_CppunitTest_use_external,sc_ddelinkobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_ddelinkobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_ddelinkobj, \ sc/qa/extras/scddelinkobj \ )) diff --git a/sc/CppunitTest_sc_ddelinksobj.mk b/sc/CppunitTest_sc_ddelinksobj.mk index 73fd02a9147a..702784d99ac7 100644 --- a/sc/CppunitTest_sc_ddelinksobj.mk +++ b/sc/CppunitTest_sc_ddelinksobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_ddelinksobj)) $(eval $(call gb_CppunitTest_use_external,sc_ddelinksobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_ddelinksobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_ddelinksobj, \ sc/qa/extras/scddelinksobj \ )) diff --git a/sc/CppunitTest_sc_documentconfigurationobj.mk b/sc/CppunitTest_sc_documentconfigurationobj.mk index 307ec66e8713..d75a34288cbd 100644 --- a/sc/CppunitTest_sc_documentconfigurationobj.mk +++ b/sc/CppunitTest_sc_documentconfigurationobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_documentconfigurationobj)) $(eval $(call gb_CppunitTest_use_external,sc_documentconfigurationobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_documentconfigurationobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_documentconfigurationobj, \ sc/qa/extras/scdocumentconfigurationobj \ )) diff --git a/sc/CppunitTest_sc_drawpageobj.mk b/sc/CppunitTest_sc_drawpageobj.mk index 05bbaef9eb37..46c8356206de 100644 --- a/sc/CppunitTest_sc_drawpageobj.mk +++ b/sc/CppunitTest_sc_drawpageobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_drawpageobj)) $(eval $(call gb_CppunitTest_use_external,sc_drawpageobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_drawpageobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_drawpageobj, \ sc/qa/extras/scdrawpageobj \ )) diff --git a/sc/CppunitTest_sc_drawpagesobj.mk b/sc/CppunitTest_sc_drawpagesobj.mk index db344475b44b..a0f05cc7bcaa 100644 --- a/sc/CppunitTest_sc_drawpagesobj.mk +++ b/sc/CppunitTest_sc_drawpagesobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_drawpagesobj)) $(eval $(call gb_CppunitTest_use_external,sc_drawpagesobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_drawpagesobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_drawpagesobj, \ sc/qa/extras/scdrawpagesobj \ )) diff --git a/sc/CppunitTest_sc_editfieldobj_cell.mk b/sc/CppunitTest_sc_editfieldobj_cell.mk index 278f6c8897b1..0a500013af5d 100644 --- a/sc/CppunitTest_sc_editfieldobj_cell.mk +++ b/sc/CppunitTest_sc_editfieldobj_cell.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_editfieldobj_cell)) $(eval $(call gb_CppunitTest_use_external,sc_editfieldobj_cell,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_editfieldobj_cell)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_editfieldobj_cell, \ sc/qa/extras/sceditfieldobj-cell \ )) diff --git a/sc/CppunitTest_sc_editfieldobj_header.mk b/sc/CppunitTest_sc_editfieldobj_header.mk index f492c7184c36..d3ae5ebe2ee5 100644 --- a/sc/CppunitTest_sc_editfieldobj_header.mk +++ b/sc/CppunitTest_sc_editfieldobj_header.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_editfieldobj_header)) $(eval $(call gb_CppunitTest_use_external,sc_editfieldobj_header,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_editfieldobj_header)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_editfieldobj_header, \ sc/qa/extras/sceditfieldobj-header \ )) diff --git a/sc/CppunitTest_sc_filterdescriptorbase.mk b/sc/CppunitTest_sc_filterdescriptorbase.mk index 4f0f206473cc..9dda0200f82c 100644 --- a/sc/CppunitTest_sc_filterdescriptorbase.mk +++ b/sc/CppunitTest_sc_filterdescriptorbase.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_filterdescriptorbase)) $(eval $(call gb_CppunitTest_use_external,sc_filterdescriptorbase,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_filterdescriptorbase)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_filterdescriptorbase, \ sc/qa/extras/scfilterdescriptorbase\ )) diff --git a/sc/CppunitTest_sc_filters_test.mk b/sc/CppunitTest_sc_filters_test.mk index 32a9199a5031..94085b485247 100644 --- a/sc/CppunitTest_sc_filters_test.mk +++ b/sc/CppunitTest_sc_filters_test.mk @@ -9,6 +9,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_filters_test)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_filters_test)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_filters_test, \ sc/qa/unit/filters-test \ )) diff --git a/sc/CppunitTest_sc_financial_functions_test.mk b/sc/CppunitTest_sc_financial_functions_test.mk index ee83a271b5d1..5aeeace0f957 100644 --- a/sc/CppunitTest_sc_financial_functions_test.mk +++ b/sc/CppunitTest_sc_financial_functions_test.mk @@ -9,6 +9,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_financial_functions_test)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_financial_functions_test)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_financial_functions_test, \ sc/qa/unit/functions_financial \ )) diff --git a/sc/CppunitTest_sc_functiondescriptionobj.mk b/sc/CppunitTest_sc_functiondescriptionobj.mk index 8c152d18f030..fe0ad516283d 100644 --- a/sc/CppunitTest_sc_functiondescriptionobj.mk +++ b/sc/CppunitTest_sc_functiondescriptionobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_functiondescriptionobj)) $(eval $(call gb_CppunitTest_use_external,sc_functiondescriptionobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_functiondescriptionobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_functiondescriptionobj, \ sc/qa/extras/scfunctiondescriptionobj \ )) diff --git a/sc/CppunitTest_sc_functionlistobj.mk b/sc/CppunitTest_sc_functionlistobj.mk index c472b8fe93c6..f3e094706f5e 100644 --- a/sc/CppunitTest_sc_functionlistobj.mk +++ b/sc/CppunitTest_sc_functionlistobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_functionlistobj)) $(eval $(call gb_CppunitTest_use_external,sc_functionlistobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_functionlistobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_functionlistobj, \ sc/qa/extras/scfunctionlistobj \ )) diff --git a/sc/CppunitTest_sc_functions_test_old.mk b/sc/CppunitTest_sc_functions_test_old.mk index 3d0dc40d186b..557b0ef5da5c 100644 --- a/sc/CppunitTest_sc_functions_test_old.mk +++ b/sc/CppunitTest_sc_functions_test_old.mk @@ -9,6 +9,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_functions_test_old)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_functions_test_old)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_functions_test_old, \ sc/qa/unit/functions_test_old \ )) diff --git a/sc/CppunitTest_sc_headerfieldsobj.mk b/sc/CppunitTest_sc_headerfieldsobj.mk index c8257738ae11..e62545830ce1 100644 --- a/sc/CppunitTest_sc_headerfieldsobj.mk +++ b/sc/CppunitTest_sc_headerfieldsobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_headerfieldsobj)) $(eval $(call gb_CppunitTest_use_external,sc_headerfieldsobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_headerfieldsobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_headerfieldsobj, \ sc/qa/extras/scheaderfieldsobj \ )) diff --git a/sc/CppunitTest_sc_headerfootercontentobj.mk b/sc/CppunitTest_sc_headerfootercontentobj.mk index a46b53029211..9e2059890e39 100644 --- a/sc/CppunitTest_sc_headerfootercontentobj.mk +++ b/sc/CppunitTest_sc_headerfootercontentobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_headerfootercontentobj)) $(eval $(call gb_CppunitTest_use_external,sc_headerfootercontentobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_headerfootercontentobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_headerfootercontentobj, \ sc/qa/extras/scheaderfootercontentobj \ )) diff --git a/sc/CppunitTest_sc_html_export_test.mk b/sc/CppunitTest_sc_html_export_test.mk index 4111f519a078..79419746cadd 100644 --- a/sc/CppunitTest_sc_html_export_test.mk +++ b/sc/CppunitTest_sc_html_export_test.mk @@ -9,6 +9,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_html_export_test)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_html_export_test)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_html_export_test, \ sc/qa/extras/htmlexporttest \ )) diff --git a/sc/CppunitTest_sc_importdescriptorbaseobj.mk b/sc/CppunitTest_sc_importdescriptorbaseobj.mk index 1bf988e22bb0..02bc0e53214b 100644 --- a/sc/CppunitTest_sc_importdescriptorbaseobj.mk +++ b/sc/CppunitTest_sc_importdescriptorbaseobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_importdescriptorbaseobj)) $(eval $(call gb_CppunitTest_use_external,sc_importdescriptorbaseobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_importdescriptorbaseobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_importdescriptorbaseobj, \ sc/qa/extras/scimportdescriptorbaseobj \ )) diff --git a/sc/CppunitTest_sc_indexenumeration_cellannotationsenumeration.mk b/sc/CppunitTest_sc_indexenumeration_cellannotationsenumeration.mk index 6a688b8fe70a..f9d1d4c55e31 100644 --- a/sc/CppunitTest_sc_indexenumeration_cellannotationsenumeration.mk +++ b/sc/CppunitTest_sc_indexenumeration_cellannotationsenumeration.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_indexenumeration_cellannotationsenum $(eval $(call gb_CppunitTest_use_external,sc_indexenumeration_cellannotationsenumeration,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_indexenumeration_cellannotationsenumeration)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_indexenumeration_cellannotationsenumeration, \ sc/qa/extras/scindexenumeration_cellannotationsenumeration \ )) diff --git a/sc/CppunitTest_sc_indexenumeration_cellarealinksenumeration.mk b/sc/CppunitTest_sc_indexenumeration_cellarealinksenumeration.mk index 8dc613e3db7a..4507dd08c8aa 100644 --- a/sc/CppunitTest_sc_indexenumeration_cellarealinksenumeration.mk +++ b/sc/CppunitTest_sc_indexenumeration_cellarealinksenumeration.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_indexenumeration_cellarealinksenumer $(eval $(call gb_CppunitTest_use_external,sc_indexenumeration_cellarealinksenumeration,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_indexenumeration_cellarealinksenumeration)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_indexenumeration_cellarealinksenumeration, \ sc/qa/extras/scindexenumeration_cellarealinksenumeration \ )) diff --git a/sc/CppunitTest_sc_indexenumeration_databaserangesenumeration.mk b/sc/CppunitTest_sc_indexenumeration_databaserangesenumeration.mk index 3f809cc3e49e..3c3446bb574f 100644 --- a/sc/CppunitTest_sc_indexenumeration_databaserangesenumeration.mk +++ b/sc/CppunitTest_sc_indexenumeration_databaserangesenumeration.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_indexenumeration_databaserangesenume $(eval $(call gb_CppunitTest_use_external,sc_indexenumeration_databaserangesenumeration,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_indexenumeration_databaserangesenumeration)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_indexenumeration_databaserangesenumeration, \ sc/qa/extras/scindexenumeration_databaserangesenumeration \ )) diff --git a/sc/CppunitTest_sc_indexenumeration_datapilotfieldsenumeration.mk b/sc/CppunitTest_sc_indexenumeration_datapilotfieldsenumeration.mk index c37578a16836..33c0f571d5b8 100644 --- a/sc/CppunitTest_sc_indexenumeration_datapilotfieldsenumeration.mk +++ b/sc/CppunitTest_sc_indexenumeration_datapilotfieldsenumeration.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_indexenumeration_datapilotfieldsenum $(eval $(call gb_CppunitTest_use_external,sc_indexenumeration_datapilotfieldsenumeration,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_indexenumeration_datapilotfieldsenumeration)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_indexenumeration_datapilotfieldsenumeration, \ sc/qa/extras/scindexenumeration_datapilotfieldsenumeration \ )) diff --git a/sc/CppunitTest_sc_indexenumeration_datapilotitemsenumeration.mk b/sc/CppunitTest_sc_indexenumeration_datapilotitemsenumeration.mk index e785d84ee661..5507bad06bff 100644 --- a/sc/CppunitTest_sc_indexenumeration_datapilotitemsenumeration.mk +++ b/sc/CppunitTest_sc_indexenumeration_datapilotitemsenumeration.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_indexenumeration_datapilotitemsenume $(eval $(call gb_CppunitTest_use_external,sc_indexenumeration_datapilotitemsenumeration,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_indexenumeration_datapilotitemsenumeration)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_indexenumeration_datapilotitemsenumeration, \ sc/qa/extras/scindexenumeration_datapilotitemsenumeration \ )) diff --git a/sc/CppunitTest_sc_indexenumeration_datapilottablesenumeration.mk b/sc/CppunitTest_sc_indexenumeration_datapilottablesenumeration.mk index ae23e70a0fb5..f19332dfd74a 100644 --- a/sc/CppunitTest_sc_indexenumeration_datapilottablesenumeration.mk +++ b/sc/CppunitTest_sc_indexenumeration_datapilottablesenumeration.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_indexenumeration_datapilottablesenum $(eval $(call gb_CppunitTest_use_external,sc_indexenumeration_datapilottablesenumeration,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_indexenumeration_datapilottablesenumeration)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_indexenumeration_datapilottablesenumeration, \ sc/qa/extras/scindexenumeration_datapilottablesenumeration \ )) diff --git a/sc/CppunitTest_sc_indexenumeration_ddelinksenumeration.mk b/sc/CppunitTest_sc_indexenumeration_ddelinksenumeration.mk index bb116f6d2927..b6be456f1246 100644 --- a/sc/CppunitTest_sc_indexenumeration_ddelinksenumeration.mk +++ b/sc/CppunitTest_sc_indexenumeration_ddelinksenumeration.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_indexenumeration_ddelinksenumeration $(eval $(call gb_CppunitTest_use_external,sc_indexenumeration_ddelinksenumeration,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_indexenumeration_ddelinksenumeration)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_indexenumeration_ddelinksenumeration, \ sc/qa/extras/scindexenumeration_ddelinksenumeration \ )) diff --git a/sc/CppunitTest_sc_indexenumeration_functiondescriptionenumeration.mk b/sc/CppunitTest_sc_indexenumeration_functiondescriptionenumeration.mk index b57220ceb975..5bfe63336661 100644 --- a/sc/CppunitTest_sc_indexenumeration_functiondescriptionenumeration.mk +++ b/sc/CppunitTest_sc_indexenumeration_functiondescriptionenumeration.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_indexenumeration_functiondescription $(eval $(call gb_CppunitTest_use_external,sc_indexenumeration_functiondescriptionenumeration,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_indexenumeration_functiondescriptionenumeration)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_indexenumeration_functiondescriptionenumeration, \ sc/qa/extras/scindexenumeration_functiondescriptionenumeration \ )) diff --git a/sc/CppunitTest_sc_indexenumeration_labelrangesenumeration.mk b/sc/CppunitTest_sc_indexenumeration_labelrangesenumeration.mk index 810faae072ef..102e00253bae 100644 --- a/sc/CppunitTest_sc_indexenumeration_labelrangesenumeration.mk +++ b/sc/CppunitTest_sc_indexenumeration_labelrangesenumeration.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_indexenumeration_labelrangesenumerat $(eval $(call gb_CppunitTest_use_external,sc_indexenumeration_labelrangesenumeration,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_indexenumeration_labelrangesenumeration)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_indexenumeration_labelrangesenumeration, \ sc/qa/extras/scindexenumeration_labelrangesenumeration \ )) diff --git a/sc/CppunitTest_sc_indexenumeration_namedrangesenumeration.mk b/sc/CppunitTest_sc_indexenumeration_namedrangesenumeration.mk index 694946fa6317..22eb741e513b 100644 --- a/sc/CppunitTest_sc_indexenumeration_namedrangesenumeration.mk +++ b/sc/CppunitTest_sc_indexenumeration_namedrangesenumeration.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_indexenumeration_namedrangesenumerat $(eval $(call gb_CppunitTest_use_external,sc_indexenumeration_namedrangesenumeration,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_indexenumeration_namedrangesenumeration)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_indexenumeration_namedrangesenumeration, \ sc/qa/extras/scindexenumeration_namedrangesenumeration \ )) diff --git a/sc/CppunitTest_sc_indexenumeration_scenariosenumeration.mk b/sc/CppunitTest_sc_indexenumeration_scenariosenumeration.mk index 74c83007b34f..e248db403b80 100644 --- a/sc/CppunitTest_sc_indexenumeration_scenariosenumeration.mk +++ b/sc/CppunitTest_sc_indexenumeration_scenariosenumeration.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_indexenumeration_scenariosenumeratio $(eval $(call gb_CppunitTest_use_external,sc_indexenumeration_scenariosenumeration,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_indexenumeration_scenariosenumeration)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_indexenumeration_scenariosenumeration, \ sc/qa/extras/scindexenumeration_scenariosenumeration \ )) diff --git a/sc/CppunitTest_sc_indexenumeration_sheetcellrangesenumeration.mk b/sc/CppunitTest_sc_indexenumeration_sheetcellrangesenumeration.mk index 2b104d9c9c7e..a815ede48c1c 100644 --- a/sc/CppunitTest_sc_indexenumeration_sheetcellrangesenumeration.mk +++ b/sc/CppunitTest_sc_indexenumeration_sheetcellrangesenumeration.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_indexenumeration_sheetcellrangesenum $(eval $(call gb_CppunitTest_use_external,sc_indexenumeration_sheetcellrangesenumeration,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_indexenumeration_sheetcellrangesenumeration)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_indexenumeration_sheetcellrangesenumeration, \ sc/qa/extras/scindexenumeration_sheetcellrangesenumeration \ )) diff --git a/sc/CppunitTest_sc_indexenumeration_sheetlinksenumeration.mk b/sc/CppunitTest_sc_indexenumeration_sheetlinksenumeration.mk index b726147dcb59..4ecd3c4e541f 100644 --- a/sc/CppunitTest_sc_indexenumeration_sheetlinksenumeration.mk +++ b/sc/CppunitTest_sc_indexenumeration_sheetlinksenumeration.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_indexenumeration_sheetlinksenumerati $(eval $(call gb_CppunitTest_use_external,sc_indexenumeration_sheetlinksenumeration,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_indexenumeration_sheetlinksenumeration)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_indexenumeration_sheetlinksenumeration, \ sc/qa/extras/scindexenumeration_sheetlinksenumeration \ )) diff --git a/sc/CppunitTest_sc_indexenumeration_spreadsheetsenumeration.mk b/sc/CppunitTest_sc_indexenumeration_spreadsheetsenumeration.mk index a9f97bc35786..1da149364343 100644 --- a/sc/CppunitTest_sc_indexenumeration_spreadsheetsenumeration.mk +++ b/sc/CppunitTest_sc_indexenumeration_spreadsheetsenumeration.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_indexenumeration_spreadsheetsenumera $(eval $(call gb_CppunitTest_use_external,sc_indexenumeration_spreadsheetsenumeration,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_indexenumeration_spreadsheetsenumeration)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_indexenumeration_spreadsheetsenumeration, \ sc/qa/extras/scindexenumeration_spreadsheetsenumeration \ )) diff --git a/sc/CppunitTest_sc_indexenumeration_spreadsheetviewpanesenumeration.mk b/sc/CppunitTest_sc_indexenumeration_spreadsheetviewpanesenumeration.mk index aaaeef91a6cf..df78d51cd7b0 100644 --- a/sc/CppunitTest_sc_indexenumeration_spreadsheetviewpanesenumeration.mk +++ b/sc/CppunitTest_sc_indexenumeration_spreadsheetviewpanesenumeration.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_indexenumeration_spreadsheetviewpane $(eval $(call gb_CppunitTest_use_external,sc_indexenumeration_spreadsheetviewpanesenumeration,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_indexenumeration_spreadsheetviewpanesenumeration)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_indexenumeration_spreadsheetviewpanesenumeration, \ sc/qa/extras/scindexenumeration_spreadsheetviewpanesenumeration \ )) diff --git a/sc/CppunitTest_sc_indexenumeration_subtotalfieldsenumeration.mk b/sc/CppunitTest_sc_indexenumeration_subtotalfieldsenumeration.mk index c88d85356ae6..7acc6910d923 100644 --- a/sc/CppunitTest_sc_indexenumeration_subtotalfieldsenumeration.mk +++ b/sc/CppunitTest_sc_indexenumeration_subtotalfieldsenumeration.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_indexenumeration_subtotalfieldsenume $(eval $(call gb_CppunitTest_use_external,sc_indexenumeration_subtotalfieldsenumeration,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_indexenumeration_subtotalfieldsenumeration)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_indexenumeration_subtotalfieldsenumeration, \ sc/qa/extras/scindexenumeration_subtotalfieldsenumeration \ )) diff --git a/sc/CppunitTest_sc_indexenumeration_tableautoformatenumeration.mk b/sc/CppunitTest_sc_indexenumeration_tableautoformatenumeration.mk index 47f92b5cd3e0..b5e38741c1de 100644 --- a/sc/CppunitTest_sc_indexenumeration_tableautoformatenumeration.mk +++ b/sc/CppunitTest_sc_indexenumeration_tableautoformatenumeration.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_indexenumeration_tableautoformatenum $(eval $(call gb_CppunitTest_use_external,sc_indexenumeration_tableautoformatenumeration,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_indexenumeration_tableautoformatenumeration)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_indexenumeration_tableautoformatenumeration, \ sc/qa/extras/scindexenumeration_tableautoformatenumeration \ )) diff --git a/sc/CppunitTest_sc_indexenumeration_tablechartsenumeration.mk b/sc/CppunitTest_sc_indexenumeration_tablechartsenumeration.mk index b67417cc1d24..e87e6c56ebf2 100644 --- a/sc/CppunitTest_sc_indexenumeration_tablechartsenumeration.mk +++ b/sc/CppunitTest_sc_indexenumeration_tablechartsenumeration.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_indexenumeration_tablechartsenumerat $(eval $(call gb_CppunitTest_use_external,sc_indexenumeration_tablechartsenumeration,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_indexenumeration_tablechartsenumeration)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_indexenumeration_tablechartsenumeration, \ sc/qa/extras/scindexenumeration_tablechartsenumeration \ )) diff --git a/sc/CppunitTest_sc_indexenumeration_tablecolumnsenumeration.mk b/sc/CppunitTest_sc_indexenumeration_tablecolumnsenumeration.mk index a8a9654c8afb..251fb54725e0 100644 --- a/sc/CppunitTest_sc_indexenumeration_tablecolumnsenumeration.mk +++ b/sc/CppunitTest_sc_indexenumeration_tablecolumnsenumeration.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_indexenumeration_tablecolumnsenumera $(eval $(call gb_CppunitTest_use_external,sc_indexenumeration_tablecolumnsenumeration,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_indexenumeration_tablecolumnsenumeration)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_indexenumeration_tablecolumnsenumeration, \ sc/qa/extras/scindexenumeration_tablecolumnsenumeration \ )) diff --git a/sc/CppunitTest_sc_indexenumeration_tableconditionalentryenumeration.mk b/sc/CppunitTest_sc_indexenumeration_tableconditionalentryenumeration.mk index 7a1844357f27..1147476d21ef 100644 --- a/sc/CppunitTest_sc_indexenumeration_tableconditionalentryenumeration.mk +++ b/sc/CppunitTest_sc_indexenumeration_tableconditionalentryenumeration.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_indexenumeration_tableconditionalent $(eval $(call gb_CppunitTest_use_external,sc_indexenumeration_tableconditionalentryenumeration,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_indexenumeration_tableconditionalentryenumeration)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_indexenumeration_tableconditionalentryenumeration, \ sc/qa/extras/scindexenumeration_tableconditionalentryenumeration \ )) diff --git a/sc/CppunitTest_sc_indexenumeration_tablerowsenumeration.mk b/sc/CppunitTest_sc_indexenumeration_tablerowsenumeration.mk index cf469828aa74..d1142451d6c3 100644 --- a/sc/CppunitTest_sc_indexenumeration_tablerowsenumeration.mk +++ b/sc/CppunitTest_sc_indexenumeration_tablerowsenumeration.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_indexenumeration_tablerowsenumeratio $(eval $(call gb_CppunitTest_use_external,sc_indexenumeration_tablerowsenumeration,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_indexenumeration_tablerowsenumeration)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_indexenumeration_tablerowsenumeration, \ sc/qa/extras/scindexenumeration_tablerowsenumeration \ )) diff --git a/sc/CppunitTest_sc_indexenumeration_textfieldenumeration.mk b/sc/CppunitTest_sc_indexenumeration_textfieldenumeration.mk index b09111267b55..aaece4e4a8bd 100644 --- a/sc/CppunitTest_sc_indexenumeration_textfieldenumeration.mk +++ b/sc/CppunitTest_sc_indexenumeration_textfieldenumeration.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_indexenumeration_textfieldenumeratio $(eval $(call gb_CppunitTest_use_external,sc_indexenumeration_textfieldenumeration,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_indexenumeration_textfieldenumeration)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_indexenumeration_textfieldenumeration, \ sc/qa/extras/scindexenumeration_textfieldenumeration \ )) diff --git a/sc/CppunitTest_sc_information_functions_test.mk b/sc/CppunitTest_sc_information_functions_test.mk index 043e9ea99852..1a5a5536f8de 100644 --- a/sc/CppunitTest_sc_information_functions_test.mk +++ b/sc/CppunitTest_sc_information_functions_test.mk @@ -9,6 +9,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_information_functions_test)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_information_functions_test)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_information_functions_test, \ sc/qa/unit/functions_information \ )) diff --git a/sc/CppunitTest_sc_labelrangeobj.mk b/sc/CppunitTest_sc_labelrangeobj.mk index 95e60dd77550..d91c8b5720bc 100644 --- a/sc/CppunitTest_sc_labelrangeobj.mk +++ b/sc/CppunitTest_sc_labelrangeobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_labelrangeobj)) $(eval $(call gb_CppunitTest_use_external,sc_labelrangeobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_labelrangeobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_labelrangeobj, \ sc/qa/extras/sclabelrangeobj \ )) diff --git a/sc/CppunitTest_sc_labelrangesobj.mk b/sc/CppunitTest_sc_labelrangesobj.mk index a59f383fba3a..48b449720450 100644 --- a/sc/CppunitTest_sc_labelrangesobj.mk +++ b/sc/CppunitTest_sc_labelrangesobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_labelrangesobj)) $(eval $(call gb_CppunitTest_use_external,sc_labelrangesobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_labelrangesobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_labelrangesobj, \ sc/qa/extras/sclabelrangesobj \ )) diff --git a/sc/CppunitTest_sc_logical_functions_test.mk b/sc/CppunitTest_sc_logical_functions_test.mk index 50094ac9e3d5..73578e0edc35 100644 --- a/sc/CppunitTest_sc_logical_functions_test.mk +++ b/sc/CppunitTest_sc_logical_functions_test.mk @@ -9,6 +9,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_logical_functions_test)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_logical_functions_test)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_logical_functions_test, \ sc/qa/unit/functions_logical \ )) diff --git a/sc/CppunitTest_sc_macros_test.mk b/sc/CppunitTest_sc_macros_test.mk index b5e569ef7725..90f4930e2016 100644 --- a/sc/CppunitTest_sc_macros_test.mk +++ b/sc/CppunitTest_sc_macros_test.mk @@ -14,6 +14,8 @@ $(eval $(call gb_CppunitTest_use_externals,sc_macros_test, \ mdds_headers \ )) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_macros_test)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_macros_test, \ sc/qa/extras/macros-test \ )) diff --git a/sc/CppunitTest_sc_mark_test.mk b/sc/CppunitTest_sc_mark_test.mk index fb9f936d7e22..b0cd5222cc5e 100644 --- a/sc/CppunitTest_sc_mark_test.mk +++ b/sc/CppunitTest_sc_mark_test.mk @@ -18,6 +18,8 @@ $(eval $(call gb_CppunitTest_use_externals,sc_mark_test, \ mdds_headers \ )) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_mark_test)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_mark_test, \ sc/qa/unit/mark_test \ )) diff --git a/sc/CppunitTest_sc_mathematical_functions_test.mk b/sc/CppunitTest_sc_mathematical_functions_test.mk index 613dd84b1a26..6e7c070209e0 100644 --- a/sc/CppunitTest_sc_mathematical_functions_test.mk +++ b/sc/CppunitTest_sc_mathematical_functions_test.mk @@ -9,6 +9,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_mathematical_functions_test)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_mathematical_functions_test)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_mathematical_functions_test, \ sc/qa/unit/functions_mathematical \ )) 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 \ )) diff --git a/sc/CppunitTest_sc_namedrangeobj.mk b/sc/CppunitTest_sc_namedrangeobj.mk index fce08ae899c4..87d6fde1fb16 100644 --- a/sc/CppunitTest_sc_namedrangeobj.mk +++ b/sc/CppunitTest_sc_namedrangeobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_namedrangeobj)) $(eval $(call gb_CppunitTest_use_external,sc_namedrangeobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_namedrangeobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_namedrangeobj, \ sc/qa/extras/scnamedrangeobj \ )) diff --git a/sc/CppunitTest_sc_namedrangesobj.mk b/sc/CppunitTest_sc_namedrangesobj.mk index 558981fe6bba..e4af65f72913 100644 --- a/sc/CppunitTest_sc_namedrangesobj.mk +++ b/sc/CppunitTest_sc_namedrangesobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_namedrangesobj)) $(eval $(call gb_CppunitTest_use_external,sc_namedrangesobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_namedrangesobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_namedrangesobj, \ sc/qa/extras/scnamedrangesobj \ )) diff --git a/sc/CppunitTest_sc_new_cond_format_api.mk b/sc/CppunitTest_sc_new_cond_format_api.mk index 7cbe23590779..b16f07c0b38d 100644 --- a/sc/CppunitTest_sc_new_cond_format_api.mk +++ b/sc/CppunitTest_sc_new_cond_format_api.mk @@ -11,6 +11,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_new_cond_format_api)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_new_cond_format_api)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_new_cond_format_api, \ sc/qa/extras/new_cond_format \ )) 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 \ )) diff --git a/sc/CppunitTest_sc_outlineobj.mk b/sc/CppunitTest_sc_outlineobj.mk index 5f49521ea361..3e4e1ac28691 100644 --- a/sc/CppunitTest_sc_outlineobj.mk +++ b/sc/CppunitTest_sc_outlineobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_outlineobj)) $(eval $(call gb_CppunitTest_use_external,sc_outlineobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_outlineobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_outlineobj, \ sc/qa/extras/scoutlineobj \ )) diff --git a/sc/CppunitTest_sc_parallelism.mk b/sc/CppunitTest_sc_parallelism.mk index 6c574799180c..3b129626a169 100644 --- a/sc/CppunitTest_sc_parallelism.mk +++ b/sc/CppunitTest_sc_parallelism.mk @@ -9,6 +9,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_parallelism)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_parallelism)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_parallelism, \ sc/qa/unit/parallelism \ )) diff --git a/sc/CppunitTest_sc_pdf_export.mk b/sc/CppunitTest_sc_pdf_export.mk index be938026323c..5f1cbff5f47a 100644 --- a/sc/CppunitTest_sc_pdf_export.mk +++ b/sc/CppunitTest_sc_pdf_export.mk @@ -9,6 +9,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_pdf_export)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_pdf_export)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_pdf_export, \ sc/qa/extras/scpdfexport \ )) diff --git a/sc/CppunitTest_sc_perfobj.mk b/sc/CppunitTest_sc_perfobj.mk index 57556689bc6e..9c6edc2c421b 100644 --- a/sc/CppunitTest_sc_perfobj.mk +++ b/sc/CppunitTest_sc_perfobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_perfobj)) $(eval $(call gb_CppunitTest_use_external,sc_perfobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_perfobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_perfobj, \ sc/qa/perf/scperfobj \ )) diff --git a/sc/CppunitTest_sc_pivottable_filters_test.mk b/sc/CppunitTest_sc_pivottable_filters_test.mk index 108da0ef5420..5bd4c94354bb 100644 --- a/sc/CppunitTest_sc_pivottable_filters_test.mk +++ b/sc/CppunitTest_sc_pivottable_filters_test.mk @@ -9,6 +9,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_pivottable_filters_test)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_pivottable_filters_test)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_pivottable_filters_test, \ sc/qa/unit/pivottable_filters_test \ )) diff --git a/sc/CppunitTest_sc_range_test.mk b/sc/CppunitTest_sc_range_test.mk index 2a9ecc44434e..f344bed41cbc 100644 --- a/sc/CppunitTest_sc_range_test.mk +++ b/sc/CppunitTest_sc_range_test.mk @@ -18,6 +18,8 @@ $(eval $(call gb_CppunitTest_use_externals,sc_range_test, \ mdds_headers \ )) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_range_test)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_range_test, \ sc/qa/unit/range \ )) diff --git a/sc/CppunitTest_sc_rangelst_test.mk b/sc/CppunitTest_sc_rangelst_test.mk index d3f8a18bcf6e..8b87fdc95e32 100644 --- a/sc/CppunitTest_sc_rangelst_test.mk +++ b/sc/CppunitTest_sc_rangelst_test.mk @@ -18,6 +18,8 @@ $(eval $(call gb_CppunitTest_use_externals,sc_rangelst_test, \ mdds_headers \ )) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_rangelst_test)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_rangelst_test, \ sc/qa/unit/rangelst_test \ )) diff --git a/sc/CppunitTest_sc_recentfunctionsobj.mk b/sc/CppunitTest_sc_recentfunctionsobj.mk index d4ccc882f670..0efc94bd6662 100644 --- a/sc/CppunitTest_sc_recentfunctionsobj.mk +++ b/sc/CppunitTest_sc_recentfunctionsobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_recentfunctionsobj)) $(eval $(call gb_CppunitTest_use_external,sc_recentfunctionsobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_recentfunctionsobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_recentfunctionsobj, \ sc/qa/extras/screcentfunctionsobj \ )) diff --git a/sc/CppunitTest_sc_recordchanges.mk b/sc/CppunitTest_sc_recordchanges.mk index 3f9f16770671..7b2c801b8a52 100644 --- a/sc/CppunitTest_sc_recordchanges.mk +++ b/sc/CppunitTest_sc_recordchanges.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_recordchanges)) $(eval $(call gb_CppunitTest_use_external,sc_recordchanges,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_recordchanges)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_recordchanges, \ sc/qa/extras/recordchanges-test \ )) diff --git a/sc/CppunitTest_sc_scenariosobj.mk b/sc/CppunitTest_sc_scenariosobj.mk index 0ab04b279812..9553ee14da83 100644 --- a/sc/CppunitTest_sc_scenariosobj.mk +++ b/sc/CppunitTest_sc_scenariosobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_scenariosobj)) $(eval $(call gb_CppunitTest_use_external,sc_scenariosobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_scenariosobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_scenariosobj, \ sc/qa/extras/scscenariosobj \ )) diff --git a/sc/CppunitTest_sc_screenshots.mk b/sc/CppunitTest_sc_screenshots.mk index 4f6212224c2b..f9b0f61c95e0 100644 --- a/sc/CppunitTest_sc_screenshots.mk +++ b/sc/CppunitTest_sc_screenshots.mk @@ -11,6 +11,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_screenshots)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_screenshots)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_screenshots, \ sc/qa/unit/screenshots/screenshots \ )) diff --git a/sc/CppunitTest_sc_shapeobj.mk b/sc/CppunitTest_sc_shapeobj.mk index 980129013840..920b34a58cd7 100644 --- a/sc/CppunitTest_sc_shapeobj.mk +++ b/sc/CppunitTest_sc_shapeobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_shapeobj)) $(eval $(call gb_CppunitTest_use_external,sc_shapeobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_shapeobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_shapeobj, \ sc/qa/extras/scshapeobj \ )) diff --git a/sc/CppunitTest_sc_sheetlinkobj.mk b/sc/CppunitTest_sc_sheetlinkobj.mk index 3a385a743f70..1b891abc168f 100644 --- a/sc/CppunitTest_sc_sheetlinkobj.mk +++ b/sc/CppunitTest_sc_sheetlinkobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_sheetlinkobj)) $(eval $(call gb_CppunitTest_use_external,sc_sheetlinkobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_sheetlinkobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_sheetlinkobj, \ sc/qa/extras/scsheetlinkobj \ )) diff --git a/sc/CppunitTest_sc_sheetlinksobj.mk b/sc/CppunitTest_sc_sheetlinksobj.mk index 15a80fe23658..2646f6186ed9 100644 --- a/sc/CppunitTest_sc_sheetlinksobj.mk +++ b/sc/CppunitTest_sc_sheetlinksobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_sheetlinksobj)) $(eval $(call gb_CppunitTest_use_external,sc_sheetlinksobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_sheetlinksobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_sheetlinksobj, \ sc/qa/extras/scsheetlinksobj \ )) diff --git a/sc/CppunitTest_sc_sortdescriptorbaseobj.mk b/sc/CppunitTest_sc_sortdescriptorbaseobj.mk index efc099a32a44..3e1667ad7616 100644 --- a/sc/CppunitTest_sc_sortdescriptorbaseobj.mk +++ b/sc/CppunitTest_sc_sortdescriptorbaseobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_sortdescriptorbaseobj)) $(eval $(call gb_CppunitTest_use_external,sc_sortdescriptorbaseobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_sortdescriptorbaseobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_sortdescriptorbaseobj, \ sc/qa/extras/scsortdescriptorbaseobj \ )) diff --git a/sc/CppunitTest_sc_spreadsheet_functions_test.mk b/sc/CppunitTest_sc_spreadsheet_functions_test.mk index 46da6a00566e..8cab97ffd338 100644 --- a/sc/CppunitTest_sc_spreadsheet_functions_test.mk +++ b/sc/CppunitTest_sc_spreadsheet_functions_test.mk @@ -9,6 +9,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_spreadsheet_functions_test)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_spreadsheet_functions_test)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_spreadsheet_functions_test, \ sc/qa/unit/functions_spreadsheet \ )) diff --git a/sc/CppunitTest_sc_spreadsheetsettings.mk b/sc/CppunitTest_sc_spreadsheetsettings.mk index 85797238c95a..ed3519b74d34 100644 --- a/sc/CppunitTest_sc_spreadsheetsettings.mk +++ b/sc/CppunitTest_sc_spreadsheetsettings.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_spreadsheetsettings)) $(eval $(call gb_CppunitTest_use_external,sc_spreadsheetsettings,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_spreadsheetsettings)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_spreadsheetsettings, \ sc/qa/extras/scspreadsheetsettings \ )) diff --git a/sc/CppunitTest_sc_spreadsheetsettingsobj.mk b/sc/CppunitTest_sc_spreadsheetsettingsobj.mk index c8f06d4f9565..6bc6f1a9984c 100644 --- a/sc/CppunitTest_sc_spreadsheetsettingsobj.mk +++ b/sc/CppunitTest_sc_spreadsheetsettingsobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_spreadsheetsettingsobj)) $(eval $(call gb_CppunitTest_use_external,sc_spreadsheetsettingsobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_spreadsheetsettingsobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_spreadsheetsettingsobj, \ sc/qa/extras/scspreadsheetsettingsobj \ )) diff --git a/sc/CppunitTest_sc_statistical_functions_test.mk b/sc/CppunitTest_sc_statistical_functions_test.mk index 78fab057d27c..6d5b602c58c2 100644 --- a/sc/CppunitTest_sc_statistical_functions_test.mk +++ b/sc/CppunitTest_sc_statistical_functions_test.mk @@ -9,6 +9,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_statistical_functions_test)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_statistical_functions_test)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_statistical_functions_test, \ sc/qa/unit/functions_statistical \ )) diff --git a/sc/CppunitTest_sc_stylefamiliesobj.mk b/sc/CppunitTest_sc_stylefamiliesobj.mk index 7c9a5f5a3d76..b8044eaa4ae9 100644 --- a/sc/CppunitTest_sc_stylefamiliesobj.mk +++ b/sc/CppunitTest_sc_stylefamiliesobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_stylefamiliesobj)) $(eval $(call gb_CppunitTest_use_external,sc_stylefamiliesobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_stylefamiliesobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_stylefamiliesobj, \ sc/qa/extras/scstylefamiliesobj \ )) diff --git a/sc/CppunitTest_sc_stylefamilyobj.mk b/sc/CppunitTest_sc_stylefamilyobj.mk index 99c49f9416ca..e87221aaba90 100644 --- a/sc/CppunitTest_sc_stylefamilyobj.mk +++ b/sc/CppunitTest_sc_stylefamilyobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_stylefamilyobj)) $(eval $(call gb_CppunitTest_use_external,sc_stylefamilyobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_stylefamilyobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_stylefamilyobj, \ sc/qa/extras/scstylefamilyobj \ )) diff --git a/sc/CppunitTest_sc_subsequent_export_test.mk b/sc/CppunitTest_sc_subsequent_export_test.mk index 01bd5e077979..e648b9c28f01 100644 --- a/sc/CppunitTest_sc_subsequent_export_test.mk +++ b/sc/CppunitTest_sc_subsequent_export_test.mk @@ -9,6 +9,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_subsequent_export_test)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_subsequent_export_test)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_subsequent_export_test, \ sc/qa/unit/subsequent_export-test \ )) diff --git a/sc/CppunitTest_sc_subsequent_filters_test.mk b/sc/CppunitTest_sc_subsequent_filters_test.mk index 70bd582a394a..b54594a747e4 100644 --- a/sc/CppunitTest_sc_subsequent_filters_test.mk +++ b/sc/CppunitTest_sc_subsequent_filters_test.mk @@ -9,6 +9,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_subsequent_filters_test)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_subsequent_filters_test)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_subsequent_filters_test, \ sc/qa/unit/subsequent_filters-test \ )) diff --git a/sc/CppunitTest_sc_subtotaldescriptorbase.mk b/sc/CppunitTest_sc_subtotaldescriptorbase.mk index e20d002735aa..32389b883c63 100644 --- a/sc/CppunitTest_sc_subtotaldescriptorbase.mk +++ b/sc/CppunitTest_sc_subtotaldescriptorbase.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_subtotaldescriptorbase)) $(eval $(call gb_CppunitTest_use_external,sc_subtotaldescriptorbase,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_subtotaldescriptorbase)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_subtotaldescriptorbase, \ sc/qa/extras/scsubtotaldescriptorbase \ )) diff --git a/sc/CppunitTest_sc_subtotalfieldobj.mk b/sc/CppunitTest_sc_subtotalfieldobj.mk index 3478c5e6fbf8..f1778db8f76b 100644 --- a/sc/CppunitTest_sc_subtotalfieldobj.mk +++ b/sc/CppunitTest_sc_subtotalfieldobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_subtotalfieldobj)) $(eval $(call gb_CppunitTest_use_external,sc_subtotalfieldobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_subtotalfieldobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_subtotalfieldobj, \ sc/qa/extras/scsubtotalfieldobj \ )) diff --git a/sc/CppunitTest_sc_tablecolumnobj.mk b/sc/CppunitTest_sc_tablecolumnobj.mk index 6f18e8070285..b05dbbd6032b 100644 --- a/sc/CppunitTest_sc_tablecolumnobj.mk +++ b/sc/CppunitTest_sc_tablecolumnobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_tablecolumnobj)) $(eval $(call gb_CppunitTest_use_external,sc_tablecolumnobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_tablecolumnobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_tablecolumnobj, \ sc/qa/extras/sctablecolumnobj \ )) diff --git a/sc/CppunitTest_sc_tablecolumnsobj.mk b/sc/CppunitTest_sc_tablecolumnsobj.mk index e5f13366438b..04d41985aa22 100644 --- a/sc/CppunitTest_sc_tablecolumnsobj.mk +++ b/sc/CppunitTest_sc_tablecolumnsobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_tablecolumnsobj)) $(eval $(call gb_CppunitTest_use_external,sc_tablecolumnsobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_tablecolumnsobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_tablecolumnsobj, \ sc/qa/extras/sctablecolumnsobj \ )) diff --git a/sc/CppunitTest_sc_tableconditionalentryobj.mk b/sc/CppunitTest_sc_tableconditionalentryobj.mk index 62f5665d1296..3b176f244a00 100644 --- a/sc/CppunitTest_sc_tableconditionalentryobj.mk +++ b/sc/CppunitTest_sc_tableconditionalentryobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_tableconditionalentryobj)) $(eval $(call gb_CppunitTest_use_external,sc_tableconditionalentryobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_tableconditionalentryobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_tableconditionalentryobj, \ sc/qa/extras/sctableconditionalentryobj \ )) diff --git a/sc/CppunitTest_sc_tableconditionalformat.mk b/sc/CppunitTest_sc_tableconditionalformat.mk index 7809cd1e5179..da0c3155243a 100644 --- a/sc/CppunitTest_sc_tableconditionalformat.mk +++ b/sc/CppunitTest_sc_tableconditionalformat.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_tableconditionalformat)) $(eval $(call gb_CppunitTest_use_external,sc_tableconditionalformat,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_tableconditionalformat)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_tableconditionalformat, \ sc/qa/extras/sctableconditionalformat \ )) diff --git a/sc/CppunitTest_sc_tablerowobj.mk b/sc/CppunitTest_sc_tablerowobj.mk index 861f6fd5ce3f..3029033591d4 100644 --- a/sc/CppunitTest_sc_tablerowobj.mk +++ b/sc/CppunitTest_sc_tablerowobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_tablerowobj)) $(eval $(call gb_CppunitTest_use_external,sc_tablerowobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_tablerowobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_tablerowobj, \ sc/qa/extras/sctablerowobj \ )) diff --git a/sc/CppunitTest_sc_tablerowsobj.mk b/sc/CppunitTest_sc_tablerowsobj.mk index 34d4b2b8c250..4c82243b4f1a 100644 --- a/sc/CppunitTest_sc_tablerowsobj.mk +++ b/sc/CppunitTest_sc_tablerowsobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_tablerowsobj)) $(eval $(call gb_CppunitTest_use_external,sc_tablerowsobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_tablerowsobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_tablerowsobj, \ sc/qa/extras/sctablerowsobj \ )) diff --git a/sc/CppunitTest_sc_tablesheetobj.mk b/sc/CppunitTest_sc_tablesheetobj.mk index 9f543fdc05ce..44e72d112bc8 100644 --- a/sc/CppunitTest_sc_tablesheetobj.mk +++ b/sc/CppunitTest_sc_tablesheetobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_tablesheetobj)) $(eval $(call gb_CppunitTest_use_external,sc_tablesheetobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_tablesheetobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_tablesheetobj, \ sc/qa/extras/sctablesheetobj \ )) diff --git a/sc/CppunitTest_sc_tablesheetsobj.mk b/sc/CppunitTest_sc_tablesheetsobj.mk index 60f72c548dee..779566d7eae8 100644 --- a/sc/CppunitTest_sc_tablesheetsobj.mk +++ b/sc/CppunitTest_sc_tablesheetsobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_tablesheetsobj)) $(eval $(call gb_CppunitTest_use_external,sc_tablesheetsobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_tablesheetsobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_tablesheetsobj, \ sc/qa/extras/sctablesheetsobj \ )) diff --git a/sc/CppunitTest_sc_tablevalidationobj.mk b/sc/CppunitTest_sc_tablevalidationobj.mk index e4adbb2bd37b..9843b68d5313 100644 --- a/sc/CppunitTest_sc_tablevalidationobj.mk +++ b/sc/CppunitTest_sc_tablevalidationobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_tablevalidationobj)) $(eval $(call gb_CppunitTest_use_external,sc_tablevalidationobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_tablevalidationobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_tablevalidationobj, \ sc/qa/extras/sctablevalidationobj \ )) diff --git a/sc/CppunitTest_sc_tabviewobj.mk b/sc/CppunitTest_sc_tabviewobj.mk index 945e8ac94991..e08b1858c875 100644 --- a/sc/CppunitTest_sc_tabviewobj.mk +++ b/sc/CppunitTest_sc_tabviewobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_tabviewobj)) $(eval $(call gb_CppunitTest_use_external,sc_tabviewobj,boost_headers)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_tabviewobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_tabviewobj, \ sc/qa/extras/sctabviewobj \ )) diff --git a/sc/CppunitTest_sc_text_functions_test.mk b/sc/CppunitTest_sc_text_functions_test.mk index fe50b4f8acc7..a6d9835aeb01 100644 --- a/sc/CppunitTest_sc_text_functions_test.mk +++ b/sc/CppunitTest_sc_text_functions_test.mk @@ -9,6 +9,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_text_functions_test)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_text_functions_test)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_text_functions_test, \ sc/qa/unit/functions_text \ )) diff --git a/sc/CppunitTest_sc_tiledrendering.mk b/sc/CppunitTest_sc_tiledrendering.mk index 03e33652a69c..d42fc0a956a6 100644 --- a/sc/CppunitTest_sc_tiledrendering.mk +++ b/sc/CppunitTest_sc_tiledrendering.mk @@ -11,6 +11,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_tiledrendering)) +$(eval $(call gb_CppunitTest_use_common_precompiled_header,sc_tiledrendering)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_tiledrendering, \ sc/qa/unit/tiledrendering/tiledrendering \ )) diff --git a/sc/CppunitTest_sc_ucalc.mk b/sc/CppunitTest_sc_ucalc.mk index 8822fbc8dead..8943de7ab4c3 100644 --- a/sc/CppunitTest_sc_ucalc.mk +++ b/sc/CppunitTest_sc_ucalc.mk @@ -11,6 +11,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_ucalc)) +$(eval $(call gb_Library_use_common_precompiled_header,sc_ucalc)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_ucalc, \ sc/qa/unit/ucalc \ sc/qa/unit/ucalc_column \ diff --git a/sc/CppunitTest_sc_uniquecellformatsenumeration.mk b/sc/CppunitTest_sc_uniquecellformatsenumeration.mk index a46810ef88e9..98d0b25d3d7a 100644 --- a/sc/CppunitTest_sc_uniquecellformatsenumeration.mk +++ b/sc/CppunitTest_sc_uniquecellformatsenumeration.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_uniquecellformatsenumeration)) $(eval $(call gb_CppunitTest_use_external,sc_uniquecellformatsenumeration,boost_headers)) +$(eval $(call gb_Library_use_common_precompiled_header,sc_uniquecellformatsenumeration)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_uniquecellformatsenumeration, \ sc/qa/extras/scuniquecellformatsenumeration \ )) diff --git a/sc/CppunitTest_sc_uniquecellformatsobj.mk b/sc/CppunitTest_sc_uniquecellformatsobj.mk index 6efd2f1100bb..c791d49b539f 100644 --- a/sc/CppunitTest_sc_uniquecellformatsobj.mk +++ b/sc/CppunitTest_sc_uniquecellformatsobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_uniquecellformatsobj)) $(eval $(call gb_CppunitTest_use_external,sc_uniquecellformatsobj,boost_headers)) +$(eval $(call gb_Library_use_common_precompiled_header,sc_uniquecellformatsobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_uniquecellformatsobj, \ sc/qa/extras/scuniquecellformatsobj \ )) diff --git a/sc/CppunitTest_sc_viewpaneobj.mk b/sc/CppunitTest_sc_viewpaneobj.mk index 7936d21677b9..a6c20190dfee 100644 --- a/sc/CppunitTest_sc_viewpaneobj.mk +++ b/sc/CppunitTest_sc_viewpaneobj.mk @@ -13,6 +13,8 @@ $(eval $(call gb_CppunitTest_CppunitTest,sc_viewpaneobj)) $(eval $(call gb_CppunitTest_use_external,sc_viewpaneobj,boost_headers)) +$(eval $(call gb_Library_use_common_precompiled_header,sc_viewpaneobj)) + $(eval $(call gb_CppunitTest_add_exception_objects,sc_viewpaneobj, \ sc/qa/extras/scviewpaneobj \ )) diff --git a/sc/Library_scd.mk b/sc/Library_scd.mk index 1a6a132f74f9..a4862fd266f0 100644 --- a/sc/Library_scd.mk +++ b/sc/Library_scd.mk @@ -18,6 +18,8 @@ $(eval $(call gb_Library_set_include,scd,\ $(eval $(call gb_Library_use_external,scd,boost_headers)) +$(eval $(call gb_Library_use_common_precompiled_header,scd)) + $(eval $(call gb_Library_use_api,scd,\ udkapi \ offapi \ diff --git a/sc/Library_scqahelper.mk b/sc/Library_scqahelper.mk index f91ec28c224a..78bbae5cd9ec 100644 --- a/sc/Library_scqahelper.mk +++ b/sc/Library_scqahelper.mk @@ -28,6 +28,8 @@ else $(eval $(call gb_Library_use_externals,scqahelper,orcus-parser)) endif +$(eval $(call gb_Library_use_common_precompiled_header,scqahelper)) + $(eval $(call gb_Library_add_defs,scqahelper,\ -DSCQAHELPER_DLLIMPLEMENTATION \ )) 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 \ diff --git a/solenv/gbuild/CppunitTest.mk b/solenv/gbuild/CppunitTest.mk index c44528131b81..f2a267e3e04b 100644 --- a/solenv/gbuild/CppunitTest.mk +++ b/solenv/gbuild/CppunitTest.mk @@ -446,6 +446,7 @@ gb_CppunitTest_use_package = $(call gb_CppunitTest__forward_to_Linktarget,$(0),$ gb_CppunitTest_use_packages = $(call gb_CppunitTest__forward_to_Linktarget,$(0),$(1),$(2),$(3)) gb_CppunitTest_set_precompiled_header = $(call gb_CppunitTest__forward_to_Linktarget,$(0),$(1),$(2),$(3)) gb_CppunitTest_reuse_precompiled_header = $(call gb_CppunitTest__forward_to_Linktarget,$(0),$(1),$(2),$(3)) +gb_CppunitTest_use_common_precompiled_header = $(call gb_CppunitTest__forward_to_Linktarget,$(0),$(1),$(2),$(3)) gb_CppunitTest_add_sdi_headers = $(call gb_CppunitTest__forward_to_Linktarget,$(0),$(1),$(2),$(3)) gb_CppunitTest_add_cflags = $(call gb_CppunitTest__forward_to_Linktarget,$(0),$(1),$(2),$(3)) gb_CppunitTest_set_cflags = $(call gb_CppunitTest__forward_to_Linktarget,$(0),$(1),$(2),$(3)) diff --git a/solenv/gbuild/Executable.mk b/solenv/gbuild/Executable.mk index 7cc0b72d437c..74b011a311b6 100644 --- a/solenv/gbuild/Executable.mk +++ b/solenv/gbuild/Executable.mk @@ -144,6 +144,7 @@ gb_Executable_use_unpacked = $(call gb_Executable__forward_to_Linktarget,$(0),$( gb_Executable_add_sdi_headers = $(call gb_Executable__forward_to_Linktarget,$(0),$(1),$(2),$(3)) gb_Executable_set_precompiled_header = $(call gb_Executable__forward_to_Linktarget,$(0),$(1),$(2),$(3)) gb_Executable_reuse_precompiled_header = $(call gb_Executable__forward_to_Linktarget,$(0),$(1),$(2),$(3)) +gb_Executable_use_common_precompiled_header = $(call gb_Executable__forward_to_Linktarget,$(0),$(1),$(2),$(3)) gb_Executable_add_nativeres = $(call gb_Executable__forward_to_Linktarget,$(0),$(1),$(2),$(3)) gb_Executable_set_warnings_not_errors = $(call gb_Executable__forward_to_Linktarget,$(0),$(1),$(2),$(3)) gb_Executable_set_warnings_disabled = $(call gb_Executable__forward_to_Linktarget,$(0),$(1),$(2),$(3)) diff --git a/solenv/gbuild/Library.mk b/solenv/gbuild/Library.mk index 9fec8ad45c13..9680a7b75de3 100644 --- a/solenv/gbuild/Library.mk +++ b/solenv/gbuild/Library.mk @@ -227,6 +227,7 @@ gb_Library_use_unpacked = $(call gb_Library__forward_to_Linktarget,$(0),$(1),$(2 gb_Library_add_sdi_headers = $(call gb_Library__forward_to_Linktarget,$(0),$(1),$(2),$(3)) gb_Library_set_precompiled_header = $(call gb_Library__forward_to_Linktarget,$(0),$(1),$(2),$(3)) gb_Library_reuse_precompiled_header = $(call gb_Library__forward_to_Linktarget,$(0),$(1),$(2),$(3)) +gb_Library_use_common_precompiled_header = $(call gb_Library__forward_to_Linktarget,$(0),$(1),$(2),$(3)) gb_Library_export_objects_list = $(call gb_Library__forward_to_Linktarget,$(0),$(1),$(2),$(3)) gb_Library_add_nativeres = $(call gb_Library__forward_to_Linktarget,$(0),$(1),$(2),$(3)) gb_Library_set_nativeres = $(call gb_Library__forward_to_Linktarget,$(0),$(1),$(2),$(3)) diff --git a/solenv/gbuild/LinkTarget.mk b/solenv/gbuild/LinkTarget.mk index a6deccdad131..e7bf4c5b05cb 100644 --- a/solenv/gbuild/LinkTarget.mk +++ b/solenv/gbuild/LinkTarget.mk @@ -1586,13 +1586,30 @@ $(call gb_LinkTarget_get_pch_reuse_timestamp,$(4)) : $(call gb_PrecompiledHeader endef -# call gb_LinkTarget_reuse_precompiled_header,linktarget,pchcxxfile,,linktargetmakefilename -define gb_LinkTarget_reuse_precompiled_header -ifneq ($(gb_ENABLE_PCH),) -$(call gb_LinkTarget__reuse_precompiled_header_impl,$(1),$(2),$(notdir $(2)),$(4)) + +# call gb_LinkTarget__reuse_precompiled_header_workarounds,linktarget,pchcxxfile,pchtarget,linktargetmakefilename +define gb_LinkTarget__reuse_precompiled_header_workarounds ifeq ($(COM_IS_CLANG),TRUE) $(call gb_LinkTarget_add_defs,$(1),-include $(SRCDIR)/pch/inc/clangfix.hxx) endif +$(if $(filter precompiled_system,$(3)), $(call gb_LinkTarget_add_defs,$(1),-DBOOST_ALL_NO_LIB)) +endef + +# call gb_LinkTarget_reuse_precompiled_header,linktarget,pchcxxfile,,linktargetmakefilename +define gb_LinkTarget_reuse_precompiled_header +ifneq ($(gb_ENABLE_PCH),) +ifneq ($(gb_DISABLE_PCH_REUSE),) +$(call gb_LinkTarget__reuse_precompiled_header_impl,$(1),$(2),$(notdir $(2)),$(4)) +$(call gb_LinkTarget__reuse_precompiled_header_workarounds,$(1),$(2),$(notdir $(2)),$(4)) +endif +endif + +endef + +# call gb_LinkTarget_use_common_precompiled_header,linktarget,,, +define gb_LinkTarget_use_common_precompiled_header +ifneq ($(gb_ENABLE_PCH),) +$(call gb_LinkTarget_reuse_precompiled_header,$(1),pch/inc/pch/precompiled_system,,$(4)) endif endef diff --git a/solenv/gbuild/PrecompiledHeaders.mk b/solenv/gbuild/PrecompiledHeaders.mk index d04059296cad..0da579ef95e5 100644 --- a/solenv/gbuild/PrecompiledHeaders.mk +++ b/solenv/gbuild/PrecompiledHeaders.mk @@ -104,7 +104,7 @@ endef # Specifically, there are 3 kinds: # - -DXXX_DLLIMPLEMENTATION - they are used only in our headers, should not affect system headers. # - -DSYSTEM_XXX - they are used only by our code (if at all), should not affect system headers -# - various configuration defines - they again should only be used by our code and not system headers +# - various LO configuration defines - they again should only be used by our code and not system headers # Technically, different compilers handle additional defines like this: # - GCC # * It is explicitly allowed to have different macros, as long as they do not affect the PCH. @@ -126,11 +126,14 @@ endef # So while this is officially tricky, in practice it seems to work to allow PCH reuse if the linktarget # has more defines than the PCH was built with, as long as the defines do not affect the PCH. gb_PrecompiledHeader_ignore_flags_system := \ --DSAX_DLLIMPLEMENTATION \ -DFASTSAX_DLLIMPLEMENTATION \ +-DSAX_DLLIMPLEMENTATION \ +-DSCQAHELPER_DLLIMPLEMENTATION \ -DSYSTEM_EXPAT \ -DSYSTEM_LIBXML \ -DSYSTEM_ZLIB \ +-DDISABLE_CVE_TESTS \ +-DCPPUNIT_PLUGIN_EXPORT='extern "C" SAL_DLLPUBLIC_EXPORT' \ -include $(SRCDIR)/pch/inc/clangfix.hxx \ # Probably also update pch/inc/clangfix.hxx if you extend the list. diff --git a/solenv/gbuild/StaticLibrary.mk b/solenv/gbuild/StaticLibrary.mk index da916a239d35..b69b9595e976 100644 --- a/solenv/gbuild/StaticLibrary.mk +++ b/solenv/gbuild/StaticLibrary.mk @@ -115,6 +115,7 @@ gb_StaticLibrary_use_static_libraries = $(call gb_StaticLibrary__forward_to_Link gb_StaticLibrary_add_sdi_headers = $(call gb_StaticLibrary__forward_to_Linktarget,$(0),$(1),$(2),$(3)) gb_StaticLibrary_set_precompiled_header = $(call gb_StaticLibrary__forward_to_Linktarget,$(0),$(1),$(2),$(3)) gb_StaticLibrary_reuse_precompiled_header = $(call gb_StaticLibrary__forward_to_Linktarget,$(0),$(1),$(2),$(3)) +gb_StaticLibrary_use_common_precompiled_header = $(call gb_StaticLibrary__forward_to_Linktarget,$(0),$(1),$(2),$(3)) gb_StaticLibrary_set_warnings_not_errors = $(call gb_StaticLibrary__forward_to_Linktarget,$(0),$(1),$(2),$(3)) gb_StaticLibrary_set_warnings_disabled = $(call gb_StaticLibrary__forward_to_Linktarget,$(0),$(1),$(2),$(3)) gb_StaticLibrary_set_external_code = $(call gb_StaticLibrary__forward_to_Linktarget,$(0),$(1),$(2),$(3))