3#ifndef orea_autolink_hpp
4#define orea_autolink_hpp
6#include <boost/config.hpp>
9#define OPEN_SOURCE_RISKANALYTICS_LIB_PLATFORM "-x64"
11#define OPEN_SOURCE_RISKANALYTICS_LIB_PLATFORM
18#define OPEN_SOURCE_RISKANALYTICS_LIB_THREAD_OPT "-mt"
20#define OPEN_SOURCE_RISKANALYTICS_LIB_THREAD_OPT
26#define OPEN_SOURCE_RISKANALYTICS_LIB_RT_OPT "-gd"
28#define OPEN_SOURCE_RISKANALYTICS_LIB_RT_OPT
32#define OPEN_SOURCE_RISKANALYTICS_LIB_RT_OPT "-sgd"
34#define OPEN_SOURCE_RISKANALYTICS_LIB_RT_OPT "-s"
38#define OPEN_SOURCE_RISKANALYTICS_LIB_NAME \
39 "OREAnalytics" OPEN_SOURCE_RISKANALYTICS_LIB_PLATFORM \
40 OPEN_SOURCE_RISKANALYTICS_LIB_THREAD_OPT OPEN_SOURCE_RISKANALYTICS_LIB_RT_OPT ".lib"
42#pragma comment(lib, OPEN_SOURCE_RISKANALYTICS_LIB_NAME)
43#ifdef BOOST_LIB_DIAGNOSTIC
44#pragma message("Will (need to) link to lib file: " OPEN_SOURCE_RISKANALYTICS_LIB_NAME)