2 SET(CMAKE_VERBOSE_MAKEFILE 1)
3 MESSAGE("ENV_FLAGS = $ENV{FFLAGS}")
4 MESSAGE("CMAKE_Fortran_COMPILER_INIT = ${CMAKE_Fortran_COMPILER_INIT}")
5 MESSAGE("CMAKE_Fortran_COMPILER_FULLPATH = ${CMAKE_Fortran_COMPILER_FULLPATH}")
6 MESSAGE("CMAKE_Fortran_COMPILER = ${CMAKE_Fortran_COMPILER}")
7 MESSAGE("CMAKE_Fortran_FLAGS = ${CMAKE_Fortran_FLAGS}")
8 ADD_EXECUTABLE(testf hello.f)
10 IF(CMAKE_Fortran_COMPILER_SUPPORTS_F90 AND CMAKE_GENERATOR_NEW)
11 ADD_EXECUTABLE(test_module
13 test_module_implementation.f90
14 test_module_interface.f90)
15 ENDIF(CMAKE_Fortran_COMPILER_SUPPORTS_F90 AND CMAKE_GENERATOR_NEW)