In visual studio how to include all .libs in a folder

后端 未结 5 823
轮回少年
轮回少年 2020-12-31 06:20

I am trying to build a project with another project. There are a lot of libs in there and I am not sure where the required unreferenced symbols are present.

Is ther

5条回答
  •  感动是毒
    2020-12-31 07:01

    bigD's answer is right.

    The place you would actually do this, in VS 2012 at least, is by right-clicking on the project, then going:

    Properties > Configuration Properties > Linker > Command Line > Additional Options

    In that box, you would just type:

    "[libFolder]\*.lib"
    

    You can have multiple locations by separating locations with a space, like so:

    "[libFolder1]\*.lib" "[libFolder2]\*.lib"
    

提交回复
热议问题