[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

@@ -1,5 +1,6 @@
#include "version.h"
#include "caching/commands.h"
#include "caching/metadata.h"
#include "caching/restore_emitter.h"
#include "caching/xml_format.h"
@@ -95,7 +96,7 @@ namespace {
}
}
int main(int argc, char **argv)
int cache_restore_main(int argc, char **argv)
{
int c;
flags fs;
@@ -169,4 +170,6 @@ int main(int argc, char **argv)
return restore(fs);
}
base::command caching::cache_restore_cmd("cache_restore", cache_restore_main);
//----------------------------------------------------------------