The answer depends on what exactly you are trying to do. Normally the OpenCV_LIBS variable is exported by the OpenCV library itself and you would need to study its CMakeLists.txt structure to locate the statement that exports it. If you define this variable manually in some of your projects, you could use VisualGDB GUI to edit it, but the exact location would depend on the way the variable is defined.