You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A component make target MUST NOT, directly or indirectly, depend on any ODK generated files/make targets, in particular not: imports, seeds, merged source files and other components.
In the case you do have a logical dependency, you have to manage the dependency yourself by 1) generating the dependency with make first and 2) using the generated file in the make target of the dependent file (i.e. the component) without having an explicit make dependency.
The text was updated successfully, but these errors were encountered:
For example, generating the import modules requires, among other steps, extracting the “seed” file. That extraction in turn requires both the -edit file and all the declared components.
If a component was dependent on an import module, you would end up in a situation where you would need to generate the imports before you can make the component, but you would need the component before you can generate the imports.
Forbidding custom components from depending on other Make targets allows us to assume that such a conundrum cannot happen.
make
target MUST NOT, directly or indirectly, depend on any ODK generated files/make targets, in particular not: imports, seeds, merged source files and other components.make
first and 2) using the generated file in themake
target of the dependent file (i.e. the component) without having an explicitmake
dependency.The text was updated successfully, but these errors were encountered: