config.hpp

Go to the documentation of this file.
00001 /*****************************************************************************
00002     
00003     config.hpp -- Переключатели управляющие особенностями сборки библиотеки
00004     и её работы.
00005 
00006     Этот файл является частью библиотеки Arageli.
00007 
00008     Copyright (C) Nikolai Yu. Zolotykh, 1999--2006
00009     Copyright (C) Sergey S. Lyalin, 2005--2006
00010     University of Nizhni Novgorod, Russia
00011 
00012 *****************************************************************************/
00013 
00014 
00015 #ifndef _ARAGELI_config_hpp_
00016 #define _ARAGELI_config_hpp_
00017 
00023 
00024 #define ARAGELI_VERSION "2.2.1"
00025 
00026 
00028 
00032 #define ARAGELI_INCLUDE_CPP_WITH_EXPORT_TEMPLATE
00033 
00034 
00035 // #define ARAGELI_PLATFORM_OPTIMIZATION_1
00036 
00037 // #define ARAGELI_PLATFORM_OPTIMIZATION_2
00038 
00039 
00041 
00045 #ifndef ARAGELI_DEBUG_LEVEL
00046     #define ARAGELI_DEBUG_LEVEL     3
00047 #endif
00048 
00049 
00051 #define ARAGELI_ASSERT_THROW_EXCEPTION
00052 
00053 
00055 #define ARAGELI_IS_PRIME_SMALL_PRIMES_DIVISION_NUMBER 20
00056 
00057 
00058 #if defined(_MSC_VER) && defined(_WIN32)
00059     #define ARAGELI_INT64_SUPPORT
00060 #endif
00061 
00062 
00063 // Please check whether it is correct or not. And only after that uncomment.
00064 //#ifdef __linux
00065 //  #define ARAGELI_LONG_LONG_SUPPORT
00066 //#endif
00067 
00068 
00070 //#define ARAGELI_INT64_SUPPORT_ENABLE
00071 
00073 //#define ARAGELI_LONG_LONG_SUPPORT_ENABLE
00074 
00076 //#define ARAGELI_INT64_SUPPORT_DISABLE
00077 
00079 //#define ARAGELI_LONG_LONG_SUPPORT_DISABLE
00080 
00081 #if defined(ARAGELI_INT64_SUPPORT_ENABLE) && defined(ARAGELI_INT64_SUPPORT_DISABLE)
00082     #error Both macros ARAGELI_INT64_SUPPORT_DISABLE and \
00083         ARAGELI_INT64_SUPPORT_ENABLE are defined.
00084 #endif
00085 
00086 
00087 #if defined(ARAGELI_LONG_LONG_SUPPORT_ENABLE) && defined(ARAGELI_LONG_LONG_SUPPORT_DISABLE)
00088     #error Both macros ARAGELI_LONG_LONG_SUPPORT_DISABLE and \
00089         ARAGELI_LONG_LONG_SUPPORT_ENABLE are defined.
00090 #endif
00091 
00092 
00093 #ifdef ARAGELI_INT64_SUPPORT_ENABLE
00094     #define ARAGELI_INT64_SUPPORT
00095 #elif defined(ARAGELI_INT64_SUPPORT_DISABLE) && defined(ARAGELI_INT64_SUPPORT)
00096     #undef ARAGELI_INT64_SUPPORT
00097 #endif
00098 
00099 
00100 #ifdef ARAGELI_LONG_LONG_SUPPORT_ENABLE
00101     #define ARAGELI_LONG_LONG_SUPPORT
00102 #elif defined(ARAGELI_LONG_LONG_SUPPORT_DISABLE) && defined(ARAGELI_LONG_LONG_SUPPORT)
00103     #undef ARAGELI_LONG_LONG_SUPPORT
00104 #endif
00105 
00106 
00107 #define ARAGELI_DISABLE_PARTICULAR_COMPILER_WARNINGS
00108 
00109 
00110 #define ARAGELI_USE_AUTOLINK
00111 
00112 #ifdef ARAGELI_USE_AUTOLINK_ENABLE
00113     #define ARAGELI_USE_AUTOLINK
00114 #elif defined(ARAGELI_USE_AUTOLINK_DISABLE) && defined(ARAGELI_USE_AUTOLINK)
00115     #undef ARAGELI_USE_AUTOLINK
00116 #endif
00117 
00118 
00119 #ifdef ARAGELI_USE_AUTOLINK
00120     #define ARAGELI_LIB_NAME arageli
00121     #include "auto_link.hpp"
00122 #endif
00123 
00124 
00125 #endif  //  #ifndef _ARAGELI_config_hpp_

Generated on Thu Aug 31 17:38:05 2006 for Arageli by  doxygen 1.4.7