summaryrefslogtreecommitdiffstats
path: root/Modules/FortranCInterface/Verify/VerifyFortran.f
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-08-24 12:49:35 (GMT)
committerBrad King <brad.king@kitware.com>2009-08-24 12:49:35 (GMT)
commita9be85da2ecd7677d3ba72dc2e279541a32907c2 (patch)
tree10608b982a38df84f665be5bbea49e5a56921c55 /Modules/FortranCInterface/Verify/VerifyFortran.f
parent14f7a043e3686a6a2b821e759e391c54f3239479 (diff)
downloadCMake-a9be85da2ecd7677d3ba72dc2e279541a32907c2.zip
CMake-a9be85da2ecd7677d3ba72dc2e279541a32907c2.tar.gz
CMake-a9be85da2ecd7677d3ba72dc2e279541a32907c2.tar.bz2
Create FortranCInterface_VERIFY function
This function builds a simple test project using a combination of Fortran and C (and optionally C++) to verify that the compilers are compatible. The idea is to help projects report very early to users that the compilers specified cannot mix languages.
Diffstat (limited to 'Modules/FortranCInterface/Verify/VerifyFortran.f')
-rw-r--r--Modules/FortranCInterface/Verify/VerifyFortran.f3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/FortranCInterface/Verify/VerifyFortran.f b/Modules/FortranCInterface/Verify/VerifyFortran.f
new file mode 100644
index 0000000..a17e48d
--- /dev/null
+++ b/Modules/FortranCInterface/Verify/VerifyFortran.f
@@ -0,0 +1,3 @@
+ subroutine VerifyFortran
+ print *, 'VerifyFortran'
+ end