简体   繁体   中英

build boost with both 32bit and 64bit with visual studio

I have configured boost to build both 32bit and 64bit libraries with versioned layout.

However it did not include address model in the file name layout, so the 32bit and 64bit libraries have the same filename and therefore can't share the lib directory.

What is the recommended way to have both 32bit and 64bit boost libraries ?

The way I solved this problem was by specifying --libdir on the b2 command line and have it point to a different directory. I called it "libx64" and made the layout look like this:

include -> With boost underneath it, standard boost layout lib -> Standard boost lib dir, use that for the 32 bit libraries libx64 -> 64 bit libraries only

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM