QxOrm  1.4.4
C++ Object Relational Mapping library
QxPrecompiled.h
Go to the documentation of this file.
00001 /****************************************************************************
00002 **
00003 ** http://www.qxorm.com/
00004 ** Copyright (C) 2013 Lionel Marty (contact@qxorm.com)
00005 **
00006 ** This file is part of the QxOrm library
00007 **
00008 ** This software is provided 'as-is', without any express or implied
00009 ** warranty. In no event will the authors be held liable for any
00010 ** damages arising from the use of this software
00011 **
00012 ** Commercial Usage
00013 ** Licensees holding valid commercial QxOrm licenses may use this file in
00014 ** accordance with the commercial license agreement provided with the
00015 ** Software or, alternatively, in accordance with the terms contained in
00016 ** a written agreement between you and Lionel Marty
00017 **
00018 ** GNU General Public License Usage
00019 ** Alternatively, this file may be used under the terms of the GNU
00020 ** General Public License version 3.0 as published by the Free Software
00021 ** Foundation and appearing in the file 'license.gpl3.txt' included in the
00022 ** packaging of this file. Please review the following information to
00023 ** ensure the GNU General Public License version 3.0 requirements will be
00024 ** met : http://www.gnu.org/copyleft/gpl.html
00025 **
00026 ** If you are unsure which license is appropriate for your use, or
00027 ** if you have questions regarding the use of this file, please contact :
00028 ** contact@qxorm.com
00029 **
00030 ****************************************************************************/
00031 
00032 #ifndef _QX_ORM_PRECOMPILED_HEADER_H_
00033 #define _QX_ORM_PRECOMPILED_HEADER_H_
00034 
00035 #ifdef _MSC_VER
00036 #pragma once
00037 #endif
00038 
00039 #ifdef _MSC_VER
00040 #if (_MSC_VER < 1800) // MSVC 2012 and below
00041 #ifndef _VARIADIC_MAX
00042 #define _VARIADIC_MAX 10 // to manage correctly std::tuple
00043 #endif // _VARIADIC_MAX
00044 #endif // (_MSC_VER < 1800)
00045 #endif // _MSC_VER
00046 
00047 #ifdef _MSC_VER
00048 #pragma warning(disable:4503) /* -- Disable 4503 warning because of boost template -- */
00049 #pragma warning(disable:4100) /* -- Disable warning 'unreferenced formal parameter' -- */
00050 #pragma warning(disable:4996)
00051 #pragma warning(disable:4661)
00052 #endif // _MSC_VER
00053 
00054 #include <iostream>
00055 #include <algorithm>
00056 #include <string>
00057 #include <vector>
00058 #include <list>
00059 #include <map>
00060 #include <set>
00061 #include <functional>
00062 #include <type_traits>
00063 #include <memory>
00064 #include <unordered_map>
00065 #include <unordered_set>
00066 #include <tuple>
00067 
00068 #include <QtCore/qglobal.h>
00069 #include <QtCore/qobject.h>
00070 #include <QtCore/qdebug.h>
00071 #include <QtCore/qstring.h>
00072 #include <QtCore/qstringlist.h>
00073 #include <QtCore/qvector.h>
00074 #include <QtCore/qlist.h>
00075 #include <QtCore/qmap.h>
00076 #include <QtCore/qset.h>
00077 #include <QtCore/qhash.h>
00078 #include <QtCore/qthread.h>
00079 #include <QtCore/qmutex.h>
00080 #include <QtCore/qdir.h>
00081 #include <QtCore/qfile.h>
00082 #include <QtCore/qdatetime.h>
00083 #include <QtCore/qvariant.h>
00084 #include <QtCore/qpair.h>
00085 
00086 #ifdef _MSC_VER
00087 #pragma warning(push)
00088 #pragma warning(disable:4396)
00089 #endif // _MSC_VER
00090 
00091 #ifndef _QX_ENABLE_BOOST
00092 #ifdef _QX_ENABLE_BOOST_SERIALIZATION
00093 #define _QX_ENABLE_BOOST
00094 #endif // _QX_ENABLE_BOOST_SERIALIZATION
00095 #endif // _QX_ENABLE_BOOST
00096 
00097 #ifdef _QX_ENABLE_BOOST
00098 #define BOOST_ALL_NO_LIB /* -- Disable auto-link feature provided by boost -- */
00099 #include <boost/config.hpp>
00100 #include <boost/version.hpp>
00101 #include <boost/scoped_ptr.hpp>
00102 #include <boost/shared_ptr.hpp>
00103 #include <boost/weak_ptr.hpp>
00104 #include <boost/intrusive_ptr.hpp>
00105 #include <boost/unordered_map.hpp>
00106 #include <boost/unordered_set.hpp>
00107 #include <boost/tuple/tuple.hpp>
00108 #include <boost/tuple/tuple_comparison.hpp>
00109 #include <boost/tuple/tuple_io.hpp>
00110 #include <boost/optional.hpp>
00111 #include <boost/none.hpp>
00112 #include <boost/serialization/force_include.hpp>
00113 #endif // _QX_ENABLE_BOOST
00114 
00115 #ifdef BOOST_DLLEXPORT
00116 #undef BOOST_DLLEXPORT
00117 #define BOOST_DLLEXPORT /* Nothing */
00118 #endif // BOOST_DLLEXPORT
00119 
00120 #ifdef _QX_ENABLE_BOOST_SERIALIZATION
00121 #ifdef _MSC_VER
00122 #include <boost/serialization/serialization.hpp> /* -- To avoid warning 4100 => header in precompiled header -- */
00123 #include <boost/archive/detail/iserializer.hpp>
00124 #include <boost/archive/detail/oserializer.hpp>
00125 #endif // _MSC_VER
00126 #endif // _QX_ENABLE_BOOST_SERIALIZATION
00127 
00128 #ifdef _MSC_VER
00129 #pragma warning(pop)
00130 #endif // _MSC_VER
00131 
00132 #include <QxCommon/QxConfig.h>
00133 #include <QxCommon/QxMacro.h>
00134 
00135 #endif // _QX_ORM_PRECOMPILED_HEADER_H_