文档中提到了变量JAMSHELL,它允许更改b2用于执行命令的shell。但当我在jamroot中设置它时,它似乎没有任何效果。我使用MSVC编译器。示例:
JAMSHELL = cmddd /C % ; # cmddd is not a shell on my computer so should break b2 but it does not
htrmnn0y1#
您需要将其注入模块msvc:
msvc
using msvc : 14.2 ; # you probably already have this line if using MSVC import modules ; modules.poke msvc : JAMSHELL : cmddd /C % ;
source
1条答案
按热度按时间htrmnn0y1#
您需要将其注入模块
msvc
:source