mirror of
https://github.com/reactos/CMake.git
synced 2024-12-02 00:26:18 +00:00
18 lines
258 B
C++
18 lines
258 B
C++
#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);
|
|
}
|