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

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