Using an environment variable would avoid needing to edit the property sheet for each user.
Consequently, if you define the environment variable OPENCV2_DIR to be c:\OpenCV2.2,
then the two OpenCV directories will be specified as $(OPENCV_DIR)\include and
$(OPENCV_DIR)\lib in the property sheet.
Consequently, if you define the environment variable OPENCV2_DIR to be c:\OpenCV2.2,
then the two OpenCV directories will be specified as $(OPENCV_DIR)\include and
$(OPENCV_DIR)\lib in the property sheet.