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

_______________________________________________
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