Upgrading Scintilla, need help for boost
-
I’m working on upgrading Scintilla to 4.14.
And I’m trying to integrate the PCRE of last version of boost:
https://www.boost.org/users/history/version_1_70_0.htmlFor the moment, I managed to use
bjam
to build regex in debug dynamical binary.
However I need to build a multi-thread static release library.
Can anyone tell me how to build in withbjam
underC:\boost_1_70_0\bin.v2\libs\regex\build
? -
If this is still an open point for you and I’m not sure if this info does help you but,
what about cloning getboost repository and follow the guide how to build boost.
Within boost.bat you can comment the unneeded compilers.
It took around 6 minutes on my machine to build the various regex libraries.
Note, this compiled only the boost::regex, none of the others.
Command I used (within boost.bat it is the line before the last line) was
b2 architecture=x86 link=%2 runtime-link=%3 threading=%4 address-model=%5 stage --stagedir=address-model-%5 --toolset=msvc-%1 --with-regex
-
See Boost C++ Libraries - Invocation for additional properties and the values allowed for the properties.
FYI: Boost encourages to use the name
b2
instead ofbjam
e.g.
"%BOOSTPATH%\b2\bin\b2.exe" "toolset=msvc-14.1" "variant=debug,release" "threading=multi" "link=static" "runtime-link=static" "address-model=64"
-
Link no longer valid, try: Build Binaries from Source.
-
and see: Library Naming