Original Post
I was wondering if any of you excellent folks could tell me if there were a way to link a static library (.lib) to a project in text form. For instance, header files are fairly obvious because they're declared IN the code with a #include. Linker inputs aren't so obvious, because you have to go into project settings. I've been using #pragma comment(lib, "something.lib"), but I've heard it's a bit flaky on non-MS compilers. Is there a more standards-compliant substitute?