I currently have the OGLES2Tools project as a subproject in Xcode. This is not changed, so I have been referencing the SDK source in its default location and leaving it locked for editing.
I recognise there are a few problems with this approach:
- My checked-in code depends on something that is in a particular location on MY machine. If/when I have another team member they would have to checkout my code then install my targeted version of the PVRSDK and make sure the source files were in the same place as they are on my machine - this is obviously not good.
- How do I tie my code to a particular version of the SDK?
The obvious solution these problems seems to be to create a subfolder under my main project folder (called pvrsdk or something) and put a copy of the OGLES2Tools source in there. Then use that (project folder relative) location as the place where xcode finds the subproject. This would mean that I would be committing my targeted version of the SDK to git along with the rest of my code.
Does this approach sound familiar, if not what do people usually do?