Quantcast
Channel: Active questions tagged visual-studio-code - Stack Overflow
Viewing all articles
Browse latest Browse all 97371

how to add thirdparty source file or the recursively the directory not to build it but just can go to definition in vscode with cmake

$
0
0

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.


Viewing all articles
Browse latest Browse all 97371

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>