diff options
author | Ken Martin <ken.martin@kitware.com> | 2004-09-14 15:48:34 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2004-09-14 15:48:34 (GMT) |
commit | c30e7771ee3678adad173903458d71972d77c1e7 (patch) | |
tree | bda7c63706894904958cedb854f6fdfbf2ca025f /Source/kwsys/CommandLineArguments.cxx | |
parent | 899be21cdea9ecdcf2f4f411090f5b6b0a03061a (diff) | |
download | CMake-c30e7771ee3678adad173903458d71972d77c1e7.zip CMake-c30e7771ee3678adad173903458d71972d77c1e7.tar.gz CMake-c30e7771ee3678adad173903458d71972d77c1e7.tar.bz2 |
ERR: Fix borland build
Diffstat (limited to 'Source/kwsys/CommandLineArguments.cxx')
-rw-r--r-- | Source/kwsys/CommandLineArguments.cxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/kwsys/CommandLineArguments.cxx b/Source/kwsys/CommandLineArguments.cxx index d374ad6..334c143 100644 --- a/Source/kwsys/CommandLineArguments.cxx +++ b/Source/kwsys/CommandLineArguments.cxx @@ -102,6 +102,18 @@ void CommandLineArguments::Initialize(int argc, const char* const argv[]) } //---------------------------------------------------------------------------- +void CommandLineArguments::Initialize(int argc, char* argv[]) +{ + int cc; + + this->Initialize(); + for ( cc = 1; cc < argc; cc ++ ) + { + this->ProcessArgument(argv[cc]); + } +} + +//---------------------------------------------------------------------------- void CommandLineArguments::Initialize() { this->Internals->Argv.clear(); |