[CMake] Ninja+Fortran support for PGI compiler

Brad King brad.king at kitware.com
Fri Dec 16 08:38:13 EST 2016


On 12/15/2016 09:10 PM, Daniel Carrera wrote:
> set(CMAKE_Fortran_PREPROCESS_SOURCE
> "<CMAKE_Fortran_COMPILER> -Mpreprocess <DEFINES> <INCLUDES> <FLAGS> -E <SOURCE> > <PREPROCESSED_SOURCE>")
> 
> I added that line to PGI-Fortran.cmake and it seems to work.

Great!  I'll integrate that for CMake 3.8.

Thanks,
-Brad



More information about the CMake mailing list