summaryrefslogtreecommitdiff
path: root/slicer/tool/slicer.cpp
blob: ce58c575034fff647cb68607dca199234e3452e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <slicer/parser.h>

int
main(int argc, char ** argv)
{
	if (argc < 3) {
		fprintf(stderr, "slicer <input.ice> <output.cpp>\n");
		return 1;
	}

	const boost::filesystem::path slice = argv[1];
	const boost::filesystem::path cpp = argv[2];

	Slicer::Slicer::Apply(slice, cpp);

	return 0;
}