On 2015-10-22 17:08-0400 Tom Kacvinsky wrote:

> I have CMAKE_BUILD_TYPE set to DEBUG and I get the error message in the
> subject line.  I thought the Ada support from PLPlot was set up so that it
> could handle several different build types.  I guess this is not the case.

As far as I know, Ada language support has always just been limited to
the case where CMAKE_BUILD_TYPE was not set.

> What would it take to handle this?  I need at least a working debug
> configuration so I can find the debug Qt libraries (which is keyed off
> CMAKE_BUILD_TYPE).

Hi Tom:

Ada language support was written by me many years ago based on the
unsophisticated C and C++ language support available then for CMake.
So I strongly suspect what has to be done now to get language support
capabilities for Ada that are comparable to modern C/C++ capabilities
(e.g., full support for setting CMAKE_BUILD_TYPE) is to rewrite the
Ada language support based on the Modern C/C++ language support.

This is a non-trivial project since CMake language support is so badly
documented that developers who like to expand it to other languages
such as Ada must try a long series of essentially reverse-engineering
experiments to figure out what to do.  So modernizing CMake language
support for Ada is on my agenda but likely not in the near future
because of all the work involved.

For now, can you avoid the problem by simply disabling Ada (using
-DENABLE_ada=OFF) or do you really need access to the combination of
Ada and Qt?  For example, can you debug the Qt case for some other
language binding, e.g., C++?

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
__________________________

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

Reply via email to