Wednesday, September 3, 2014

git merge drivers + multiple platforms / IDE's

One problem with working on multiple platforms is that each platform usually has it's own preferred IDE & it's own project file formats. A solution I often see in open source software is to use makefiles and generate the project files for different platforms. That works, but it's not very convenient that you have to manually add files to a makefile.

So I was wondering, what if each platform had it's own GIT merge driver that parses the project file format for the preferred IDE/text editor on that platform and then patches the project files for the other platforms?

You'd still need some way to make sure that other platforms don't end up compiling files platform specific files for another platform heh. In theory it could mean that you could just use any IDE you'd want on any platform and it would 'just work'..

Just a crazy random thought.