Add PROJECT_NAME to the set of definitions

This commit is contained in:
Sebastien Barre 2001-10-17 15:11:02 -04:00
parent 7008bdcb10
commit 71fe9280cb
1 changed files with 2 additions and 0 deletions

View File

@ -70,6 +70,8 @@ bool cmProjectCommand::InitialPass(std::vector<std::string> const& args)
m_Makefile->AddDefinition(srcdir.c_str(),
m_Makefile->GetCurrentDirectory());
m_Makefile->AddDefinition("PROJECT_NAME", args[0].c_str());
return true;
}