[all] Build a single executable

This commit is contained in:
Joe Thornber
2014-08-27 14:01:31 +01:00
parent c1e0799367
commit 6f8b7e2914
48 changed files with 418 additions and 496 deletions

View File

@@ -4,6 +4,7 @@
#include <iostream>
#include "version.h"
#include "caching/commands.h"
#include "caching/mapping_array.h"
#include "caching/metadata.h"
#include "caching/metadata_dump.h"
@@ -66,7 +67,7 @@ namespace {
//----------------------------------------------------------------
int main(int argc, char **argv)
int cache_dump_main(int argc, char **argv)
{
int c;
flags fs;
@@ -114,4 +115,6 @@ int main(int argc, char **argv)
return dump(argv[optind], output, fs);
}
base::command caching::cache_dump_cmd("cache_dump", cache_dump_main);
//----------------------------------------------------------------