The following issue has been SUBMITTED. ====================================================================== http://www.cmake.org/Bug/view.php?id=12998 ====================================================================== Reported By: Amine Khaldi Assigned To: ====================================================================== Project: CMake Issue ID: 12998 Category: CMake Reproducibility: always Severity: major Priority: normal Status: new ====================================================================== Date Submitted: 2012-02-26 07:18 EST Last Modified: 2012-02-26 07:18 EST ====================================================================== Summary: rc-File support for MinGW: <FLAGS> incompatibilities between GCC and windres Description: Hi,
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. Thanks. ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2012-02-26 07:18 Amine Khaldi New Issue ====================================================================== -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers