I discovered while using boost 1.69 with Python 2.7 that a /defaultlib:XXX directive for the boost::python import library is injected into each object file that uses boost::python
Kacvinsky, Tom wrote: header files.
What I have not been able to figure out is the magic for doing this. I presume it is a macro that makes a
#pragma for default libs based on the threading model, the address model, the version of Python in use, and the _MSC_VER compiler macro.
Am I am on the right track? Where would this code be? I could find it via searching for #\w?pragma in
the code base. Should be this line: https://github.com/boostorg/python/blob/develop/include/boost/python/detail/... Autolinking is documented in https://www.boost.org/doc/libs/1_70_0/libs/config/doc/html/boost_config/boos...