Add a new module to engine/source/Editor

I’m trying to add a new module to the engine source as it’s hard tied to the other engine modules. In fact, I have created a new “module” in the source code like building a game module in a project, however it seems not work. The xxx_API module macro can not used and if I open the engine solution with a new IDE, the new “module” can not appear.

How do I set up dependency correctly for this “module” in the engine, so that it’s included by default, both when compiling and when running?