config.h
Go to the documentation of this file.00001 #ifndef CPPUT_CONFIG_H_INCLUDED
00002 # define CPPUT_CONFIG_H_INCLUDED
00003
00004 # include <cpptl/config.h>
00005
00006 # define CPPUT_BOOST_FRIENDLY
00007
00008
00009
00010
00011
00012
00013 # define CPPUT_USE_RTTI_TO_NAME_SUITE 1
00014
00015
00017
00018 # if _MSC_VER <= 1200 // VC++ 6 or before
00019 # pragma warning( disable : 4786 ) // ident trunc to '255' chars in debug info
00020 # define CPPUT_STD_VECTOR_ITERATOR_IS_POINTER 1
00021 # define CPPUT_HAS_FUNCTION_TEMPLATE_ORDERING 0
00022 # define CPPUT_HAS_TEMPLATE_PARTIAL_SPECIALIZATION 0
00023 # endif
00024
00025 # if _MSC_VER <= 1300 // VC++ 7.0 or before
00026
00027
00028 # define CPPUT_NO_DEDUCED_TYPENAME
00029 # endif
00030
00031 # if _MSC_VER >= 1310 // VC++ 7.1
00032 # define CPPUT_HAS_FUNCTION_TEMPLATE_ORDERING 1
00033 # define CPPUT_HAS_TEMPLATE_PARTIAL_SPECIALIZATION 1
00034 # pragma warning( disable : 4800 ) // forcing value to bool performance warning
00035 # pragma warning( disable : 4018 ) // '<' signed/unsigned mismatch
00036 # endif
00037
00038
00040
00041
00042 # ifdef CPPUT_NO_DEDUCED_TYPENAME
00043 # define CPPUT_DEDUCED_TYPENAME
00044 # else
00045 # define CPPUT_DEDUCED_TYPENAME typename
00046 # endif
00047
00048 # ifdef CPPUT_NO_FUNCTION_TEMPLATE_ORDERING
00049 # define CPPUT_HAS_FUNCTION_TEMPLATE_ORDERING 0
00050 # endif
00051
00052 # ifdef CPPUT_NO_TEMPLATE_PARTIAL_SPECIALIZATION
00053 # define CPPUT_HAS_TEMPLATE_PARTIAL_SPECIALIZATION 0
00054 # endif
00055
00056 # ifdef CPPUT_USE_BOOST_SHARED_PTR
00057 # undef CPPUT_BOOST_FRIENDLY
00058 # define CPPUT_BOOST_FRIENDLY 1
00059 # endif
00060
00061 # if !defined(CPPUT_NO_DLL_SUPPORT)
00062 # define CPPUT_DLL_SUPPORT 1
00063 # endif
00064
00065
00067
00068
00069
00070 # ifdef CPPUT_DLL_BUILD
00071 # define CPPUT_API __declspec(dllexport)
00072 # endif
00073
00074
00075 # if defined( CPPUT_DLL )
00076 # define CPPUT_API __declspec(dllimport)
00077 # endif
00078
00079
00080 #if !defined( CPPUT_API )
00081 # define CPPUT_API
00082 #endif
00083
00084
00085 # if !defined(CPPUT_NO_AUTO_LINK)
00086 # define CPPUT_LIB_NAME "cpput"
00087
00088 # endif
00089
00090 #endif // CPPUT_CONFIG_H_INCLUDED