mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-31 01:34:58 +02:00
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
27 lines
610 B
Makefile
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)
|
|
|