Greetings,

I have  a little learning progect using cmake with gfortran.  

SOURCE files: aaaa.f, bbbb.f  xxx.f  and yyyy.f zzzz.y

I  want to do the following:-


a)   create a shared library libFFF.so and a static one  libFFF.a  (from   say 
xxx.f and yyy.f)
b)   find   installed  fortran  librar(ies)    say libOLD.a  libOLD.so  and 
link   libOLD.so to libFFF.so
c)   when creating libFFF.a  tell compiler to compile in libOLD.a
d)   compile zzzz.f, aaaa.f  into   executible  AAA   to  link in  libFFF.so 
e)   compile  bbbb.f    into executible BBB and compile in  libFFF.a


I am a novice at cmake and some helo with a)-e) would be appreciated.

sincerely 
_______________________________________________
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