[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

@@ -10,6 +10,7 @@
#include "persistent-data/run.h"
#include "persistent-data/space-maps/core.h"
#include "persistent-data/file_utils.h"
#include "thin-provisioning/commands.h"
#include "thin-provisioning/superblock.h"
#include "thin-provisioning/mapping_tree.h"
#include "thin-provisioning/rmap_visitor.h"
@@ -125,7 +126,7 @@ namespace {
//----------------------------------------------------------------
int main(int argc, char **argv)
int thin_rmap_main(int argc, char **argv)
{
int c;
vector<region> regions;
@@ -174,4 +175,6 @@ int main(int argc, char **argv)
return rmap(argv[optind], regions);
}
base::command thin_provisioning::thin_rmap_cmd("thin_rmap", thin_rmap_main);
//----------------------------------------------------------------