Is it possible in Visual C++ to set additional include directories and additional libary directories in the source code itself, through pragma definitions (similarly to #pragma comment(lib, "xxx.lib") to link specific libs)?
The latest list of available pragmas for Visual C++ is available here. I don't see anything there for specifying library paths or anything else like that.
There is no way to do this. This is the list of all supported pragma directives.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With