BUG: local gen was setting proj dir when it shouldnt

This commit is contained in:
Ken Martin 2005-04-12 09:36:18 -04:00
parent f33c633c40
commit ee7fbdf058
1 changed files with 0 additions and 7 deletions

View File

@ -41,13 +41,6 @@ cmLocalGenerator::~cmLocalGenerator()
void cmLocalGenerator::Configure() void cmLocalGenerator::Configure()
{ {
// set the PROJECT_SOURCE_DIR and PROJECT_BIN_DIR to default values
// just in case the project does not include a PROJECT command
m_Makefile->AddDefinition("PROJECT_BINARY_DIR",
m_Makefile->GetHomeOutputDirectory());
m_Makefile->AddDefinition("PROJECT_SOURCE_DIR",
m_Makefile->GetHomeDirectory());
// find & read the list file // find & read the list file
std::string currentStart = m_Makefile->GetStartDirectory(); std::string currentStart = m_Makefile->GetStartDirectory();
currentStart += "/CMakeLists.txt"; currentStart += "/CMakeLists.txt";