[CMake] Fortran bug: use in comment

Honest Guvnor honestguvnor at googlemail.com
Tue Mar 25 09:30:29 EDT 2008


cmake 2.4.8, OSX 10.3.9, gcc 3.4.3.

A Fortran comment such as:

C - COULD USE ONLY 2 1D WORK ARRAYS BUT CURRENT IMPLEMENTATION

leads to an error of this form:

Scanning dependencies of target nsi2d
make[2]: *** No rule to make target `ONLY.mod.proxy', needed by
`nsi2d/CMakeFiles/nsi2d.dir/adisweeps.o.requires'.

cmake would appear to be reading the "use only" in the comment as an
instruction to include module only.


More information about the CMake mailing list