For the sake of maintenance of Scintilla (future update), we try to not modify Scintilla project, or at least minimize its modification. Hence the compiling boost part is shifted to Notepad++ project. Fix #11014, close #11485pull/11509/head
parent
7fa6fb083b
commit
46ce9c31df
@ -1,25 +1,26 @@
|
||||
# This makefile should be included in the main scintilla.mak file,
|
||||
# just after where LOBJS is defined (around line
|
||||
#
|
||||
# The following line should be added around line 211 of scintilla.mak
|
||||
# !INCLUDE nppSpecifics.mak
|
||||
# This makefile should be listed after main Scintilla makefile
|
||||
# by using the -f option for both makefiles
|
||||
|
||||
# Set your boost path (the root of where you've unpacked your boost zip).
|
||||
# Boost is available from www.boost.org
|
||||
|
||||
|
||||
SRC_OBJS+=\
|
||||
$(DIR_O)/BoostRegexSearch.o \
|
||||
$(DIR_O)/UTF8DocumentIterator.o
|
||||
DIR_BOOST = ../../boostregex
|
||||
|
||||
vpath %.h $(DIR_BOOST)
|
||||
vpath %.cxx $(DIR_BOOST)
|
||||
|
||||
INCLUDES+= -I../../boostregex
|
||||
INCLUDES += -I $(DIR_BOOST)
|
||||
CXXFLAGS += -DSCI_OWNREGEX
|
||||
|
||||
CXXFLAGS+= -DSCI_OWNREGEX
|
||||
BOOST_OBJS = \
|
||||
$(DIR_O)/BoostRegExSearch.o \
|
||||
$(DIR_O)/UTF8DocumentIterator.o
|
||||
|
||||
$(BOOST_OBJS): $(DIR_O)/%.o: %.cxx
|
||||
$(CXX) $(CXX_ALL_FLAGS) $(CXXFLAGS) -MMD -c $< -o $@
|
||||
|
||||
$(DIR_O)/UTF8DocumentIterator.o:: ../../boostregex/UTF8DocumentIterator.cxx
|
||||
$(CXX) $(CXX_ALL_FLAGS) $(CXXFLAGS) -D_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS -c $< -o $@
|
||||
$(LIBSCI): $(BOOST_OBJS)
|
||||
|
||||
$(DIR_O)/BoostRegexSearch.o:: ../../boostregex/BoostRegexSearch.cxx ../src/CharClassify.h ../src/RESearch.h
|
||||
$(CXX) $(CXX_ALL_FLAGS) $(CXXFLAGS) -D_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS -c $< -o $@
|
||||
-include $(BOOST_OBJS:.o=.d)
|
||||
|
||||
|
Loading…
Reference in new issue