2019-02-25 14:48:22 +01:00
|
|
|
/* 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)
|
|
|
|
{
|
2015-03-28 11:04:42 +01:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2015-03-28 11:04:42 +01:00
|
|
|
ClassCompiler::CompileFile(argv[1], argv[2], argv[3]);
|
2013-10-26 09:41:45 +02:00
|
|
|
}
|