I need to have my own environmental variable (like $(VsInstallDir) ) for all projects in solution. How can i define it in my solution ?
I'm using VS2008, C++ solution
I had a similar problem and consequent question. Take a look at the answers there. The short answer is: use property sheets.
For example:
<?xml version="1.0" encoding="Windows-1252"?>
<VisualStudioPropertySheet
ProjectType="Visual C++"
Version="8.00"
Name="MyIncludes"
>
<UserMacro
Name="BoostInclude"
Value="C:\Program Files\boost\boost_1_35_0"
PerformEnvironmentSet="true"
/>
</VisualStudioPropertySheet>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With