Parallel platform development

The platform property identifies a project or object that is designed for a particular platform. If you build your software for multiple platforms, you need a platform-specific project for each platform, and each project version needs its platform property set. For example, if you build the snap project for UNIX and Windows, you need two versions: one with its platform property set to UNIX, and one with the property set to win.

When you update your projects using a baseline, folders, and tasks, selection is limited to the candidates specified by your update properties. If your candidates contain parallel versions for different platforms, you must set the candidates’ platform property so that the update operation can select the version that matches the project’s platform property.

For example, consider the snap project, which contains line.c. This version of the project has its platform value set to win32, indicating that it is built for the 32-bit Windows platform. The line.c object has two versions: one marked for win32, and one marked for UNIX. If both are candidates because they were included in the project’s folders or tasks, the selection rules pick the one whose platform value matches.


Feedback