If I posted in the wrong topic please move my question to appropriate place.

I just bought a second computer and installed Linux on it. Now I want to write and test my projects on it, because it is better machine, but to transfer it to my Windows machine when I need to compile it for Windows. As far as I now I can't compile for Windows on Linux, I have to use computer with Windows system installed. So far what I did was copy all my forms, headers and source code from one machine to another make an empty project then go on include existing files. Then I would compile the code. It is working but I am just wondering is there some better, smarter way, to achieve the same end result. Code developed on Linux and compiled for Windows.

Thanks in advance.