Move m_regex_stdlib out of extras now it can always be built.

This commit is contained in:
Sadie Powell 2018-07-31 03:14:09 +01:00
parent c78ecdf579
commit 97aba4f8a5
4 changed files with 0 additions and 13 deletions

1
.gitignore vendored
View File

@ -22,7 +22,6 @@
/src/modules/m_regex_pcre.cpp
/src/modules/m_regex_posix.cpp
/src/modules/m_regex_re2.cpp
/src/modules/m_regex_stdlib.cpp
/src/modules/m_regex_tre.cpp
/src/modules/m_sqlite3.cpp
/src/modules/m_ssl_gnutls.cpp

View File

@ -1691,12 +1691,6 @@
#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
# Regular expression provider for C++11 std::regex regular expressions.
# This module works on any fully compliant implementation of the C++11
# std::regex container. Examples for such are Visual C++ 2010 and newer
# but not libstdc++ (which GCC uses).
# You should verify that std::regex is supported by your setup before
# using this module, as it may compile normally but won't do anything
# on some implementations.
#<module name="regex_stdlib">
#
# Specify the regular expression engine to use here. Valid settings are

View File

@ -16,8 +16,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/// $CompilerFlags: -std=c++11
#include "inspircd.h"
#include "modules/regex.h"

View File

@ -1,7 +1,3 @@
# 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 "${INSPIRCD_BASE}/src/coremods/core_*" "${INSPIRCD_BASE}/src/modules/m_*")
list(SORT INSPIRCD_MODULES)