GoogleTest.mk (8f71f2da) | GoogleTest.mk (390c74e1) |
---|---|
1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance --- 55 unchanged lines hidden (view full) --- 64$(call gb_GoogleTest_get_target,$(1)) : $(call gb_LinkTarget_get_target,$(2)) 65$(call gb_GoogleTest_get_clean_target,$(1)) : $(call gb_LinkTarget_get_clean_target,$(2)) 66$(call gb_GoogleTest_GoogleTest_platform,$(1),$(2),$(call gb_LinkTarget_get_target,GoogleTest/$(call gb_GoogleTest_get_filename,$(1)))) 67$$(eval $$(call gb_Module_register_target,$(call gb_GoogleTest_get_target,$(1)),$(call gb_GoogleTest_get_clean_target,$(1)))) 68 69endef 70 71define gb_GoogleTest__forward_to_Linktarget | 1#************************************************************** 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance --- 55 unchanged lines hidden (view full) --- 64$(call gb_GoogleTest_get_target,$(1)) : $(call gb_LinkTarget_get_target,$(2)) 65$(call gb_GoogleTest_get_clean_target,$(1)) : $(call gb_LinkTarget_get_clean_target,$(2)) 66$(call gb_GoogleTest_GoogleTest_platform,$(1),$(2),$(call gb_LinkTarget_get_target,GoogleTest/$(call gb_GoogleTest_get_filename,$(1)))) 67$$(eval $$(call gb_Module_register_target,$(call gb_GoogleTest_get_target,$(1)),$(call gb_GoogleTest_get_clean_target,$(1)))) 68 69endef 70 71define gb_GoogleTest__forward_to_Linktarget |
72gb_GoogleTest_$(1) = $$(call gb_LinkTarget_$(1),$$(call gb_GoogleTest__get_linktargetname,$$(1)),$$(2),$$(3)) | 72gb_GoogleTest_$(1) = $$(call gb_LinkTarget_$(1),$$(call gb_GoogleTest__get_linktargetname,$$(1)),$$(2),$$(3),$$(4)) |
73 74endef 75 76$(eval $(foreach method,\ 77 add_cobject \ 78 add_cobjects \ 79 add_cxxobject \ 80 add_cxxobjects \ --- 32 unchanged lines hidden --- | 73 74endef 75 76$(eval $(foreach method,\ 77 add_cobject \ 78 add_cobjects \ 79 add_cxxobject \ 80 add_cxxobjects \ --- 32 unchanged lines hidden --- |