QxOrm 1.1.9
C++ Object Relational Mapping library
QxConfig.h
Go to the documentation of this file.
00001 /****************************************************************************
00002 **
00003 ** http://www.qxorm.com/
00004 ** http://sourceforge.net/projects/qxorm/
00005 ** Original file by Lionel Marty
00006 **
00007 ** This file is part of the QxOrm library
00008 **
00009 ** This software is provided 'as-is', without any express or implied
00010 ** warranty. In no event will the authors be held liable for any
00011 ** damages arising from the use of this software.
00012 **
00013 ** GNU Lesser General Public License Usage
00014 ** This file must be used under the terms of the GNU Lesser
00015 ** General Public License version 2.1 as published by the Free Software
00016 ** Foundation and appearing in the file 'license.lgpl.txt' included in the
00017 ** packaging of this file.  Please review the following information to
00018 ** ensure the GNU Lesser General Public License version 2.1 requirements
00019 ** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
00020 **
00021 ** If you have questions regarding the use of this file, please contact :
00022 ** contact@qxorm.com
00023 **
00024 ****************************************************************************/
00025 
00026 #ifndef _QX_CONFIG_H_
00027 #define _QX_CONFIG_H_
00028 
00029 #ifdef _MSC_VER
00030 #pragma once
00031 #endif
00032 
00040 #define QX_VERSION   0x010109 // QxOrm version 1.1.9
00041 
00042 #define _QX_SERIALIZE_POLYMORPHIC            0
00043 
00044 #define _QX_SERIALIZE_BINARY                 (! _QX_SERIALIZE_POLYMORPHIC && 1)
00045 #define _QX_SERIALIZE_TEXT                   (! _QX_SERIALIZE_POLYMORPHIC && 0)
00046 #define _QX_SERIALIZE_XML                    (! _QX_SERIALIZE_POLYMORPHIC && 1)
00047 #define _QX_SERIALIZE_PORTABLE_BINARY        (! _QX_SERIALIZE_POLYMORPHIC && 0)
00048 
00049 /* -- Link error with VC++ 9.0 => Qt uses "-Zc:wchar_t-" option to compile and boost serialization library is compiled without this option -- */
00050 #define _QX_SERIALIZE_WIDE_BINARY            (! _QX_SERIALIZE_POLYMORPHIC && 0)
00051 #define _QX_SERIALIZE_WIDE_TEXT              (! _QX_SERIALIZE_POLYMORPHIC && 0)
00052 #define _QX_SERIALIZE_WIDE_XML               (! _QX_SERIALIZE_POLYMORPHIC && 0)
00053 
00054 #define _QX_USE_MEM_LEAK_DETECTION                                      0
00055 #define _QX_USE_EXPORT_DLL_BOOST_SERIALIZATION_SINGLETON                1
00056 #define _QX_USE_BOOST_SERIALIZE_REGISTER_HELPER                         0
00057 #define _QX_USE_MODIFY_BOOST_SERIALIZATION_EXPORT_HPP                   0
00058 #define _QX_USE_TRACE_CONSTRUCTOR_DESTRUCTOR                            0
00059 #define _QX_WRITE_BOOST_CLASS_EXPORT_IN_HPP_FILE                        0
00060 #define _QX_WRITE_BOOST_CLASS_EXPORT_IN_CPP_FILE                        1
00061 #define _QX_INCLUDE_BOOST_SERIALIZE_EXPORT_HPP_INTO_QX_MEM_LEAK_HPP     1
00062 #define _QX_INCLUDE_BOOST_SERIALIZE_ARCHIVE_IMPL_IPP                    0
00063 #define _QX_MEM_LEAK_ONLY_KNOWN_SRC_FILE                                1
00064 #define _QX_SUPPORT_BOOST_SERIALIZE_SHARED_PTR_132                      0
00065 #define _QX_USE_QX_STRING_CVT_EXPORT                                    0
00066 #define _QX_USE_GCC_EXPORT_ALL_SYMBOLS                                  1
00067 #define _QX_USE_GCC_VISIBILITY                                          0
00068 #define _QX_USE_ASSERT                                                  1
00069 #define _QX_ENABLE_QT_GUI_DEPENDENCY                                    1
00070 #define _QX_ENABLE_QT_NETWORK_DEPENDENCY                                1
00071 
00072 #ifdef _MSC_VER
00073 /* -- Link error with VC++ 9.0 => Qt uses "-Zc:wchar_t-" option to compile and boost serialization library is compiled without this option -- */
00074 #define _QX_USE_SERIALIZE_POLYMORPHIC_PATCH  (_QX_SERIALIZE_POLYMORPHIC && 1)
00075 #else // _MSC_VER
00076 #define _QX_USE_SERIALIZE_POLYMORPHIC_PATCH  0
00077 #endif // _MSC_VER
00078 
00079 #endif // _QX_CONFIG_H_
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines