I work on a project from multiple machines and prefer to use Xcode as my IDE, even though I build with the SCons build tool.
I followed the guidance of this discussion to sync my project .pbxproj file using Git. This works ok. New source files show up in the project tree, etc. I have the build working fine on one machine or the other.
I am running into a problem in that the scons build tool is installed at a different absolute path on different machines. It is not in whatever path XCode is using either.
Can anyone tell me how to use an environment variable or other means in the XCode target settings for an external build tool target so that I can specify the correct build tool location and also build products directory? The goal is that the .pbxproj file works on both my machines without modification, but an environment variable would be set differently on each machine.
Thanks.