Go to the documentation of this file.
20 #ifndef qla_autolink_hpp
21 #define qla_autolink_hpp
26 #if (_MSC_VER >= 1924)
27 # define QLADDIN_LIB_TOOLSET "v142"
28 #elif (_MSC_VER >= 1910)
29 # define QLADDIN_LIB_TOOLSET "v141"
30 #elif (_MSC_VER >= 1900)
31 # define QLADDIN_LIB_TOOLSET "v140"
32 #elif (_MSC_VER >= 1800)
33 # define QLADDIN_LIB_TOOLSET "v120"
34 #elif (_MSC_VER >= 1700)
35 # define QLADDIN_LIB_TOOLSET "v110"
36 #elif (_MSC_VER >= 1600)
37 # define QLADDIN_LIB_TOOLSET "v100"
38 #elif (_MSC_VER >= 1500)
39 # define QLADDIN_LIB_TOOLSET "v90"
41 # error "unsupported Microsoft compiler"
48 # define QLADDIN_LIB_PLATFORM "-x64"
50 # define QLADDIN_LIB_PLATFORM
55 # define QLADDIN_LIB_THREAD_OPT "-mt"
57 # define QLADDIN_LIB_THREAD_OPT
63 # define QLADDIN_LIB_RT_OPT "-gd"
65 # define QLADDIN_LIB_RT_OPT
69 # define QLADDIN_LIB_RT_OPT "-sgd"
71 # define QLADDIN_LIB_RT_OPT "-s"
75 #define QLADDIN_LIB_NAME "QuantLibObjects-" QLADDIN_LIB_TOOLSET QLADDIN_LIB_PLATFORM QLADDIN_LIB_THREAD_OPT QLADDIN_LIB_RT_OPT "-" QLADDIN_LIB_VERSION ".lib"
77 #pragma comment(lib, QLADDIN_LIB_NAME)
78 #ifdef BOOST_LIB_DIAGNOSTIC
79 # pragma message("Will (need to) link to lib file: " QLADDIN_LIB_NAME)