Compiling ql as DLL
Posted by
imachabeli on
May 29, 2008; 8:04pm
URL: http://quantlib.414.s1.nabble.com/Compiling-ql-as-DLL-tp12006.html
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
E-mail for the greater good. <a href='http://im.live.com/Messenger/IM/Join/Default.aspx?source=EML_WL_ GreaterGood' target='_new'>Join the i’m Initiative from Microsoft.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev