views:

267

answers:

2

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

+1  A: 

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

Nikola Smiljanić
+2  A: 

The 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.

T.E.D.