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.
Basically, I have to add the path to my include
and lib
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 #define
or a similar assignment?