[CMake] cmake gfortran project question
luxInteg
lux-integ at btconnect.com
Fri Nov 5 14:21:02 EDT 2010
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
More information about the CMake
mailing list