I have been building my C++ app on the Mac, for the Mac. But soon I would like to be able to make this simple game available on multiple platforms. I got prematurely excited when I saw that Parallels has provided an extension to work with Visual Studio code on Mac. But a closer examination shows that this extension is only icing on the cake. What I can’t find anywhere is a “Take it from the top” document describing how I might cross-compile from Mac to Windows and run the product in a Parallels virtual machine that is running on the Mac.
Issues and questions:
- I know that I want to edit on the Mac, keeping the source all in one place.
- I think that I want to compile on the Mac. If so, there’s a whole issue of downloading Windows headers and libraries into some sort of compilation “sandbox” on the Mac. How is that done?
- I hope that, having built on the Mac, I can arrange things so that the F5 run command automatically transfers the built product into the VM and runs it there. Is this possible?
- Maybe even remote debugging?
This is too broad a question to expect a truckload of answers here. I’m really asking for references to one or more “Take it from the top” documents where I might read up on this whole concept. Please tell me they exist…!