QxOrm  1.2.6
C++ Object Relational Mapping library
QxConfig.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_CONFIG_H_
00033 #define _QX_CONFIG_H_
00034 
00035 #ifdef _MSC_VER
00036 #pragma once
00037 #endif
00038 
00046 #define QX_VERSION         0x010206
00047 #define QX_VERSION_STR     "1.2.6"
00048 
00049 #ifdef _QX_SERIALIZE_POLYMORPHIC_ENABLED
00050 #define _QX_SERIALIZE_POLYMORPHIC            1
00051 #else // _QX_SERIALIZE_POLYMORPHIC_ENABLED
00052 #define _QX_SERIALIZE_POLYMORPHIC            0
00053 #endif // _QX_SERIALIZE_POLYMORPHIC_ENABLED
00054 
00055 #ifdef _QX_SERIALIZE_BINARY_ENABLED
00056 #define _QX_SERIALIZE_BINARY                 (! _QX_SERIALIZE_POLYMORPHIC && 1)
00057 #else // _QX_SERIALIZE_BINARY_ENABLED
00058 #define _QX_SERIALIZE_BINARY                 (! _QX_SERIALIZE_POLYMORPHIC && 0)
00059 #endif // _QX_SERIALIZE_BINARY_ENABLED
00060 
00061 #ifdef _QX_SERIALIZE_TEXT_ENABLED
00062 #define _QX_SERIALIZE_TEXT                   (! _QX_SERIALIZE_POLYMORPHIC && 1)
00063 #else // _QX_SERIALIZE_TEXT_ENABLED
00064 #define _QX_SERIALIZE_TEXT                   (! _QX_SERIALIZE_POLYMORPHIC && 0)
00065 #endif // _QX_SERIALIZE_TEXT_ENABLED
00066 
00067 #ifdef _QX_SERIALIZE_XML_ENABLED
00068 #define _QX_SERIALIZE_XML                    (! _QX_SERIALIZE_POLYMORPHIC && 1)
00069 #else // _QX_SERIALIZE_XML_ENABLED
00070 #define _QX_SERIALIZE_XML                    (! _QX_SERIALIZE_POLYMORPHIC && 0)
00071 #endif // _QX_SERIALIZE_XML_ENABLED
00072 
00073 #ifdef _QX_SERIALIZE_PORTABLE_BINARY_ENABLED
00074 #define _QX_SERIALIZE_PORTABLE_BINARY        (! _QX_SERIALIZE_POLYMORPHIC && 1)
00075 #else // _QX_SERIALIZE_PORTABLE_BINARY_ENABLED
00076 #define _QX_SERIALIZE_PORTABLE_BINARY        (! _QX_SERIALIZE_POLYMORPHIC && 0)
00077 #endif // _QX_SERIALIZE_PORTABLE_BINARY_ENABLED
00078 
00079 #ifdef _QX_SERIALIZE_WIDE_BINARY_ENABLED
00080 #define _QX_SERIALIZE_WIDE_BINARY            (! _QX_SERIALIZE_POLYMORPHIC && 1)
00081 #else // _QX_SERIALIZE_WIDE_BINARY_ENABLED
00082 #define _QX_SERIALIZE_WIDE_BINARY            (! _QX_SERIALIZE_POLYMORPHIC && 0)
00083 #endif // _QX_SERIALIZE_WIDE_BINARY_ENABLED
00084 
00085 #ifdef _QX_SERIALIZE_WIDE_TEXT_ENABLED
00086 #define _QX_SERIALIZE_WIDE_TEXT              (! _QX_SERIALIZE_POLYMORPHIC && 1)
00087 #else // _QX_SERIALIZE_WIDE_TEXT_ENABLED
00088 #define _QX_SERIALIZE_WIDE_TEXT              (! _QX_SERIALIZE_POLYMORPHIC && 0)
00089 #endif // _QX_SERIALIZE_WIDE_TEXT_ENABLED
00090 
00091 #ifdef _QX_SERIALIZE_WIDE_XML_ENABLED
00092 #define _QX_SERIALIZE_WIDE_XML               (! _QX_SERIALIZE_POLYMORPHIC && 1)
00093 #else // _QX_SERIALIZE_WIDE_XML_ENABLED
00094 #define _QX_SERIALIZE_WIDE_XML               (! _QX_SERIALIZE_POLYMORPHIC && 0)
00095 #endif // _QX_SERIALIZE_WIDE_XML_ENABLED
00096 
00097 #define _QX_AUTO_REGISTER_REPOSITORY                                    0
00098 #define _QX_USE_MEM_LEAK_DETECTION                                      0
00099 #define _QX_USE_EXPORT_DLL_BOOST_SERIALIZATION_SINGLETON                1
00100 #define _QX_USE_BOOST_SERIALIZE_REGISTER_HELPER                         0
00101 #define _QX_USE_MODIFY_BOOST_SERIALIZATION_EXPORT_HPP                   0
00102 #define _QX_USE_TRACE_CONSTRUCTOR_DESTRUCTOR                            0
00103 #define _QX_WRITE_BOOST_CLASS_EXPORT_IN_HPP_FILE                        0
00104 #define _QX_WRITE_BOOST_CLASS_EXPORT_IN_CPP_FILE                        1
00105 #define _QX_INCLUDE_BOOST_SERIALIZE_EXPORT_HPP_INTO_QX_MEM_LEAK_HPP     1
00106 #define _QX_INCLUDE_BOOST_SERIALIZE_ARCHIVE_IMPL_IPP                    0
00107 #define _QX_MEM_LEAK_ONLY_KNOWN_SRC_FILE                                1
00108 #define _QX_SUPPORT_BOOST_SERIALIZE_SHARED_PTR_132                      0
00109 #define _QX_USE_QX_STRING_CVT_EXPORT                                    0
00110 #define _QX_USE_GCC_EXPORT_ALL_SYMBOLS                                  1
00111 #define _QX_USE_GCC_VISIBILITY                                          0
00112 #define _QX_USE_ASSERT                                                  1
00113 #define _QX_ENABLE_QT_NETWORK_DEPENDENCY                                1
00114 #define _QX_SUPPORT_COVARIANT_RETURN_TYPE                               1
00115 #define _QX_USE_QX_SINGLETON_X                                          1
00116 
00117 #ifdef _QX_QT_GUI_DEPENDENCY
00118 #define _QX_ENABLE_QT_GUI_DEPENDENCY      1
00119 #else // _QX_QT_GUI_DEPENDENCY
00120 #define _QX_ENABLE_QT_GUI_DEPENDENCY      0
00121 #endif // _QX_QT_GUI_DEPENDENCY
00122 
00123 #ifdef _MSC_VER
00124 /* -- Link error with VC++ 9.0 => Qt uses "-Zc:wchar_t-" option to compile and boost serialization library is compiled without this option -- */
00125 #define _QX_USE_SERIALIZE_POLYMORPHIC_PATCH  (_QX_SERIALIZE_POLYMORPHIC && 1)
00126 #else // _MSC_VER
00127 #define _QX_USE_SERIALIZE_POLYMORPHIC_PATCH  0
00128 #endif // _MSC_VER
00129 
00130 #endif // _QX_CONFIG_H_