On 2013-01-05 12:59-0800 Alan W. Irwin wrote:

> [...]But avoiding the case where CMAKE_BUILD_TYPE=Debug is just a
> workaround, and I think the right solution for when the user asks for
> CMAKE_BUILD_TYPE=Debug is to use the "general", "optimized", and
> "debug" keywords in the target_link_libraries  for all python
> linking.  So I hope you are willing to test the possibility and
> I will also ask for comments about that possibility on the
> cmake list.

Sorry, Arjen.  I missed the fact (which you stated on our wiki and
which I now completely confirm) that the debug version of the python
library (python27_d.lib) is just plain missing from official python
Windows releases.

If/when this python.org Windows packaging bug is addressed (and that
may be never because people have been complaining about this issue for
a long time with no response from python.org developers), then I will
look into changing our build system to link properly with the debug
version of the Python library when the user specifies
-DCMAKE_BUILD_TYPE=Debug.

Meanwhile, one method to avoid this issue for MSVC users is your
workaround of setting -DCMAKE_BUILD_TYPE=Release as you have stated on
the PLplot wiki.  Thanks very much for figuring out that workaround
and documenting it, and I will refer to your PLplot wiki item in the
release notes for both ephcom and te_gen.

I also note from your recent remarks on the CMake list that you have
just figured out a method of getting MSYS (which is needed for PLplot,
ephcom, and te_gen run-time testing) to work well with the "NMake
Makefiles" generator you use for the MSVC/ifort compilers.  I
absolutely agree with your "Victory!" remark there since that
important breakthrough should allow you and other users to do
comprehensive run-time tests with MSVC/ifort compilers for all three
projects for the first time ever.

I hope you are willing to document this MSVC/ifort breakthrough on the
PLplot wiki as well so I can refer to it in the release notes for
ephcom and te_gen which are both scheduled for release within a few
days from now. Presumably, the PLplot release manager will also want
to refer to your breakthrough in the release notes whenever PLplot is
released.

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); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
_______________________________________________
Plplot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to