[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

@@ -22,6 +22,7 @@
#include "version.h"
#include "base/application.h"
#include "base/error_state.h"
#include "base/nested_output.h"
#include "persistent-data/space-maps/core.h"
@@ -29,6 +30,7 @@
#include "thin-provisioning/device_tree.h"
#include "thin-provisioning/mapping_tree.h"
#include "thin-provisioning/superblock.h"
#include "thin-provisioning/commands.h"
using namespace base;
using namespace std;
@@ -272,7 +274,7 @@ namespace {
}
}
int main(int argc, char **argv)
int thin_check_main(int argc, char **argv)
{
int c;
flags fs;
@@ -342,3 +344,7 @@ int main(int argc, char **argv)
return check(argv[optind], fs);
}
base::command thin_provisioning::thin_check_cmd("thin_check", thin_check_main);
//----------------------------------------------------------------