From 71fe9280cb8736c67eaba649258c44feb4a97db3 Mon Sep 17 00:00:00 2001 From: Sebastien Barre Date: Wed, 17 Oct 2001 15:11:02 -0400 Subject: [PATCH] Add PROJECT_NAME to the set of definitions --- Source/cmProjectCommand.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/cmProjectCommand.cxx b/Source/cmProjectCommand.cxx index 9926c25b8..5eb9241ec 100644 --- a/Source/cmProjectCommand.cxx +++ b/Source/cmProjectCommand.cxx @@ -70,6 +70,8 @@ bool cmProjectCommand::InitialPass(std::vector const& args) m_Makefile->AddDefinition(srcdir.c_str(), m_Makefile->GetCurrentDirectory()); + m_Makefile->AddDefinition("PROJECT_NAME", args[0].c_str()); + return true; }