notepad-plus-plus/boostregex/nppSpecifics_mingw.mak
xomx 9eb2598ea4 Add version of external libraries (Scintilla/Lexilla/Boost) into Debug Info
Dynamically collects all the version info needed and creates NppLibsVersion.h file by the help of a pre-build event.

Fix https://community.notepad-plus-plus.org/topic/21513/determining-supporting-library-versions

Fix #11466, close #16318
2025-03-23 15:44:32 +01:00

27 lines
610 B
Makefile

# 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
DIR_BOOST = ../../boostregex
vpath %.h $(DIR_BOOST)
vpath %.cxx $(DIR_BOOST)
INCLUDES += -I $(DIR_BOOST)
CXXFLAGS += -DSCI_OWNREGEX -DBOOST_REGEX_STANDALONE
BOOST_OBJS = \
$(DIR_O)/BoostRegExSearch.o \
$(DIR_O)/UTF8DocumentIterator.o
$(BOOST_OBJS): $(DIR_O)/%.o: %.cxx
$(CXX) $(CXX_ALL_FLAGS) $(CXXFLAGS) -MMD -c $< -o $@
$(LIBSCI): $(BOOST_OBJS)
-include $(BOOST_OBJS:.o=.d)