diff options
author | Ken Martin <ken.martin@kitware.com> | 2007-03-12 14:26:59 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2007-03-12 14:26:59 (GMT) |
commit | b99129d2d81a494055d40443e8e044c9db4ca807 (patch) | |
tree | 07cbf0e96e3cb1480e182f5bbbf860d2224beade /Source/cmAddSubDirectoryCommand.cxx | |
parent | cf7eeab37aa644a0a09cb40e8958d99e8d771857 (diff) | |
download | CMake-b99129d2d81a494055d40443e8e044c9db4ca807.zip CMake-b99129d2d81a494055d40443e8e044c9db4ca807.tar.gz CMake-b99129d2d81a494055d40443e8e044c9db4ca807.tar.bz2 |
ENH: some code cleanup
Diffstat (limited to 'Source/cmAddSubDirectoryCommand.cxx')
-rw-r--r-- | Source/cmAddSubDirectoryCommand.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmAddSubDirectoryCommand.cxx b/Source/cmAddSubDirectoryCommand.cxx index 06ac648..72f5c51 100644 --- a/Source/cmAddSubDirectoryCommand.cxx +++ b/Source/cmAddSubDirectoryCommand.cxx @@ -30,7 +30,7 @@ bool cmAddSubDirectoryCommand::InitialPass std::string srcArg = args[0]; std::string binArg; - bool intoplevel = true; + bool excludeFromAll = false; // process the rest of the arguments looking for optional args std::vector<std::string>::const_iterator i = args.begin(); @@ -39,7 +39,7 @@ bool cmAddSubDirectoryCommand::InitialPass { if(*i == "EXCLUDE_FROM_ALL") { - intoplevel = false; + excludeFromAll = true; continue; } else if (!binArg.size()) @@ -122,7 +122,7 @@ bool cmAddSubDirectoryCommand::InitialPass // Add the subdirectory using the computed full paths. this->Makefile->AddSubDirectory(srcPath.c_str(), binPath.c_str(), - intoplevel, false, true); + excludeFromAll, false, true); return true; } |