Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Define multiple environment variables for debug in Visual C++

I want to debug a program in Visual C++ that depends on two environment variables.

I know how to define one variable (PropertiesConfiguration PropertiesDebugEnvironment), but I am having problems defining two variables. I have tried to separate them with \ and |, but it didn't work.

like image 387
Narkha Avatar asked Jan 25 '13 11:01

Narkha


1 Answers

In my VS Express 2012, there's a down arrow that when you click on it shows the alternative <Edit...>. If you select it you will get a dialog with a text entry box. This text entry allows multiple lines. Simply define one variable per line.

Note that it will look weird in the single-line text box in the project property dialog.

like image 50
Some programmer dude Avatar answered Sep 23 '22 21:09

Some programmer dude