diff options
| author | Neil <nyamatongwe@gmail.com> | 2014-10-02 18:17:13 +1000 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2014-10-02 18:17:13 +1000 |
| commit | 2603f1e2074b0f880886b533ffc47ecef4fd33f7 (patch) | |
| tree | 53bfaff1eca31d0768f43d0c496c81b551230a2d /win32/makefile | |
| parent | 8c42cc95ae3fbfdb8d4b7e8893c2fee283efe1a6 (diff) | |
| download | scintilla-mirror-2603f1e2074b0f880886b533ffc47ecef4fd33f7.tar.gz | |
Allow using C++11 <regex> for searches as a provisional feature.
Diffstat (limited to 'win32/makefile')
| -rw-r--r-- | win32/makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/win32/makefile b/win32/makefile index 299c3c32c..bd808fe41 100644 --- a/win32/makefile +++ b/win32/makefile @@ -27,6 +27,10 @@ endif CXXBASEFLAGS=--std=c++0x -Wall -pedantic $(INCLUDEDIRS) -fno-rtti $(D2DFLAGS) +ifdef CXX11_REGEX +REFLAGS=-DCXX11_REGEX +endif + ifdef DEBUG CXXFLAGS=-DDEBUG -g $(CXXBASEFLAGS) else @@ -35,7 +39,7 @@ STRIPFLAG=-s endif .cxx.o: - $(CXX) $(CXXFLAGS) -c $< + $(CXX) $(CXXFLAGS) $(REFLAGS) -c $< ALL: $(COMPONENT) $(LEXCOMPONENT) $(LEXLIB) ScintillaWinS.o |
