summaryrefslogtreecommitdiff
path: root/win/inspircd_config.h.cmake
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-03-23 22:47:25 -0500
committerAdam <Adam@anope.org>2013-03-23 22:47:25 -0500
commit6b2d45c154ddbd5ea4381156f5b763c8d0c29e07 (patch)
tree8332980d359c445ef36f9fe75249f484b3a85013 /win/inspircd_config.h.cmake
parent21f7e4a8cdad2f29fda2768215c3a5352a9fa632 (diff)
win: Made config, modules, data, and log paths configurable.
Update win/README with instructions on how to use cmake-gui. Always build m_regex_stdlib, since all VS versions we support support it.
Diffstat (limited to 'win/inspircd_config.h.cmake')
-rw-r--r--win/inspircd_config.h.cmake13
1 files changed, 13 insertions, 0 deletions
diff --git a/win/inspircd_config.h.cmake b/win/inspircd_config.h.cmake
new file mode 100644
index 000000000..f98cd391e
--- /dev/null
+++ b/win/inspircd_config.h.cmake
@@ -0,0 +1,13 @@
+#ifndef INSPIRCD_CONFIG_H
+#define INSPIRCD_CONFIG_H
+
+#define CONFIG_PATH "@CONF_PATH@"
+#define MOD_PATH "@MODULE_PATH@"
+#define DATA_PATH "@DATA_PATH@"
+#define LOG_PATH "@LOG_PATH@"
+#define MAXBUF 514
+
+#include "inspircd_win32wrapper.h"
+#include "threadengines/threadengine_win32.h"
+
+#endif \ No newline at end of file