summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-09-08 21:53:52 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-09-08 21:53:52 (GMT)
commitfca0ce545dec426c591511b13dddf733acbe00da (patch)
tree1f3978c9caeac9426262120496dd01783938aef8 /Tests
parent815c1cad70c68ec2b99e68eb1b65de963085c50d (diff)
downloadCMake-fca0ce545dec426c591511b13dddf733acbe00da.zip
CMake-fca0ce545dec426c591511b13dddf733acbe00da.tar.gz
CMake-fca0ce545dec426c591511b13dddf733acbe00da.tar.bz2
ENH: add more output for fortran so I can figure out what is going on with other fortran compilers
Diffstat (limited to 'Tests')
-rw-r--r--Tests/Fortran/CMakeLists.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/Tests/Fortran/CMakeLists.txt b/Tests/Fortran/CMakeLists.txt
index a10f61f..2a6c0d4 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)