summaryrefslogtreecommitdiffstats
path: root/Source/cmProjectRule.cxx
blob: 77354e518f6aafb955c4f1a2cda11130d8cbf840 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "cmProjectRule.h"

// cmProjectRule
bool cmProjectRule::Invoke(std::vector<std::string>& args)
{
  if(args.size() < 1 || args.size() > 1)
    {
    this->SetError("PROJECT called with incorrect number of arguments");
    return false;
    }
  m_Makefile->SetProjectName(args[0].c_str());
  return true;
}