summaryrefslogtreecommitdiffstats
path: root/Source/cmDSPMakefile.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2001-03-20 18:48:23 (GMT)
committerBrad King <brad.king@kitware.com>2001-03-20 18:48:23 (GMT)
commit20fb92d80b8332acf5c07a65d7bbe427ea832922 (patch)
tree8fb112af9b500f1b892eeb424c527d1e57cd72e0 /Source/cmDSPMakefile.cxx
parent8c087d0e7a2045fead07d3069eefddfa4c515179 (diff)
downloadCMake-20fb92d80b8332acf5c07a65d7bbe427ea832922.zip
CMake-20fb92d80b8332acf5c07a65d7bbe427ea832922.tar.gz
CMake-20fb92d80b8332acf5c07a65d7bbe427ea832922.tar.bz2
ERR: Small bug in generated DSP file fixed. A custom command environment variable has been replaced with explicity writing out the command.
Diffstat (limited to 'Source/cmDSPMakefile.cxx')
-rw-r--r--Source/cmDSPMakefile.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmDSPMakefile.cxx b/Source/cmDSPMakefile.cxx
index 31efded..f55474b 100644
--- a/Source/cmDSPMakefile.cxx
+++ b/Source/cmDSPMakefile.cxx
@@ -303,7 +303,6 @@ void cmDSPMakefile::WriteCustomRule(std::ostream& fout,
fout << "!ELSEIF \"$(CFG)\" == " << i->c_str() << std::endl;
}
fout << "# Begin Custom Build\n\n";
- fout << "BuildCommand = " << command << "\n\n";
// Write a rule for every output generated by this command.
for(std::set<std::string>::const_iterator output = outputs.begin();
@@ -317,7 +316,7 @@ void cmDSPMakefile::WriteCustomRule(std::ostream& fout,
{
fout << " \"" << d->c_str() << "\"";
}
- fout << "\n $(BuildCommand)\n\n";
+ fout << "\n " << command << "\n\n";
}
fout << "# End Custom Build\n\n";