mirror of
https://github.com/reactos/CMake.git
synced 2024-11-28 22:10:32 +00:00
16 lines
290 B
C++
16 lines
290 B
C++
#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;
|
|
}
|