Commit fca0ce54 authored by Bill Hoffman's avatar Bill Hoffman
Browse files

ENH: add more output for fortran so I can figure out what is going on with other fortran compilers

parent 815c1cad
PROJECT(testf Fortran)
MESSAGE("ENV_FLAGS = $ENV{FFLAGS}")
MESSAGE("CMAKE_Fortran_COMPILER_INIT = ${CMAKE_Fortran_COMPILER_INIT}")
MESSAGE("CMAKE_Fortran_COMPILER_FULLPATH = ${CMAKE_Fortran_COMPILER_FULLPATH}")
MESSAGE("CMAKE_Fortran_COMPILER = ${CMAKE_Fortran_COMPILER}")
MESSAGE("CMAKE_Fortran_FLAGS = ${CMAKE_Fortran_FLAGS}")
MESSAGE("All cmake variables:")
GET_CMAKE_PROPERTY(res VARIABLES)
FOREACH(var ${res})
MESSAGE("${var}=\"${${var}}\"")
ENDFOREACH(var ${res})
ADD_EXECUTABLE(testf hello.f)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment