make framework more flexible, split cmake files

This commit is contained in:
Eduardo Bart
2011-12-05 04:44:03 -02:00
parent d2d8a0097a
commit ffeb34e0e7
26 changed files with 352 additions and 318 deletions

View File

@@ -25,8 +25,9 @@
int main(int argc, const char* argv[])
{
std::vector<std::string> args(argv, argv + argc);
g_otclient.init(args);
g_otclient.run();
g_otclient.terminate();
OTClient otclient;
otclient.init(args);
otclient.run();
otclient.terminate();
return 0;
}