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