qladdindefines.hpp
Go to the documentation of this file.
1 /* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 
3 /*
4  Copyright (C) 2006, 2007 Eric Ehlers
5  Copyright (C) 2004 Ferdinando Ametrano
6 
7  This file is part of QuantLib, a free-software/open-source library
8  for financial quantitative analysts and developers - http://quantlib.org/
9 
10  QuantLib is free software: you can redistribute it and/or modify it
11  under the terms of the QuantLib license. You should have received a
12  copy of the license along with this program; if not, please email
13  <quantlib-dev@lists.sf.net>. The license is also available online at
14  <http://quantlib.org/license.shtml>.
15 
16  This program is distributed in the hope that it will be useful, but WITHOUT
17  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
18  FOR A PARTICULAR PURPOSE. See the license for more details.
19 */
20 
21 #ifndef qladdindefines_h
22 #define qladdindefines_h
23 
24 #include <boost/config.hpp>
25 #include <boost/version.hpp>
26 #if BOOST_VERSION < 103100
27  #error using an old version of Boost, please update.
28 #endif
29 
30 #include <oh/ohdefines.hpp>
31 #if OBJHANDLER_HEX_VERSION < 0x012200f0
32  #error using an old version of ObjectHandler, please update.
33 #endif
34 
35 #include <ql/version.hpp>
36 #if QL_HEX_VERSION < 0x012200f0
37  #error using an old version of QuantLib, please update.
38 #endif
39 
41 #ifdef _DEBUG
42  #define QLADDIN_VERSION "1.22.0-debug"
43 #else
44  #define QLADDIN_VERSION "1.22.0"
45 #endif
46 
48 #define QLADDIN_HEX_VERSION 0x012200f0
49 #define QLADDIN_LIB_VERSION "1_22_0"
51 
52 #if defined BOOST_MSVC
53 #pragma warning(disable : 4996) // Using a deprecated function
54 #endif
55 
56 #endif
57