Re: [CMake] Bug on Windows with Intel Fortran

2018-02-26 Thread Bill Hoffman

On 2/23/2018 10:59 AM, Anthony Zukaitis wrote:
On windows I found an issue with Visual studio where intel fortran was 
attempting to preprocess lowercase .f90 files.  Intel's documentation 
states that it does not preprocess these files.  Looking into the cmake 
source code I found:


in Modules/Platform/Windows-Intel-Fortran line 3:

set(_COMPILE_Fortran " /fpp")


which looks to me like cmake is adding this flag by default to all 
fortran files not .F90 vs .f90.  Also we are using our own preprocessor 
which would also complicate things.  Can you guys remove the setting of 
this flag?


Tony




Please add the issue here:
https://gitlab.kitware.com/cmake/cmake/issues
--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake


[CMake] Bug on Windows with Intel Fortran

2018-02-23 Thread Anthony Zukaitis
On windows I found an issue with Visual studio where intel fortran was
attempting to preprocess lowercase .f90 files.  Intel's documentation
states that it does not preprocess these files.  Looking into the cmake
source code I found:

in Modules/Platform/Windows-Intel-Fortran line 3:

set(_COMPILE_Fortran " /fpp")

which looks to me like cmake is adding this flag by default to all fortran
files not .F90 vs .f90.  Also we are using our own preprocessor which would
also complicate things.  Can you guys remove the setting of this flag?

Tony
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
https://cmake.org/mailman/listinfo/cmake