|
From: Luigi B. <lui...@gm...> - 2008-05-30 09:20:07
|
On Thu, 2008-05-29 at 16:04 -0400, Irakli Machabeli wrote: > Is there any particular reason that auto_link.hpp contains this line ? > > #define QL_LIB_NAME "QuantLib-" QL_LIB_TOOLSET QL_LIB_THREAD_OPT > QL_LIB_RT_OPT "-" QL_LIB_VERSION ".lib" > #pragma comment(lib, QL_LIB_NAME) > > This means that all programs have to link to static version (at least > having lib extension) of library > Besides project files for VS8 contain hardcoded name and even though > configuration name says CRTDLL it is configured to make static lib Hi Irakli, "CRTDLL" means that programs will link to the DLL version of the C++ runtime. As for QuantLib itself, it generates a static library in all configurations (we were never able to create it as a DLL under Windows...) Luigi -- The Feynman Problem Solving Algorithm: 1) Write down the problem. 2) Think very hard. 3) Write down the solution. |