BUG: add missing file

This commit is contained in:
Bill Hoffman 2001-05-30 15:56:17 -04:00
parent cf1393218f
commit a85e67d937
1 changed files with 17 additions and 0 deletions

17
Source/cmakemain.cxx Normal file
View File

@ -0,0 +1,17 @@
#include "cmake.h"
int main(int ac, char** av)
{
cmake cm;
if(ac < 2)
{
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);
}