[CMake] 64 bit flags

pellegrini pellegrini at ill.fr
Fri Sep 9 07:00:28 EDT 2011


Hello everybody,

I have a Fortran project that is currently built (using gfortran, g95 or 
ifort) on 32 bits machines but that might need quite soon to be built on 
64 bit machines as well.

Does cmake automatically detect the processor architecture and add the 
64 bit flag at configuration time or do I have to declare those flags 
through, for example, a '-D option ?

thanks

Eric

-- 
Eric Pellegrini
Calcul Scientifique
Institut Laue-Langevin
Grenoble, France



More information about the CMake mailing list