Re: [CMake] MingW Update for resource compilation.

2010-04-10 Thread Peter Collingbourne
On Fri, Mar 05, 2010 at 10:20:06PM -0800, J Decker wrote: All of the examples indicating ENABLE_LANGUAGE(RC) have the compiler set afterwards, and it turns out that the following lines work much better... I Added these to WIndows-GNU.cmake SET(CMAKE_RC_COMPILER windres)

Re: [CMake] MingW Update for resource compilation.

2010-03-06 Thread J Decker
On Fri, Mar 5, 2010 at 10:20 PM, J Decker d3c...@gmail.com wrote: All of the examples indicating ENABLE_LANGUAGE(RC) have the compiler set afterwards, and it turns out that the following lines work much better... I Added these to WIndows-GNU.cmake SET(CMAKE_RC_COMPILER windres)

[CMake] MingW Update for resource compilation.

2010-03-05 Thread J Decker
All of the examples indicating ENABLE_LANGUAGE(RC) have the compiler set afterwards, and it turns out that the following lines work much better... I Added these to WIndows-GNU.cmake SET(CMAKE_RC_COMPILER windres) SET(CMAKE_RC_COMPILE_OBJECT CMAKE_RC_COMPILER FLAGS DEFINES -O coff -o OBJECT