From 7a68698b6f2074ad8cf4cb29c042666ae6bb9063 Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Mon, 14 Mar 2005 09:23:50 -0500 Subject: [PATCH] ENH: added new structure to hold subdirectories --- Source/cmSubDirectory.h | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 Source/cmSubDirectory.h diff --git a/Source/cmSubDirectory.h b/Source/cmSubDirectory.h new file mode 100644 index 000000000..aeccea4a3 --- /dev/null +++ b/Source/cmSubDirectory.h @@ -0,0 +1,38 @@ +/*========================================================================= + + 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. + +=========================================================================*/ +#ifndef cmSubDirectory_h +#define cmSubDirectory_h + +#include "cmStandardIncludes.h" + +/** \class cmSubDirectory + * \brief A class to encapsulate a custom command + * + * cmSubDirectory encapsulates the properties of a custom command + */ +class cmSubDirectory +{ +public: + cmSubDirectory() { IncludeTopLevel = true; PreOrder = false; } + + std::string SourcePath; + std::string BinaryPath; + bool IncludeTopLevel; + bool PreOrder; +}; + +#endif