[CMake] [Eclipse CDT4 Generator] issue finding windres.exe

Yegor Yefremov yegor_sub1 at visionsystems.de
Mon Jun 28 05:08:36 EDT 2010


I'm using CMake, MinGW and Eclipse as described here http://www.cmake.org/Wiki/Eclipse_CDT4_Generator. In my project I need to compile a resource file, so I've used the add_custom_command() to achieve this. If I run make in MSYS it succeeds, but running from Eclipse causes a problem, since Eclipse cannot find windres.exe. How can I automatically provide a path to windres.exe during the project generation or are there any other solutions?

Regards,
Yegor


More information about the CMake mailing list