How to set $(OutDir), $(TargetName), $(TargetExt), and %(Lib.OutputFile) with Visual Studio?

前端 未结 7 801
轻奢々
轻奢々 2021-01-03 22:52

I\'m trying to build gtest on Visual Studio 2010. After converting the solution file, I tried to build, and I got the following warning messages.

Warning 1           


        
7条回答
  •  孤街浪徒
    2021-01-03 23:08

    The warning is spurious -- assuming you're using Google Test, it works just fine

    You can make it go away however. Right click on the offending project and select properties. Select "Librarian" in the tree view on the left hand side, and change the "Output File" item on the right by clicking on the box next to output file, and selecting "Inherit from parent or project defaults".

提交回复
热议问题