summaryrefslogtreecommitdiffstats
path: root/Source/cmVTKMakeInstantiatorCommand.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-03-05 23:41:24 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-03-05 23:41:24 (GMT)
commit4651dbcfc64836988649c2ca7e3e30c811723eb2 (patch)
tree78393201554f92b9e59bc8c5893f6e28a2ab2dbb /Source/cmVTKMakeInstantiatorCommand.cxx
parent2b9140f6b512784f65dfa58ff1b9076fd6f9227d (diff)
downloadCMake-4651dbcfc64836988649c2ca7e3e30c811723eb2.zip
CMake-4651dbcfc64836988649c2ca7e3e30c811723eb2.tar.gz
CMake-4651dbcfc64836988649c2ca7e3e30c811723eb2.tar.bz2
ENH: expand variables in arguments before the commands get them
Diffstat (limited to 'Source/cmVTKMakeInstantiatorCommand.cxx')
-rw-r--r--Source/cmVTKMakeInstantiatorCommand.cxx14
1 files changed, 3 insertions, 11 deletions
diff --git a/Source/cmVTKMakeInstantiatorCommand.cxx b/Source/cmVTKMakeInstantiatorCommand.cxx
index 1f9edc5..5e4e0c7 100644
--- a/Source/cmVTKMakeInstantiatorCommand.cxx
+++ b/Source/cmVTKMakeInstantiatorCommand.cxx
@@ -29,10 +29,8 @@ cmVTKMakeInstantiatorCommand
}
m_ClassName = args[0];
- m_Makefile->ExpandVariablesInString(m_ClassName);
std::string outSourceList = args[1];
- m_Makefile->ExpandVariablesInString(outSourceList);
std::vector<cmStdString> inSourceLists;
m_ExportMacro = "-";
@@ -50,9 +48,7 @@ cmVTKMakeInstantiatorCommand
includesMode = false;
if(++i < args.size())
{
- std::string gSize = args[i].c_str();
- m_Makefile->ExpandVariablesInString(gSize);
- groupSize = atoi(gSize.c_str());
+ groupSize = atoi(args[i].c_str());
}
else
{
@@ -66,7 +62,6 @@ cmVTKMakeInstantiatorCommand
if(++i < args.size())
{
headerPath = args[i];
- m_Makefile->ExpandVariablesInString(headerPath);
}
else
{
@@ -80,7 +75,6 @@ cmVTKMakeInstantiatorCommand
if(++i < args.size())
{
m_ExportMacro = args[i];
- m_Makefile->ExpandVariablesInString(m_ExportMacro);
}
else
{
@@ -96,15 +90,13 @@ cmVTKMakeInstantiatorCommand
// an include file.
else
{
- std::string s = args[i];
- m_Makefile->ExpandVariablesInString(s);
if(!includesMode)
{
- inSourceLists.push_back(s);
+ inSourceLists.push_back(args[i]);
}
else
{
- m_Includes.push_back(s);
+ m_Includes.push_back(args[i]);
}
}
}