summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-08-06 19:05:00 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-08-06 19:05:00 (GMT)
commit26a6b4bc01a49768e5b3de54abc862a94e0647b6 (patch)
treed62d2aadbdee546072315f7646188ae213a0953c
parent9655299f08b5aa04ea63193ebecfa08efae7ca3d (diff)
downloadCMake-26a6b4bc01a49768e5b3de54abc862a94e0647b6.zip
CMake-26a6b4bc01a49768e5b3de54abc862a94e0647b6.tar.gz
CMake-26a6b4bc01a49768e5b3de54abc862a94e0647b6.tar.bz2
ENH: initial fortran
-rw-r--r--Tests/Fortran/CMakeLists.txt2
-rw-r--r--Tests/Fortran/hello.f6
2 files changed, 8 insertions, 0 deletions
diff --git a/Tests/Fortran/CMakeLists.txt b/Tests/Fortran/CMakeLists.txt
new file mode 100644
index 0000000..1a90130
--- /dev/null
+++ b/Tests/Fortran/CMakeLists.txt
@@ -0,0 +1,2 @@
+PROJECT(testf FORTRAN)
+ADD_EXECUTABLE(testf hello.f)
diff --git a/Tests/Fortran/hello.f b/Tests/Fortran/hello.f
new file mode 100644
index 0000000..c9ee3c2
--- /dev/null
+++ b/Tests/Fortran/hello.f
@@ -0,0 +1,6 @@
+ PROGRAM GREETINGS
+
+ PRINT *, 'Real programmers write Fortran!'
+
+ END
+