Hi,
I’ve got a PC desktop and a Mac laptop, and I’m looking to build things that can work on either. Ideally I’d like to be able to use git to push on one and pull on the other, but the tooling is vastly different- Visual Studio for PC, XCode for Mac. They require different configurations, and separate files, and the directory layout seems a little different. Does anyone have any experience with this?
My current thinking is this:
- Use the project generator on both to create a folder
- Create a git configuration that only looks at the ‘src’ folder and the ‘data’ directory of the ‘bin’ folder
- Configure the specifics of any compilation separately
Is this a good approach, or is there a better way? Should I just add all the files, or will there be some sort of clash? I may add in Linux too at some point for kicks, so any tips appreciated.
Thanks!