diff options
author | Ken Martin <ken.martin@kitware.com> | 2002-08-30 20:00:35 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2002-08-30 20:00:35 (GMT) |
commit | 3ffc4b2ee1cabf1815c6b615f43d92aefa9c2597 (patch) | |
tree | 03afb8b53f0c0c7aeb4822e296f611eaf2713563 /Source/cmLocalGenerator.cxx | |
parent | 31f80f19aec938a3109e6d8c17172a3538d0477f (diff) | |
download | CMake-3ffc4b2ee1cabf1815c6b615f43d92aefa9c2597.zip CMake-3ffc4b2ee1cabf1815c6b615f43d92aefa9c2597.tar.gz CMake-3ffc4b2ee1cabf1815c6b615f43d92aefa9c2597.tar.bz2 |
in progress checkin
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx new file mode 100644 index 0000000..258debd --- /dev/null +++ b/Source/cmLocalGenerator.cxx @@ -0,0 +1,36 @@ +/*========================================================================= + + Program: Insight Segmentation & Registration Toolkit + Module: $RCSfile$ + Language: C++ + Date: $Date$ + Version: $Revision$ + + Copyright (c) 2002 Insight Consortium. All rights reserved. + See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm 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. + +=========================================================================*/ +#include "cmLocalGenerator.h" +#include "cmMakefile.h" + +cmLocalGenerator::cmLocalGenerator() +{ + m_Makefile = new cmMakefile; +} + +cmLocalGenerator::~cmLocalGenerator() +{ + delete m_Makefile; +} + +void cmLocalGenerator::Configure() +{ + // find & read the list file + std::string currentStart = m_Makefile->GetStartDirectory(); + currentStart += "/CMakeLists.txt"; + m_Makefile->ReadListFile(currentStart.c_str()); +} |