[CMake] CMake multi-processor compile for Fortran projects

Aidar Saifoulline aidar at saifoulline.ru
Mon Mar 14 15:32:50 EDT 2016


 

For Fortran project Visual Studio support /MP flags for multi-processor
compile.

 

How set this flag in CMakeLists.txt for Fortran projects?

 

For example, I set definition /MP for c++ projects. and it is work.

 

But don't work for Fortran language. I try set in CMAKE_Fortran_FLAGS /MP
flag, but unsuccessfully.

 

 

e-mail: esaj at inbox.ru <mailto:esaj at inbox.ru> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160314/e3967c9c/attachment.html>


More information about the CMake mailing list