Hi all,

I have decided to mix Fortran with C, due to a library that only has C
interface. Here is the scienario:

suppose there are several programs, file1.f90, file2.f90, file3.c and a
C library <lib>.

1. file1.f90 calls file2.f90 to generate a executable
2. file2.f90 calls file3.c to generate a module <mod>
3. file3.c calls <lib>

so how to setup CMakeLists.txt? Thanks for Help!

Best regards,

DONG Li
_______________________________________________
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