[CMake] Building a library with fortran and c code

William A. Hoffman billlist at nycap.rr.com
Tue Nov 8 16:58:10 EST 2005


Please post the CMakeLists.txt files and not just the output of the build.

-Bill


At 12:59 PM 11/8/2005, Paulo Jabardo wrote:
>I'm trying to write a CMakeLists.txt file for a static
>library which has several c files in a few different
>directories and a single fortran file.
>
>I used an approach suggested in the CMake book and if
>eliminate the fortran file, the program will build
>allright. Once I include the fortran file (in a
>directory with other c files) I get an error.
>
>My top CMakeLists.txt file is as foollows:
>
>>make
>Scanning dependencies of target vec
>make[2]: *** No rule to make target
>`FORWARD.mod.proxy', needed by
>`CMakeFiles/vec.dir/misc/zbesj.o.requires'.  Stop.
>make[1]: *** [CMakeFiles/vec.dir/all] Error 2
>make: *** [all] Error 2
>
>Any help is welcome
>
>
>Thanks, Paulo Jabardo
>
>
>
>        
>
>
>
>        
>                
>_______________________________________________________ 
>Yahoo! Acesso Grátis: Internet rápida e grátis. 
>Instale o discador agora!
>http://br.acesso.yahoo.com/
>
>_______________________________________________
>CMake mailing list
>CMake at cmake.org
>http://www.cmake.org/mailman/listinfo/cmake



More information about the CMake mailing list