什么是正确的LibPaths格式 [英] What is the correct LibPaths format
问题描述
您好,
我正在尝试在Visual Studio 2010中设置相对的lib路径,最新版本的代码合同(今天刚下载)。似乎相对路径没有扩展。例如,如果我写在"LibPaths"中, editbox" lib; modules",这些不是将
扩展为" $(OutputDir)\ lt; $(OutputDir)\ modules;"当作为参数传递给ccrewrite.exe。
I am trying to set relative lib path in visual studio 2010, latest release of code contracts (just downloaded it today). It seems that relative paths are not expanded. For example if I write in the "LibPaths" editbox "lib;modules", these are not expanded to "$(OutputDir)\lib;$(OutputDir)\modules;" when passed as arguments to ccrewrite.exe.
任何想法?
推荐答案
对,这不起作用,因为ccrewrite在中间目录中运行(通常是obj\Debug,但可能是obj \Debug \ x86 \)。
Right, this does not work because ccrewrite runs in the intermediate directory (typically obj\Debug, but could be obj\Debug\x86\).
我想我们应该更加小心关于给你一个固定的相对根,比如项目目录。
I suppose we should be more careful about giving you a fixed relative root such as the project directory.
这篇关于什么是正确的LibPaths格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!