Question

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)?

Was it helpful?

Solution

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.

OTHER TIPS

There is no way to do this. This is the list of all supported pragma directives.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top