简体   繁体   中英

Why does bjam seem to ignore my arguments?

I'm trying to build boost.lib with bjam, but no matter what I do, I can't get it to recognise my BOOST_LOG_NO_COMPILER_TLS flag. I'm building like this:

bjam address-model=32 --toolset=msvc-10.0 --build-type=complete 
  --with-log variant=debug link=static runtime-link=static   
  define=BOOST_LOG_NO_COMPILER_TLS stage

To verify that it's ignoring the flag, I compiled with and without this flag and used Beyond Compare to compare each file generated in the stage folder.

All of the lib files were identical. I would expect differences if bjam was recognising my define fields.

I'm new to boost and bjam, so am I doing something wrong?

It turns out that it wasn't actually recompiling stuff, even though I specified --build-type=complete .

If you have stuff in your bin.v2 folder, it won't overwrite it. Either delete the bin.v2 folder or specify some other unknown magical parameter to bjam.

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