summaryrefslogtreecommitdiffstats
path: root/Tests/FortranOnly/hello.f
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2011-08-03 21:24:43 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2011-08-03 21:24:43 (GMT)
commit3c53fbb1f0d7276d0ef1f07facb2a1d937fc5153 (patch)
treef73fa1e39ea2396eb041ce680d67d4bd15cd5486 /Tests/FortranOnly/hello.f
parent6c72d25aee92c6cd412c79969b7b18a814ac99cb (diff)
downloadCMake-3c53fbb1f0d7276d0ef1f07facb2a1d937fc5153.zip
CMake-3c53fbb1f0d7276d0ef1f07facb2a1d937fc5153.tar.gz
CMake-3c53fbb1f0d7276d0ef1f07facb2a1d937fc5153.tar.bz2
Fix custom commands in VS2010 Fortran projects using CFG_INTDIR and test.
For custom commands in VS2010 Fortran projects the INTDIR variable is different than in the rest of the solution because Intel fortran still uses the old VS project files even in VS2010. So, we replace $(Configuration) directly in the project files. I have also added a FortranOnly test that tests this feature and is run on any generator that has Fortran abilities.
Diffstat (limited to 'Tests/FortranOnly/hello.f')
-rw-r--r--Tests/FortranOnly/hello.f5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/FortranOnly/hello.f b/Tests/FortranOnly/hello.f
new file mode 100644
index 0000000..63e6408
--- /dev/null
+++ b/Tests/FortranOnly/hello.f
@@ -0,0 +1,5 @@
+ SUBROUTINE HELLO
+
+ PRINT *, 'Hello'
+
+ END