summaryrefslogtreecommitdiffstats
path: root/Source/cmakemain.cxx
blob: 5ecf1e548c4e6ff30b605d4f9912b8fcdda89dd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "cmake.h"

int main(int ac, char** av)
{
  cmake cm;
  if(ac < 1)
    {
      cm.Usage(av[0]);
      return -1;
    }
  std::vector<std::string> args;
  for(int i =0; i < ac; ++i)
    {
    args.push_back(av[i]);
    }
  return cm.Generate(args);
}