Say that you're developing code which needs to compile and run on multiple hosts (say Linux and Windows), how would you go about doing that in the most efficient manner given that:
- You have full access to hardware for each host you're compiling for (in my case a Linux host and a Windows host standing on my desk)
- Building over a network drive is too expensive
- No commits to a central repository should be required -- assume that there is a CI engine which tries to build as soon as anything is checked in
"Efficient" means keeping the compile-edit-run cycle as short and simple as possible.