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

This commit is contained in:
Bill Hoffman 2004-09-08 17:53:52 -04:00
parent 815c1cad70
commit fca0ce545d
1 changed files with 10 additions and 0 deletions

View File

@ -1,2 +1,12 @@
PROJECT(testf Fortran) 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) ADD_EXECUTABLE(testf hello.f)