Connecting MPS Generated Source Code to Exist Project

I'm planning on using MPS to generate some part of projects but not all of it.
I'm working on several projects (SDKs) in several platforms that I want to keep in sync.
There are parts of each projects that are unique and written only once and other parts that need to be sync by all projects which I want to generate with MPS.

My question is how to reference code elements such as classes and methods of the exist code base? Should I create some kind of stub in my MPS language?

Thank you,

Please sign in to leave a comment.