Hi Alan, > > "cmake doesn't like sh.exe in the path if I use MinGW/CLI combination, I > have to rename it, run cmake, rename sh again to run the tests." > > I have just had an idea about that. I suggest you put the directory > where win-bash occurs last on your PATH. For those platforms with an > official shell (MinGW/MSYS, Cygwin, etc.) you will always use that official > shell (which both cmake and plplot-test.sh are happy with) since that shell > will be higher on the PATH than win-bash.
Not really. This is again a Msys-MinGW story. If you have "MinGW Makefiles" as a generator, cmake checks if there is any sh.exe in the path (there shouldn't be any, since we don't use Msys, which provides on). If it finds one, cmake immediately stops, since it thinks, we are running msys and not windows cli. One possibility would be changing sh in the cmake files to "bash" or "win-bash" or whatever only for Windows. But this is not a big problem, we also could use aliases or something like that. Thanks, Werner ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel