How do I configure projects to build common source code for multiple target platforms?

How do I configure projects to build common source code for multiple target platforms?

Hi. Please see the detailed documentation on configuring MPP projects. There are also many sample projects available, for example here.