[cmake-commits] king committed CMakeLists.txt NONE 1.1 a.f90 NONE 1.1
b.f90 NONE 1.1 main.f90 NONE 1.1
cmake-commits at cmake.org
cmake-commits at cmake.org
Sat Dec 15 15:36:16 EST 2007
Update of /cvsroot/CMake/CMake/Tests/Fortran/Library
In directory public:/mounts/ram/cvs-serv30521/Tests/Fortran/Library
Added Files:
CMakeLists.txt a.f90 b.f90 main.f90
Log Message:
ENH: Added test for Fortran90 modules in subdirectories.
--- NEW FILE: b.f90 ---
MODULE libraryModuleB
END MODULE
--- NEW FILE: CMakeLists.txt ---
ADD_LIBRARY(subdir_mods a.f90 b.f90)
ADD_EXECUTABLE(subdir_exe main.f90)
TARGET_LINK_LIBRARIES(subdir_exe subdir_mods)
--- NEW FILE: a.f90 ---
MODULE libraryModuleA
USE libraryModuleB
END MODULE
--- NEW FILE: main.f90 ---
PROGRAM MAINF90
USE libraryModuleA
END PROGRAM MAINF90
More information about the Cmake-commits
mailing list