summaryrefslogtreecommitdiffstats
path: root/Tests/FortranOnly/world.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/world.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/world.f')
-rw-r--r--Tests/FortranOnly/world.f5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/FortranOnly/world.f b/Tests/FortranOnly/world.f
new file mode 100644
index 0000000..deae3fa
--- /dev/null
+++ b/Tests/FortranOnly/world.f
@@ -0,0 +1,5 @@
+ SUBROUTINE WORLD
+
+ PRINT *, 'World!'
+
+ END