Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 Solution-wide environment variables
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

leinad
New Member

3 Posts

Posted - Feb 12 2007 :  2:50:52 PM  Show Profile  Reply with Quote
I'm working on a solution with over 30 projects in it, and are using environment variables to change compilation properties, like the paths of some libraries and headers.

Since I'm setting these variables with My Computer->Properties->Advanced->Environment Variables, I need to restart Visual Studio whenever I want to compile with different env. vars.

For example, I have set the Configuration Properties/General/Linker/Output File to "C:\\_usr\\$(PluginVersion)\\Helper.dll" in the Property Page of a project, and "C:\\App\\Main$(PluginVersion)\\include" in IDE-wide Options/Projects And Solutions/VC++ Directories/ Show Directories for Include files because the Helper.dll is a plugin for "Main1.0" or "Main1.5".

I think it would be great if Visual Assist would add a some type of interface where Visual Studio environment variables could be added and changed without needing to restart the IDE.

Or is there already a way to define solution wide environment variables whose settings have immediate effects from within VS?

Sorry for that bad English.

Sincerely,
Daniel

feline
Whole Tomato Software

United Kingdom
18940 Posts

Posted - Feb 13 2007 :  07:41:03 AM  Show Profile  Reply with Quote
Which IDE are you using? There is the concept of Property Pages in VS2005 that should do what you want:

http://msdn2.microsoft.com/en-us/library/a4xbdz1e.aspx

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000