2020-12-30 | Paul Boddie | raw annotate files changeset graph | Make interface header export directories if necessary. |
1 define export_interface_cc_template = 2 ifdef IDL_EXPORT_DIR 3 $(1)_INT_IDL = $(call interfaces_to_idl,$(1)) 4 $(1)_INT_INC = $(call export_includes,$(call interfaces_to_interface_h,$(1))) 5 6 $$($(1)_INT_INC): $$($(1)_INT_IDL) 7 -mkdir -p $(IDL_EXPORT_DIR) 8 $(IDL_PROG) -d $(IDL_EXPORT_DIR) --interfaces --language=c++ $$($(1)_INT_IDL) 9 endif 10 endef