Itseez/opencv — pull request #47 by kazuki-ma (2012-10-16 15:41:35+00:00)
Title: Auto linking pragmas for Visual Studio.

In Visual Studio, there are

pragma comment(lib, "xxx.lib");

syntax to specify a library file for Linker.
Writing a #pragma in your c/c++ source code or header file,
the linkage-editor recognize it and links the library file.
When users use the syntax, users no longer care about linker options such as

For same time back, Boost C++ library is using its technique, and
user who use the library in Visual Studio
can use the library without specifying library files manually.
Thanks to the pragma, we use Boost, there are no linker errors without side effects when.

It's like a .pc files of pkg-config in Unix/Linux environment.