diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2012-01-27 16:14:00 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-02-09 13:38:52 (GMT) |
commit | 48a09f82ccadf93eb2d60c9efe5da783327a8520 (patch) | |
tree | d6a8acaca1b3bfa6c4288d36c956a48324d506d7 /Tests/VSGNUFortran/subdir/fortran/hello.f | |
parent | 067c1f44a80ed8fb32e56918a57437142c64b049 (diff) | |
download | CMake-48a09f82ccadf93eb2d60c9efe5da783327a8520.zip CMake-48a09f82ccadf93eb2d60c9efe5da783327a8520.tar.gz CMake-48a09f82ccadf93eb2d60c9efe5da783327a8520.tar.bz2 |
CMakeAddFortranSubdirectory: Make IMPORTED targets GLOBAL
cmake_add_fortran_directory uses imported targets when using the
mingw fortran compiler. This change makes those targets global
in scope so they act just like the real targets that exist when
a fortran compiler exists and regular add_subdirectory is used.
Diffstat (limited to 'Tests/VSGNUFortran/subdir/fortran/hello.f')
-rw-r--r-- | Tests/VSGNUFortran/subdir/fortran/hello.f | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/VSGNUFortran/subdir/fortran/hello.f b/Tests/VSGNUFortran/subdir/fortran/hello.f new file mode 100644 index 0000000..e52119a --- /dev/null +++ b/Tests/VSGNUFortran/subdir/fortran/hello.f @@ -0,0 +1,7 @@ +!DEC$ ATTRIBUTES DLLEXPORT :: HELLO + SUBROUTINE HELLO + + PRINT *, 'Hello' + CALL WORLD + + END |