How to change boost path

对着背影说爱祢 提交于 2019-12-08 03:56:42

问题


I would like to recreate my build/ folder with prep2010.cmd and also set the boost folder to my own boost installation.

I run:

prep2010.cmd -D WITH_SYSTEM_BOOST=1 -D BOOST_ROOT="c:\boost"

But when I open the plugin solution the boost include folder is still set to firebreath's one. Am I missing something?

Thanks, Christian


回答1:


try:

prep2010.cmd "-DWITH_SYSTEM_BOOST=1" "-DBOOST_ROOT=C:\boost"

The windows prep scripts are a little funny; we haven't been able to figure out why they act that way, but if someone with more batch file experience than I have wants to fix them they are welcome to do so =]




回答2:


Turns out I have to Boost_USE_STATIC_RUNTIME=off so findboost.cmake will be able to match my boost binaries. My boost libs use shared runtime libs.



来源:https://stackoverflow.com/questions/11678758/how-to-change-boost-path

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!