On Thu, Jun 25, 2009 at 3:23 AM, Alan W. Irwin<ir...@beluga.phys.uvic.ca> wrote:
> cmake $prefix/share/plplot5.9.4/examples
> cd c++
> make qt_example
[...]
> N.B. the new CMake-based build system for the installed examples is
> configured by the core build system and finalized by "make install" for that
> core build system so there are no cmake options required in the above cmake
> command.

Thanks, this worked fine for me.  Could you add this information to
README.qt_example?  Currently it doesn't suggest anything about cmake
and the Makefile (that doesn't work) is being installed in the
examples/c++ directory.

> Once we have sorted everything out for the new CMake-based build system for
> the installed examples and the ENABLE_DYNDRIVERS=ON case, then I will fix up
> the ENABLE_DYNDRIVERS=OFF case (by not building libplplotqtd.so at all and
> by linking qt_example to libplplotd instead) and also tweak the old
> Makefile+pkg-config approach for building the installed examples for
> both the ENABLE_DYNDRIVERS=ON and ENABLE_DYNDRIVERS=OFF cases.

> Therefore, I don't think there will be any necessity of splitting qt.cpp,
> and the patch you sent (in a later post) is probably fine as is.  I will
> look at that tomorrow.

I suggested splitting not because of any technical reason, but for
readability.  Really, there is a ton of macros already there.  And
this one divides the file exactly in two parts where one (qt.so)
depends on another (libplplotqtd.so), but not the other way
(libplplotqtd.so doesn't depend on qt.so).

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <griboz...@gmail.com>*/

------------------------------------------------------------------------------
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to