From: Arjen M. <Arj...@de...> - 2014-04-02 09:58:37
|
Hi Thorsten, 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. 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 Regards, Arjen > -----Original Message----- > From: plp...@li... [mailto:plplot-devel- > bo...@li...] 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 > Plp...@li... > https://lists.sourceforge.net/lists/listinfo/plplot-devel DISCLAIMER: This message is intended exclusively for the addressee(s) and may contain confidential and privileged information. If you are not the intended recipient please notify the sender immediately and destroy this message. Unauthorized use, disclosure or copying of this message is strictly prohibited. The foundation 'Stichting Deltares', which has its seat at Delft, The Netherlands, Commercial Registration Number 41146461, is not liable in any way whatsoever for consequences and/or damages resulting from the improper, incomplete and untimely dispatch, receipt and/or content of this e-mail. |