I am developing an application that should run on both Windows and Linux.
So far this works for me on Linux using GCC 4.4.1 using my Makefile.
However, I also need to compile Windows. The source code will compile on Windows, since I #defined all areas of code shared by various compilers. I.e:.
#ifdefined (LINUX) #else #endif
And while the code is very simple, since I'm just starting this program. Basically, I just want to test my idea.
However, as simple as compiling the source code on Linux?
Then, when I want to compile Windows, I could copy the files to the Windows platform. Then open the source code files in Visual Studio C ++ and create a project and then compile to create my binary file?
c
ant2009
source share