Auto-linking
Not to be confused with AutoLinking.
Auto-linking is a mechanism for automatically determining which libraries to link to while building a C, C++ or Obj-C program. It is activated by means of #pragma comment(lib, <name>) statements in the header files of the library, or @import <name> depending on the compiler.
Most Windows compilers support auto-linking, as does Clang, while GCC does not support auto-linking
External links
- You can use #pragma comment(lib...) to specify linker options - Microsoft support
- Pragma directives - MSDN
- Semantic import - Clang documentation
- Compiler changes - Apple
This article is issued from Wikipedia - version of the 8/3/2015. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.