如何在Visual Studio项目定义相对路径? [英] How to define relative paths in Visual Studio Project?
本文介绍了如何在Visual Studio项目定义相对路径?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个图书馆和一个使用库控制台应用程序。图书馆与源文件和头文件的文件夹。
I have a library and a console application that uses a library. The library has a folder with source and header files.
我的项目是在孩子/内部目录,但我想包括图书馆目录是在父/上一级目录。
My project is in a child/inner directory but that library directory that I want to include is in a parent/upper directory.
我的项目目录:
H:\Gmail_04\gsasl-1.0\lib\libgsaslMain
包含文件的位置:
Includes files are here:
H:\Gmail_04\gsasl-1.0\src
我如何使用相对于项目目录路径,以包括在父/上一级目录文件夹?
How can I use paths relative to the project directory, to include folders that are in a parent/upper directory?
推荐答案
如果我得到你的权利,你需要 .. \\ .. \\ SRC
If I get you right, you need ..\..\src
这篇关于如何在Visual Studio项目定义相对路径?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文