summaryrefslogtreecommitdiffstats
path: root/Source/cmCableClassSetCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2001-07-26 15:07:18 (GMT)
committerBrad King <brad.king@kitware.com>2001-07-26 15:07:18 (GMT)
commit6d54c3d6f8b03b137368c5868454f727ef707ceb (patch)
tree44496e16a8d409de5b9bc7999e92a7a53f67ee31 /Source/cmCableClassSetCommand.cxx
parentcb858f511ed262977eac99b5a3800f549702ec62 (diff)
downloadCMake-6d54c3d6f8b03b137368c5868454f727ef707ceb.zip
CMake-6d54c3d6f8b03b137368c5868454f727ef707ceb.tar.gz
CMake-6d54c3d6f8b03b137368c5868454f727ef707ceb.tar.bz2
ENH: Added cable class-set expansion and tagging for alternate name generation. This should make the generated wrappers much easier to setup and use.
Diffstat (limited to 'Source/cmCableClassSetCommand.cxx')
-rw-r--r--Source/cmCableClassSetCommand.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmCableClassSetCommand.cxx b/Source/cmCableClassSetCommand.cxx
index 9e79f8a..ba22657 100644
--- a/Source/cmCableClassSetCommand.cxx
+++ b/Source/cmCableClassSetCommand.cxx
@@ -51,6 +51,13 @@ bool cmCableClassSetCommand::InitialPass(std::vector<std::string>& args)
return false;
}
+ // First, we want to expand all CMAKE variables in all arguments.
+ for(std::vector<std::string>::iterator a = args.begin();
+ a != args.end(); ++a)
+ {
+ m_Makefile->ExpandVariablesInString(*a);
+ }
+
// The first argument is the name of the set.
std::vector<std::string>::const_iterator arg = args.begin();
m_ClassSetName = *arg++;