If certain projects must be built before others, you can set the build order. If your project refers to another project, the IDE must build the other project first.
When you set the build order, the IDE does not rebuild projects that depend on a project; you must rebuild all projects to ensure all changes are propagated.
To set the project build order