summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio7Generator.cxx
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2011-08-16 21:01:33 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2011-08-16 21:01:33 (GMT)
commita772f21a7d9bf0985c5b2300c16c040cfd989ec9 (patch)
tree380afd2d86bd46736cc77cb13727a190569bf17f /Source/cmLocalVisualStudio7Generator.cxx
parent6d5819ca6ced9b8da75950ae98d1f185dd0acbf7 (diff)
parent3c53fbb1f0d7276d0ef1f07facb2a1d937fc5153 (diff)
downloadCMake-a772f21a7d9bf0985c5b2300c16c040cfd989ec9.zip
CMake-a772f21a7d9bf0985c5b2300c16c040cfd989ec9.tar.gz
CMake-a772f21a7d9bf0985c5b2300c16c040cfd989ec9.tar.bz2
Merge topic 'intel_fortran_vs2010'
3c53fbb Fix custom commands in VS2010 Fortran projects using CFG_INTDIR and test.
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio7Generator.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx
index 3e76f59..525a5da 100644
--- a/Source/cmLocalVisualStudio7Generator.cxx
+++ b/Source/cmLocalVisualStudio7Generator.cxx
@@ -1622,6 +1622,10 @@ WriteCustomRule(std::ostream& fout,
}
std::string script = this->ConstructScript(command, i->c_str());
+ if(this->FortranProject)
+ {
+ cmSystemTools::ReplaceString(script, "$(Configuration)", i->c_str());
+ }
fout << "\t\t\t\t\t<Tool\n"
<< "\t\t\t\t\tName=\"" << customTool << "\"\n"
<< "\t\t\t\t\tDescription=\""