From 20fb92d80b8332acf5c07a65d7bbe427ea832922 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 20 Mar 2001 13:48:23 -0500 Subject: [PATCH] ERR: Small bug in generated DSP file fixed. A custom command environment variable has been replaced with explicity writing out the command. --- Source/cmDSPMakefile.cxx | 3 +-- Source/cmDSPWriter.cxx | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Source/cmDSPMakefile.cxx b/Source/cmDSPMakefile.cxx index 31efdedc4..f55474b70 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::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"; diff --git a/Source/cmDSPWriter.cxx b/Source/cmDSPWriter.cxx index 31efdedc4..f55474b70 100644 --- a/Source/cmDSPWriter.cxx +++ b/Source/cmDSPWriter.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::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";