Hi Arjen! Thanks for your quick reply.
> this is odd. I just tried it myself, but without wxWidgets and that > gives the expected result (BUILD_TEST=ON in the cache file). Could you > try it without wxWidgets? Not sure if that has to do with it. Trying without wxwidgets just gives as the only difference that now wxwidgets is also missing ;-) > My command line was: > > d:\cmake2.8.10.2\bin\cmake ..\plplot -G "Visual Studio 10" > -DBUILD_TEST=ON -DENABLE_tcl=OFF -DENABLE_java=OFF -DPLD_wxwidgets=OFF I used this command line (i.e. the same option as yours): cmake -G "Visual Studio 10" -DBUILD_TEST=ON -DPLD_wxwidgets=OFF I:\Plplot\plplot-5.10.0 Still no examples show up in the generated build directory (and of course also not in Visual Studio). >> -----Original Message----- >> From: plplot-devel-boun...@lists.sourceforge.net [mailto:plplot-devel- >> boun...@lists.sourceforge.net] On Behalf Of Thorsten Behrens >> Sent: Wednesday, April 02, 2014 10:55 AM >> To: PLplot development discussion >> Subject: [Plplot-devel] Examples not generated during build >> >> Hi! >> >> I'm facing a rather strange problem when building PLplot, in that no >> examples are generated under some circumstances. >> >> I have CMake V2.8.12.2 and wxWidgets V3.0.0 installed on a Windows 7 >> system with Visual Studio 2010 Express. I also have downloaded the >> current (as of 02.04.2014) version of PLplot (using Subversion and >> downloading from the /trunk). >> >> When building PLplot using the GUI of CMake all examples are found in >> the generated build directory. When, however, building PLplot using a >> CLI, none of the examples find their way to the build directory. In >> both cases I have of course ticked (GUI version) resp. added (CLI >> version) the BUILD_TEST option. >> >> Here is what I did exactly using the GUI build: >> - started CMake GUI >> - entered source code directory (here I:/PLplot/PLplot-5.10.0) >> - entered build directory (here I:/PLplot/build-gui) >> - hit the Configure button (to get a first list of available options) >> - chose Visual Studio 10 as Generator >> - ticked BUILD_TEST >> - hit the Configure button twice (to get the change from above updated, >> i.e. no red lines anymore) >> - hit the Generate button >> >> Here is what I did exactly using the CLI build: >> - started a Visual Studio 2010 command line >> - ran vcvarsall.bat >> - changed to the build directory (here I:/PLplot/build) >> - ran the command to build PLplot >> cmake -G "Visual Studio 10" -DBUILD_TEST=ON >> -DwxWidgets_LIB_DIR=%WXWINDLL% I:\Plplot\plplot-5.10.0 >> >> If of interest I can send both the CMakeCache.txt files. Interesting in >> these is, that the CMakeCache.txt file generated by the GUI contains >> the BUILD_TEST option set to ON, whereas the CMakeCache.txt file >> generated by the CLI has this option set to OFF - although I explicitly >> stated this option on the command line. -- Best regards, Thorsten Behrens ------------------------------------------------------------------------------ _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel