diff options
author | Brad King <brad.king@kitware.com> | 2001-03-20 18:48:23 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2001-03-20 18:48:23 (GMT) |
commit | 20fb92d80b8332acf5c07a65d7bbe427ea832922 (patch) | |
tree | 8fb112af9b500f1b892eeb424c527d1e57cd72e0 /Source/cmDSPWriter.cxx | |
parent | 8c087d0e7a2045fead07d3069eefddfa4c515179 (diff) | |
download | CMake-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/cmDSPWriter.cxx')
-rw-r--r-- | Source/cmDSPWriter.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmDSPWriter.cxx b/Source/cmDSPWriter.cxx index 31efded..f55474b 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<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"; |