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,
|
# This makefile should be listed after main Scintilla makefile
|
||||||
# just after where LOBJS is defined (around line
|
# by using the -f option for both makefiles
|
||||||
#
|
|
||||||
# The following line should be added around line 211 of scintilla.mak
|
|
||||||
# !INCLUDE nppSpecifics.mak
|
|
||||||
|
|
||||||
# Set your boost path (the root of where you've unpacked your boost zip).
|
# Set your boost path (the root of where you've unpacked your boost zip).
|
||||||
# Boost is available from www.boost.org
|
# Boost is available from www.boost.org
|
||||||
|
|
||||||
|
|
||||||
SRC_OBJS+=\
|
DIR_BOOST = ../../boostregex
|
||||||
$(DIR_O)/BoostRegexSearch.o \
|
|
||||||
$(DIR_O)/UTF8DocumentIterator.o
|
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
|
$(LIBSCI): $(BOOST_OBJS)
|
||||||
$(CXX) $(CXX_ALL_FLAGS) $(CXXFLAGS) -D_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS -c $< -o $@
|
|
||||||
|
|
||||||
$(DIR_O)/BoostRegexSearch.o:: ../../boostregex/BoostRegexSearch.cxx ../src/CharClassify.h ../src/RESearch.h
|
-include $(BOOST_OBJS:.o=.d)
|
||||||
$(CXX) $(CXX_ALL_FLAGS) $(CXXFLAGS) -D_SILENCE_ALL_CXX17_DEPRECATION_WARNINGS -c $< -o $@
|
|
||||||
|
|
||||||
|
Loading…
Reference in new issue