diff options
Diffstat (limited to 'Source/cmProjectCommand.cxx')
-rw-r--r-- | Source/cmProjectCommand.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmProjectCommand.cxx b/Source/cmProjectCommand.cxx index 9926c25..5eb9241 100644 --- a/Source/cmProjectCommand.cxx +++ b/Source/cmProjectCommand.cxx @@ -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; } |