Each operating system has its own page for compiling FreeCAD in the Online Help Documentation.
It is also possible to compile FreeCAD on windows using Cygwin or MinGW.