summaryrefslogtreecommitdiffstats
path: root/Source/cmFileCommand.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-10-27 14:47:14 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-10-27 14:47:14 (GMT)
commit56234aed4bfc87b691897056c4535b4d8cb3098f (patch)
treedffd371693861754131167309983b1ae2109ebf0 /Source/cmFileCommand.cxx
parent21c818340e783a0702071d279351081d01c88e18 (diff)
downloadCMake-56234aed4bfc87b691897056c4535b4d8cb3098f.zip
CMake-56234aed4bfc87b691897056c4535b4d8cb3098f.tar.gz
CMake-56234aed4bfc87b691897056c4535b4d8cb3098f.tar.bz2
PERF: Remove several classes from the bootstrap and so making bootstrap smaller and faster
Diffstat (limited to 'Source/cmFileCommand.cxx')
-rw-r--r--Source/cmFileCommand.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx
index 14677f4..bbd3d5a 100644
--- a/Source/cmFileCommand.cxx
+++ b/Source/cmFileCommand.cxx
@@ -156,6 +156,7 @@ bool cmFileCommand::HandleGlobCommand(std::vector<std::string> const& args,
return false;
}
+#ifdef CMAKE_BUILD_WITH_CMAKE
std::vector<std::string>::const_iterator i = args.begin();
i++; // Get rid of subcommand
@@ -200,6 +201,11 @@ bool cmFileCommand::HandleGlobCommand(std::vector<std::string> const& args,
}
m_Makefile->AddDefinition(variable.c_str(), output.c_str());
return true;
+#else
+ (void)recurse;
+ this->SetError("GLOB is not implemented in the bootstrap CMake");
+ return false;
+#endif
}
//----------------------------------------------------------------------------