[CMake] PLplot issues with the cvs version of CMake (Fortran 95)

Alan W. Irwin irwin at beluga.phys.uvic.ca
Sun Mar 23 21:32:50 EDT 2008


On 2008-03-23 20:57-0400 Bill Hoffman wrote:

>> if(CMAKE_CACHE_MAJOR_VERSION EQUAL 2 AND CMAKE_CACHE_MINOR_VERSION EQUAL 
>> 4)
>> 
> CMAKE_MAJOR_VERSION and CMAKE_MINOR_VERSION should be set:

Thanks for that reminder.  I have now made the change and those variables
work fine (without confusing issues with possible cache inconsistencies).

>> Although this build-tree location change for the generated fortran modules
>> is a backwards incompatibility, I recommend you just accept that
>> incompatibility for your next release. Fortran support in 2.4.8 basically
>> sucks so I believe any CMake Fortran user would be happy to adopt a new
>> version with Fortran properly supported for the small expense of adjusting
>> for the backwards incompatibility created by adopting a much more logical
>> location for the generated module files.
>> 
>
> Where did the modules go in 2.4.8?

top-level build tree which is not a logical location and the subject of a
wish-list bug report IIRC.  That location should not be propagated. The
cmake cvs location of the subdirectory in the build tree where the
associated library is built is a much more logical location.

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); PLplot scientific plotting software
package (plplot.org); 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
__________________________


More information about the CMake mailing list