| QxOrm 1.2.8 C++ Object Relational Mapping library

- Main Page
- Modules
- Namespaces
- Classes
- Files
- Directories

- File List
- File Members

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         0x010208
    00047 #define QX_VERSION_STR     "1.2.8"
    00048
    00049 #ifndef _QX_MODE_DEBUG
    00050 #ifndef _QX_MODE_RELEASE
    00051 #ifdef QT_NO_DEBUG
    00052 #define _QX_MODE_RELEASE
    00053 #else // QT_NO_DEBUG
    00054 #define _QX_MODE_DEBUG
    00055 #endif // QT_NO_DEBUG
    00056 #endif // _QX_MODE_RELEASE
    00057 #endif // _QX_MODE_DEBUG
    00058
    00059 #ifndef _QX_SERIALIZE_BINARY_ENABLED
    00060 #ifndef _QX_SERIALIZE_XML_ENABLED
    00061 #ifndef _QX_SERIALIZE_POLYMORPHIC_ENABLED
    00062 #ifndef _QX_SERIALIZE_TEXT_ENABLED
    00063 #ifndef _QX_SERIALIZE_PORTABLE_BINARY_ENABLED
    00064 #ifndef _QX_SERIALIZE_WIDE_BINARY_ENABLED
    00065 #ifndef _QX_SERIALIZE_WIDE_TEXT_ENABLED
    00066 #ifndef _QX_SERIALIZE_WIDE_XML_ENABLED
    00067 #define _QX_SERIALIZE_BINARY_ENABLED
    00068 #define _QX_SERIALIZE_XML_ENABLED
    00069 #endif // _QX_SERIALIZE_WIDE_XML_ENABLED
    00070 #endif // _QX_SERIALIZE_WIDE_TEXT_ENABLED
    00071 #endif // _QX_SERIALIZE_WIDE_BINARY_ENABLED
    00072 #endif // _QX_SERIALIZE_PORTABLE_BINARY_ENABLED
    00073 #endif // _QX_SERIALIZE_TEXT_ENABLED
    00074 #endif // _QX_SERIALIZE_POLYMORPHIC_ENABLED
    00075 #endif // _QX_SERIALIZE_XML_ENABLED
    00076 #endif // _QX_SERIALIZE_BINARY_ENABLED
    00077
    00078 #ifdef _QX_SERIALIZE_POLYMORPHIC_ENABLED
    00079 #define _QX_SERIALIZE_POLYMORPHIC            1
    00080 #else // _QX_SERIALIZE_POLYMORPHIC_ENABLED
    00081 #define _QX_SERIALIZE_POLYMORPHIC            0
    00082 #endif // _QX_SERIALIZE_POLYMORPHIC_ENABLED
    00083
    00084 #ifdef _QX_SERIALIZE_BINARY_ENABLED
    00085 #define _QX_SERIALIZE_BINARY                 (! _QX_SERIALIZE_POLYMORPHIC && 1)
    00086 #else // _QX_SERIALIZE_BINARY_ENABLED
    00087 #define _QX_SERIALIZE_BINARY                 (! _QX_SERIALIZE_POLYMORPHIC && 0)
    00088 #endif // _QX_SERIALIZE_BINARY_ENABLED
    00089
    00090 #ifdef _QX_SERIALIZE_TEXT_ENABLED
    00091 #define _QX_SERIALIZE_TEXT                   (! _QX_SERIALIZE_POLYMORPHIC && 1)
    00092 #else // _QX_SERIALIZE_TEXT_ENABLED
    00093 #define _QX_SERIALIZE_TEXT                   (! _QX_SERIALIZE_POLYMORPHIC && 0)
    00094 #endif // _QX_SERIALIZE_TEXT_ENABLED
    00095
    00096 #ifdef _QX_SERIALIZE_XML_ENABLED
    00097 #define _QX_SERIALIZE_XML                    (! _QX_SERIALIZE_POLYMORPHIC && 1)
    00098 #else // _QX_SERIALIZE_XML_ENABLED
    00099 #define _QX_SERIALIZE_XML                    (! _QX_SERIALIZE_POLYMORPHIC && 0)
    00100 #endif // _QX_SERIALIZE_XML_ENABLED
    00101
    00102 #ifdef _QX_SERIALIZE_PORTABLE_BINARY_ENABLED
    00103 #define _QX_SERIALIZE_PORTABLE_BINARY        (! _QX_SERIALIZE_POLYMORPHIC && 1)
    00104 #else // _QX_SERIALIZE_PORTABLE_BINARY_ENABLED
    00105 #define _QX_SERIALIZE_PORTABLE_BINARY        (! _QX_SERIALIZE_POLYMORPHIC && 0)
    00106 #endif // _QX_SERIALIZE_PORTABLE_BINARY_ENABLED
    00107
    00108 #ifdef _QX_SERIALIZE_WIDE_BINARY_ENABLED
    00109 #define _QX_SERIALIZE_WIDE_BINARY            (! _QX_SERIALIZE_POLYMORPHIC && 1)
    00110 #else // _QX_SERIALIZE_WIDE_BINARY_ENABLED
    00111 #define _QX_SERIALIZE_WIDE_BINARY            (! _QX_SERIALIZE_POLYMORPHIC && 0)
    00112 #endif // _QX_SERIALIZE_WIDE_BINARY_ENABLED
    00113
    00114 #ifdef _QX_SERIALIZE_WIDE_TEXT_ENABLED
    00115 #define _QX_SERIALIZE_WIDE_TEXT              (! _QX_SERIALIZE_POLYMORPHIC && 1)
    00116 #else // _QX_SERIALIZE_WIDE_TEXT_ENABLED
    00117 #define _QX_SERIALIZE_WIDE_TEXT              (! _QX_SERIALIZE_POLYMORPHIC && 0)
    00118 #endif // _QX_SERIALIZE_WIDE_TEXT_ENABLED
    00119
    00120 #ifdef _QX_SERIALIZE_WIDE_XML_ENABLED
    00121 #define _QX_SERIALIZE_WIDE_XML               (! _QX_SERIALIZE_POLYMORPHIC && 1)
    00122 #else // _QX_SERIALIZE_WIDE_XML_ENABLED
    00123 #define _QX_SERIALIZE_WIDE_XML               (! _QX_SERIALIZE_POLYMORPHIC && 0)
    00124 #endif // _QX_SERIALIZE_WIDE_XML_ENABLED
    00125
    00126 #define _QX_AUTO_REGISTER_REPOSITORY                                    0
    00127 #define _QX_USE_MEM_LEAK_DETECTION                                      0
    00128 #define _QX_USE_EXPORT_DLL_BOOST_SERIALIZATION_SINGLETON                1
    00129 #define _QX_USE_BOOST_SERIALIZE_REGISTER_HELPER                         0
    00130 #define _QX_USE_MODIFY_BOOST_SERIALIZATION_EXPORT_HPP                   0
    00131 #define _QX_USE_TRACE_CONSTRUCTOR_DESTRUCTOR                            0
    00132 #define _QX_WRITE_BOOST_CLASS_EXPORT_IN_HPP_FILE                        0
    00133 #define _QX_WRITE_BOOST_CLASS_EXPORT_IN_CPP_FILE                        1
    00134 #define _QX_INCLUDE_BOOST_SERIALIZE_EXPORT_HPP_INTO_QX_MEM_LEAK_HPP     1
    00135 #define _QX_INCLUDE_BOOST_SERIALIZE_ARCHIVE_IMPL_IPP                    0
    00136 #define _QX_MEM_LEAK_ONLY_KNOWN_SRC_FILE                                1
    00137 #define _QX_SUPPORT_BOOST_SERIALIZE_SHARED_PTR_132                      0
    00138 #define _QX_USE_QX_STRING_CVT_EXPORT                                    0
    00139 #define _QX_USE_GCC_EXPORT_ALL_SYMBOLS                                  1
    00140 #define _QX_USE_GCC_VISIBILITY                                          0
    00141 #define _QX_USE_ASSERT                                                  1
    00142 #define _QX_ENABLE_QT_NETWORK_DEPENDENCY                                1
    00143 #define _QX_SUPPORT_COVARIANT_RETURN_TYPE                               1
    00144 #define _QX_USE_QX_SINGLETON_X                                          1
    00145
    00146 #ifdef _QX_QT_GUI_DEPENDENCY
    00147 #define _QX_ENABLE_QT_GUI_DEPENDENCY      1
    00148 #else // _QX_QT_GUI_DEPENDENCY
    00149 #define _QX_ENABLE_QT_GUI_DEPENDENCY      0
    00150 #endif // _QX_QT_GUI_DEPENDENCY
    00151
    00152 #ifdef _MSC_VER
    00153 /* -- Link error with VC++ 9.0 => Qt uses "-Zc:wchar_t-" option to compile and boost serialization library is compiled without this option -- */
    00154 #define _QX_USE_SERIALIZE_POLYMORPHIC_PATCH  (_QX_SERIALIZE_POLYMORPHIC && 1)
    00155 #else // _MSC_VER
    00156 #define _QX_USE_SERIALIZE_POLYMORPHIC_PATCH  0
    00157 #endif // _MSC_VER
    00158
    00159 #endif // _QX_CONFIG_H_