简体   繁体   English

Visual Studio - 如何设置输出 .lib 路径?

[英]Visual studio - how to set output .lib path?

This is my setup with 2020 mode:这是我在 2020 模式下的设置:

在此处输入图片说明

在此处输入图片说明


on 2022 mode is similar!在 2022 模式上是相似的!

在此处输入图片说明

在此处输入图片说明

However when I build with target 2020,但是,当我以 2020 年为目标进行构建时,

the output of .lib is
$(ProjectDir)x64\Release2020
and, for target 2022 it is:
$(SolutionDir)x64\Release2022

I don't change anything in propertypage, Where can I check other settings?我没有更改属性页中的任何内容,在哪里可以查看其他设置?

在此处输入图片说明

I need to set the output file in $(solutiondir)Release..我需要在 $(solutiondir)Release 中设置输出文件。

Ok.行。 I saw it.我看到了。 just change IntDir to OutDir.只需将 IntDir 更改为 OutDir。 my's problem is solved.我的问题解决了。

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM