[CMake] linker associated to ifort fortran compiler
pellegrini
pellegrini at ill.fr
Wed Sep 29 11:51:51 EDT 2010
Hello everybody,
I would like to compile my project using intel fortran compiler on my
windows machine.
When running the following commands:
cmake -DCMAKE_Fortran_Compiler=ifort -G"NMake Makefiles"
nmake VERBOSE=1
I can see that nmake use the linker 'lib' provided with the intel
fortran compiler.
But, looking at my generated CMakeCache.txt I see just at the beginning:
CMAKE_AR:FILEPATH=C:/MinGW/bin/ar.exe (I have the Mingw tools installed
on my machine
Two questions:
- why cmake uses the 'lib' linker if another one was set in the
CMakeCache.txt file ?
- as it actually uses 'lib', how cmake did find the appropriated
linker ?
thanks
Eric
--
Eric Pellegrini
Calcul Scientifique
Insitut Laue-Langevin
Grenoble, France
More information about the CMake
mailing list