summaryrefslogtreecommitdiff
path: root/win/modules
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/modules
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/modules')
-rw-r--r--win/modules/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/win/modules/CMakeLists.txt b/win/modules/CMakeLists.txt
index 70ab6d106..5778d944a 100644
--- a/win/modules/CMakeLists.txt
+++ b/win/modules/CMakeLists.txt
@@ -1,3 +1,7 @@
+# m_regex_stdlib is supported by every version of Visual Studio we support,
+# so copy the file out of extra/
+file(COPY "${INSPIRCD_BASE}/src/modules/extra/m_regex_stdlib.cpp" DESTINATION "${INSPIRCD_BASE}/src/modules/")
+
file(GLOB INSPIRCD_MODULES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "${INSPIRCD_BASE}/src/commands/*.cpp" "${INSPIRCD_BASE}/src/modules/*.cpp")
list(SORT INSPIRCD_MODULES)