I'm developing a program to be run under Windows and MacOS. Lazarus is indeed an amazing tool for this. And the program works well on both.
I share the project via DropBox on one Windows 7 machine and one MacOS machine. For now, I have to go between the computers and compile the Windows-version on the PC and the MacOS-version on the Mac.
By mistake I can create both versions on my PC or my Mac and Lazarus seems happy with doing that but the MacOS-version won't work if created on my PC and vice versa. Morever, when this happens, I actually have to recompile the Lazarus IDE on the other computer (at least, that solves the problem I get into when making this mistake).
I hope someone knows how to create the necessary files in separate folders and how to make Lazarus access the proper folders depending on the "Build mode".
Is this possible? And if so, what steps do I have to take to make it work on both the PC and the Mac?