summaryrefslogtreecommitdiff
path: root/Source/cmAddSubDirectoryCommand.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2005-05-31 15:10:04 -0400
committerKen Martin <ken.martin@kitware.com>2005-05-31 15:10:04 -0400
commit664a93121f6da9628ff001eb8bcb8ba6afb9afcc (patch)
tree691a9efce5c02cd3100af1c4c1dbf863bb52a71e /Source/cmAddSubDirectoryCommand.cxx
parente26293f3ab258e543cb0eacc2a60be947bb58816 (diff)
downloadcmake-664a93121f6da9628ff001eb8bcb8ba6afb9afcc.tar.gz
ENH: removed the PREORDER option from the AddSubDirectory command
Diffstat (limited to 'Source/cmAddSubDirectoryCommand.cxx')
-rw-r--r--Source/cmAddSubDirectoryCommand.cxx8
1 files changed, 1 insertions, 7 deletions
diff --git a/Source/cmAddSubDirectoryCommand.cxx b/Source/cmAddSubDirectoryCommand.cxx
index 56d28a68ed..440f19d9ab 100644
--- a/Source/cmAddSubDirectoryCommand.cxx
+++ b/Source/cmAddSubDirectoryCommand.cxx
@@ -30,7 +30,6 @@ bool cmAddSubDirectoryCommand::InitialPass(std::vector<std::string> const& args)
std::string srcArg;
bool intoplevel = true;
- bool preorder = false;
// process the rest of the arguments looking for optional args
std::vector<std::string>::const_iterator i = args.begin();
@@ -42,11 +41,6 @@ bool cmAddSubDirectoryCommand::InitialPass(std::vector<std::string> const& args)
intoplevel = false;
continue;
}
- else if(*i == "PREORDER")
- {
- preorder = true;
- continue;
- }
else if (!srcArg.size())
{
srcArg = *i;
@@ -89,7 +83,7 @@ bool cmAddSubDirectoryCommand::InitialPass(std::vector<std::string> const& args)
}
m_Makefile->AddSubDirectory(srcPath.c_str(), binPath.c_str(),
- intoplevel, preorder, true);
+ intoplevel, false, true);
return true;
}