Hi Brad and Alin:

Here is an example of the bug:

cat CMakeFiles/x02f95.dir/depend.make
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.8


f95/CMakeFiles/x02f95.dir/x02f.f90.o: "/home/software/plplot 
svn/installcmake/lib/fortran/modules/plplot/plplot.mod"

The double quotes are not the correct way with GNU make to handle embedded
blanks in a file dependency.  Therefore, the following error message is
generated when running the "make x02f95" command:

make[3]: *** No rule to make target "/home/software/plplot', needed by
f95/CMakeFiles/x02f95.dir/x02f.f90.o'.  Stop.

The fix is to drop the quotes around the
f95/CMakeFiles/x02f95.dir/x02f.f90.o dependency and use an escaped blank
instead.

As far as I can tell, there are no other embedded blank issues with CMake
Fortran 95 support.  For example, when looking through the generated
Makefiles, all other Fortran file dependencies with embedded blanks use the
escaped blank.

If this bug will take some time to fix, let me know, and I will put it in
the bugtracker.

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
__________________________
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to