I am using vscode with cmake. I have built OpenCV library. I can include OpenCV headers and link OpenCV libraries. The vscode cpp extensions can go to declaration by using compile_commands.json generated after cmake configuration for intellisense. but how can I go to definition of functions, what should I add in cmakelists.txt . what about file(GLOB OpenCV_Sources "D:\\Include\\opencv-3.4.9\\modules""*.cpp") , it seems not work.
↧