Convert to CMake

This commit is contained in:
2015-02-11 01:53:19 +01:00
parent dfe50aeb85
commit 59b1c5c056
7 changed files with 151 additions and 44 deletions

View File

@@ -18,8 +18,7 @@
*
*/
#define PROGRAM_NAME "ZyklonB"
#define PROGRAM_VERSION "alpha"
#include "config.h"
#include "common.c"
#include <arpa/inet.h>
@@ -48,7 +47,7 @@ static struct config_item g_config_table[] =
{ "prefix", ":", "The prefix for bot commands" },
{ "admin", NULL, "Host mask for administrators" },
{ "plugins", NULL, "The plugins to load on startup" },
{ "plugin_dir", NULL, "Where to search for plugins" },
{ "plugin_dir", PLUGIN_DIR, "Where to search for plugins" },
{ "recover", "on", "Whether to re-launch on crash" },
{ NULL, NULL, NULL }