2026-01-27 09:06:40 -05:00
|
|
|
// SPDX-FileCopyrightText: 2012 Icinga GmbH <https://icinga.com>
|
|
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
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)
|
|
|
|
|
{
|
2015-03-28 06:04:42 -04:00
|
|
|
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;
|
|
|
|
|
}
|
|
|
|
|
|
2015-03-28 06:04:42 -04:00
|
|
|
ClassCompiler::CompileFile(argv[1], argv[2], argv[3]);
|
2013-10-26 03:41:45 -04:00
|
|
|
}
|