Using - for compiler switches is not a problem. The -o needs to be a -Fo and the paths need to be converted from Unix style to Windows style via the cygpath command.