diff options
author | Ken Martin <ken.martin@kitware.com> | 2007-12-03 17:44:42 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2007-12-03 17:44:42 (GMT) |
commit | 951444165f4c18c83efe47f8e86656df9c690983 (patch) | |
tree | 97989bfe2f1fc2e710152d64cfa3cfa55a5731d6 /Source/cmRaiseScopeCommand.cxx | |
parent | 50bdabde07e4339c8ce0118a128d53eb1f9c14a0 (diff) | |
download | CMake-951444165f4c18c83efe47f8e86656df9c690983.zip CMake-951444165f4c18c83efe47f8e86656df9c690983.tar.gz CMake-951444165f4c18c83efe47f8e86656df9c690983.tar.bz2 |
ENH: add functions and raise scope to cmake
Diffstat (limited to 'Source/cmRaiseScopeCommand.cxx')
-rw-r--r-- | Source/cmRaiseScopeCommand.cxx | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/Source/cmRaiseScopeCommand.cxx b/Source/cmRaiseScopeCommand.cxx new file mode 100644 index 0000000..ffaff8e --- /dev/null +++ b/Source/cmRaiseScopeCommand.cxx @@ -0,0 +1,30 @@ +/*========================================================================= + + Program: CMake - Cross-Platform Makefile Generator + Module: $RCSfile$ + Language: C++ + Date: $Date$ + Version: $Revision$ + + Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved. + See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details. + + This software is distributed WITHOUT ANY WARRANTY; without even + the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the above copyright notices for more information. + +=========================================================================*/ +#include "cmRaiseScopeCommand.h" + +// cmRaiseScopeCommand +bool cmRaiseScopeCommand +::InitialPass(std::vector<std::string> const& args) +{ + unsigned int i =0; + for(; i < args.size(); ++i) + { + this->Makefile->RaiseScope(args[i].c_str()); + } + return true; +} + |