[CMake] Incorrect extra MinGW link flags

2011-05-19 Thread Stiaan Gerber
Dear list On Windows, MinGW (gcc 4.5.2), CMake 2.8.4. I have a project building two executables. The first one builds correctly. On the second one it appears to me as though CMake adds flags to link to the standard MinGW libraries (mingw32, moldname, mingwex, ...) with an incorrect .lib

Re: [CMake] Incorrect extra MinGW link flags

2011-05-19 Thread Yuri Timenkov
May be you should use Cygwin build of CMake? On Thu, May 19, 2011 at 12:46 PM, Stiaan Gerber sger...@sun.ac.za wrote: Dear list On Windows, MinGW (gcc 4.5.2), CMake 2.8.4. I have a project building two executables. The first one builds correctly. On the second one it appears to me as

Re: [CMake] Incorrect extra MinGW link flags

2011-05-19 Thread Stiaan Gerber
On 19/05/11 14:41, Yuri Timenkov wrote: May be you should use Cygwin build of CMake? On Thu, May 19, 2011 at 12:46 PM, Stiaan Gerber sger...@sun.ac.za mailto:sger...@sun.ac.za wrote: Dear list On Windows, MinGW (gcc 4.5.2), CMake 2.8.4. I have a project building

Re: [CMake] Incorrect extra MinGW link flags

2011-05-19 Thread Yuri Timenkov
Sorry, usually there are errors when trying to generate project under cygwin, but cmake uses backslashes. Then I suggest looking at xmlparse and CE_FEMxml dependencies. Because they're static libraries, CMake adds all their dependencies into link command. You can also check CMake's advanced