2004-08-26 22:55:55 +04:00
|
|
|
PROJECT(testf Fortran)
|
2004-09-09 01:53:52 +04:00
|
|
|
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})
|
2004-08-06 23:05:00 +04:00
|
|
|
ADD_EXECUTABLE(testf hello.f)
|