CMake/Source/cmakemain.cxx

16 lines
290 B
C++
Raw Normal View History

2001-05-30 23:56:17 +04:00
#include "cmake.h"
2001-09-15 00:26:56 +04:00
#include "cmMakefileGenerator.h"
2001-05-30 23:56:17 +04:00
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]);
}
2001-09-15 00:26:56 +04:00
int ret = cm.Generate(args);
cmMakefileGenerator::UnRegisterGenerators();
return ret;
2001-05-30 23:56:17 +04:00
}