On 2006-12-01 10:15+0100 Arjen Markus wrote: >> On 2006-11-30 01:40-0800 Alan W. Irwin wrote: >> >>> [...]if one of you guys >>> does not implement the above simple changes first, I will do that >>> tomorrow evening (European time) and that may be all we need to get >>> ctest scripts to work on bare windows (without the extra GNUWin32 >>> tools dependency). >> >> Done (and yes, it was really simple.) Werner and Arjen, please test the >> win-bash case where GNUWin32 tools are not installed to see whether >> there are any problems left with this approach. >> > > Hello Alan, > > wonderful news: I like that approach. > > However, I must report now a very unfortunate problem: > With the latest CVS update CMake refuses to build the examples, so > I can not check your changes! > > Here are the relevant messages: > > -- Looking for pkg-config > -- Looking for pkg-config - not found > -- WARNING: Build of examples will not work.
We use pkg-config to build the examples in the _install_ tree. This has nothing to do with ctest or build-tree tests so I have changed that message to make it more clear. I suggest you look over my recent changes that were automatically sent to the plplot-cvs mailing list. To explain further, the build tree build of examples is controlled by BUILD_TEST. Did you turn that ON? Note, if a shell (win-bash in your case) cannot be found, BUILD_TEST is turned OFF internally, but with the following WARNING message: WARNING: shell not found, disabling ctest and install tree examples tests Look at cmake/modules/plplot.cmake for the logic, and the changes to test/CMakeLists.txt which completely turn off everything to do with testing if a shell was not found. You may have to set your PATH (or whatever is the windows equivalent) so that the find_program(SH_EXECUTABLE bash) works. If the name of the program is actually win-bash rather than bash in your case you should use the following logic instead: find_program(SH_EXECUTABLE bash) find_program(SH_EXECUTABLE win-bash) The first one works on Unix, and the second one may be necessary on windows where win-bash is installed, but I am not sure. Let me know how it goes. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the Yorick front-end to PLplot (yplot.sf.net); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------------------------- 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