MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0006930 | CMake | CMake | public | 2008-05-01 09:33 | 2008-05-01 09:49 |
| Reporter | Christian Convey | ||||
| Assigned To | |||||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Platform | OS | OS Version | |||
| Product Version | CMake-2-6 | ||||
| Target Version | Fixed in Version | CMake-2-6 | |||
| Summary | 0006930: (2.4-8) Fortran comments the text 'use' cause false dependency | ||||
| Description | Apparently "use" is a keyword in some version(s) of fortran. I'm using F77 code, but I suspect this is a bug for all versions of fortran: I've created a trivial test case with one fortran file and one cmakelists.txt file: foo.f has these 3 lines: SUBROUTINE FOO( X ) C USE BLAH. END CMakeLists.txt has these 3 lines: PROJECT(CASS_BISTATIC Fortran) FILE(GLOB SRC foo.f) bistatic STATIC ${SRC}) Running 'cmake' has no problem. But when I then run 'make', I get this output: cjc@cjc-aleph:~/cppcass/trunk/cass-4.1-fortran/bistatic$ make Scanning dependencies of target cass_bistatic make[2]: *** No rule to make target `BLAH..mod.proxy', needed by `CMakeFiles/cass_bistatic.dir/foo.o.requires'. Stop. make[1]: *** [CMakeFiles/cass_bistatic.dir/all] Error 2 make: *** [all] Error 2 | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://public.kitware.com/Bug/file/1435/CMakeLists.txt https://public.kitware.com/Bug/file/1436/foo.f https://public.kitware.com/Bug/file/1437/CMakeLists.txt-corrected | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2008-05-01 09:33 | Christian Convey | New Issue | |||
| 2008-05-01 09:33 | Christian Convey | File Added: CMakeLists.txt | |||
| 2008-05-01 09:34 | Christian Convey | File Added: foo.f | |||
| 2008-05-01 09:36 | Christian Convey | Note Added: 0011642 | |||
| 2008-05-01 09:37 | Christian Convey | File Added: CMakeLists.txt-corrected | |||
| 2008-05-01 09:49 | Bill Hoffman | Status | new => closed | ||
| 2008-05-01 09:49 | Bill Hoffman | Note Added: 0011643 | |||
| 2008-05-01 09:49 | Bill Hoffman | Resolution | open => fixed | ||
| 2008-05-01 09:49 | Bill Hoffman | Fixed in Version | => CMake-2-6 | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||