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

// cmLibraryRule
bool cmLibraryRule::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->SetLibraryName(args[0].c_str());
  return true;
}