[CMake] Cannot create shared lib under Windows, the error message is unreadable

Bill Hoffman bill.hoffman at kitware.com
Mon Oct 5 13:40:35 EDT 2009


michael kapelko wrote:
> I tried to change cmGlobalMSYSGenerator and to use "MinGW Makefiles" in 
> MSYS the way you suggested. Nothing helped.

Well, you have hit a hard limit for the command line on windows...  You 
are going to have to break your code down into smaller bits...

One hack I can think of that might work is to use #include to 
consolidate some of the .c files.


BigFile.c

#include "file1.c"
#include "file2.c"
....
#include "fileN.c"


-Bill




More information about the CMake mailing list