CMake MinGW Compiler Issues: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
No edit summary
 
No edit summary
Line 12: Line 12:
put a check in for this, and if sh.exe is found and you try "MinGW Makefiles"
put a check in for this, and if sh.exe is found and you try "MinGW Makefiles"
cmake produces and error.
cmake produces and error.
{{CMake/Template/Footer}}

Revision as of 14:55, 9 March 2006

MinGW windows path problem

sh.exe must not be in the path for "MinGW Makefiles" to work.


http://lists.trolltech.com/qt-interest/2006-01/thread00091-0.html


If make finds sh.exe in your path, it will use it, and then "MinGW Makefiles" will not work. If sh.exe is in your PATH, then you must use "MSYS Makefiles" or "Unix Makefiles". I suppose I could put a check in for this, and if sh.exe is found and you try "MinGW Makefiles" cmake produces and error.



CMake: [Welcome | Site Map]