icinga2/tools/mkclass/mkclass.cpp

17 lines
343 B
C++
Raw Permalink Normal View History

/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
2013-10-26 03:41:45 -04:00
2014-05-25 10:23:35 -04:00
#include "classcompiler.hpp"
2013-10-26 03:41:45 -04:00
#include <iostream>
using namespace icinga;
int main(int argc, char **argv)
{
if (argc < 4) {
std::cerr << "Syntax: " << argv[0] << " <input> <output-impl> <output-header>" << std::endl;
2013-10-26 03:41:45 -04:00
return 1;
}
ClassCompiler::CompileFile(argv[1], argv[2], argv[3]);
2013-10-26 03:41:45 -04:00
}