From fca0ce545dec426c591511b13dddf733acbe00da Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Wed, 8 Sep 2004 17:53:52 -0400 Subject: [PATCH] ENH: add more output for fortran so I can figure out what is going on with other fortran compilers --- Tests/Fortran/CMakeLists.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Tests/Fortran/CMakeLists.txt b/Tests/Fortran/CMakeLists.txt index a10f61f38..2a6c0d4a1 100644 --- a/Tests/Fortran/CMakeLists.txt +++ b/Tests/Fortran/CMakeLists.txt @@ -1,2 +1,12 @@ 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)