title: C++ - Using environment variable in property sheet for Visual Studio 2010
body: <p>I want to set up a project which uses OpenCV. So basically, I have to add a new property sheet using the property manager from Visual Studio 2010.</p>
  
  <p>Basically, I have to add the path to my <code>include</code> and <code>lib</code> folders in order to make OpenCV functional. I want to put my project in a git repository and I don't want to change the paths in my property sheets every time. Is there a way of using a system variable in my property sheet with the path to the build folder of OpenCV? If there exist a way of doing this, can I assign the value of that variable directly from the code? Like a <code>#define</code> or a similar assignment?</p>