rc-File support for MinGW: <FLAGS> incompatibilities between GCC and windres
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
For ReactOS when we use basically the default
CMAKE_RC_COMPILE_OBJECT in GCC builds, the
<FLAGS> variable expands into the includes + C/CXX compiler flags.
This makes windres error out on some targets, for example vga has
-mrtd among them, which
windres doesn't accept.
I guess a solution would be separating includes from compiler flags, so that we can set our own rule, keeping the includes and omitting the flags, but you guys may have a better solution.