summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefileTargetGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-02-24 19:05:21 (GMT)
committerBrad King <brad.king@kitware.com>2008-02-24 19:05:21 (GMT)
commit58480575a30f46e490fd0182b614a4b264d7811b (patch)
tree0a92991fed756089c49a455e75201956908589ca /Source/cmMakefileTargetGenerator.cxx
parentdab5ea859aa93acecc075d18a8ca1775090b5c75 (diff)
downloadCMake-58480575a30f46e490fd0182b614a4b264d7811b.zip
CMake-58480575a30f46e490fd0182b614a4b264d7811b.tar.gz
CMake-58480575a30f46e490fd0182b614a4b264d7811b.tar.bz2
ENH: Simplify make build rule generation by removing use of OBJECTS_QUOTED and TARGET_QUOTED rule variables and updating the generation of OBJECTS to always use the newer cmLocalGenerator::Convert method.
Diffstat (limited to 'Source/cmMakefileTargetGenerator.cxx')
-rw-r--r--Source/cmMakefileTargetGenerator.cxx18
1 files changed, 4 insertions, 14 deletions
diff --git a/Source/cmMakefileTargetGenerator.cxx b/Source/cmMakefileTargetGenerator.cxx
index 08cf6df..f268ddf 100644
--- a/Source/cmMakefileTargetGenerator.cxx
+++ b/Source/cmMakefileTargetGenerator.cxx
@@ -1258,24 +1258,15 @@ public:
std::string::size_type limit):
Strings(strings), Makefile(mf), LocalGenerator(lg), LengthLimit(limit)
{
- this->NoQuotes = mf->IsOn("CMAKE_NO_QUOTED_OBJECTS");
this->Space = "";
}
void Feed(std::string const& obj)
{
// Construct the name of the next object.
- if(this->NoQuotes)
- {
- this->NextObject =
- this->LocalGenerator->Convert(obj.c_str(),
- cmLocalGenerator::START_OUTPUT,
- cmLocalGenerator::SHELL);
- }
- else
- {
- this->NextObject =
- this->LocalGenerator->ConvertToQuotedOutputPath(obj.c_str());
- }
+ this->NextObject =
+ this->LocalGenerator->Convert(obj.c_str(),
+ cmLocalGenerator::START_OUTPUT,
+ cmLocalGenerator::SHELL);
// Roll over to next string if the limit will be exceeded.
if(this->LengthLimit != std::string::npos &&
@@ -1303,7 +1294,6 @@ private:
cmMakefile* Makefile;
cmLocalUnixMakefileGenerator3* LocalGenerator;
std::string::size_type LengthLimit;
- bool NoQuotes;
std::string CurrentString;
std::string NextObject;
const char* Space;