Quantcast
Channel: C++博客-eryar
Viewing all articles
Browse latest Browse all 519

Visual Studio Set Project Environment Variables

$
0
0

Visual Studio Set Project Environment Variables

eryar@163.com

In Visual Studio you can specify changes to environment variables in the project settings. Open your project, go to Project -> Properties... Under Configuration Properties -> Debugging, edit the Environment value to set environment variables.

For example, if you want to add the directory “c:\foo\bin” to the path when debugging your application, set the Environment value to “PATH=%PATH%;c:\foo\bin”.

Here’s a screenshot of the settings dialog:

wpsD79C.tmp

当使用第三方库进行开发时,如果某个第三方库有多个版本,为了使多个版本互不影响,且也不想把相关的程序路径设置到电脑的环境变量中去,则可以在Debugging中为某个开发项目设置环境变量。



eryar 2017-02-21 21:39 发表评论

Viewing all articles
Browse latest Browse all 519

Trending Articles


Vimeo 11.5.1 by Vimeo.com, Inc.


HOY PANGIT, MAGBAYAD KA!


Arbol genealogico para colorear


Sapos para colorear


Tropa Quotes


Re:Mutton Pies (lleechef)


El Vibora (1971) by Francisco V. Coching and Federico C. Javinal


Ka longiing longsem kaba skhem bad kaba khlain ka pynlong kein ia ka...


Vimeo 3.42.0 by Vimeo Inc


FORECLOSURE OF REAL ESTATE MORTGAGE



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>