Configuring platform and device OS at the project level

Hi there.
We have a couple of projects based on the tracker platform.
We would like to have the configuration for device OS version and platform be stored with the source code and set automatically when we import the project. Additionally we would like to be able to use these values in our ci/cd pipelines to ensure consistency from dev to production.

Is there a recommended way to do this?

Ideally we could set this in the project.properties, but I do also see that the values are available in the local .vscode/settings.json file

The settings.json file is the way to do it for developers.

It's usually different for CI/CD. You can see how it was done for Github actions but the techniques used there could also be done with other CI/CD platforms.

1 Like