icinga2/tools/mkclass/mkclass.cpp

17 lines
343 B
C++
Raw Normal View History

/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
2013-10-26 09:41:45 +02:00
2014-05-25 16:23:35 +02:00
#include "classcompiler.hpp"
2013-10-26 09:41:45 +02: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 09:41:45 +02:00
return 1;
}
ClassCompiler::CompileFile(argv[1], argv[2], argv[3]);
2013-10-26 09:41:45 +02:00
}