gbuild: add gb_CppunitTest_use_executable
and use it in sdext/CppunitTest_pdfimport.mk, which could fail previously in a parallel build. Change-Id: I3f251c945f5841c277a71a19fd411ecd77dec3b5
This commit is contained in:
@@ -66,6 +66,8 @@ $(eval $(call gb_CppunitTest_add_exception_objects,sdext_pdfimport,\
|
||||
sdext/source/pdfimport/test/tests \
|
||||
))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_executable,sdext_pdfimport,xpdfimport))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_ure,sdext_pdfimport))
|
||||
|
||||
$(eval $(call gb_CppunitTest_use_components,sdext_pdfimport,\
|
||||
|
@@ -307,6 +307,10 @@ $(foreach extra,$(2),$(call gb_CppunitTest__use_configuration,$(1),xcsxcu,$(extr
|
||||
|
||||
endef
|
||||
|
||||
define gb_CppunitTest_use_executable
|
||||
$(call gb_CppunitTest_get_target,$(1)) : $(call gb_Executable_get_target,$(2))
|
||||
endef
|
||||
|
||||
define gb_CppunitTest__forward_to_Linktarget
|
||||
gb_CppunitTest_$(1) = $$(call gb_LinkTarget_$(1),$$(call gb_CppunitTest__get_linktargetname,$$(1)),$$(2),$$(3),CppunitTest_$$(1))
|
||||
|
||||
|
Reference in New Issue
Block a user