stl_select_lib.h

00001 # if !defined (_STLP_NO_OWN_IOSTREAMS)
00002 
00003 #  if ! defined (_STLP_LIB_STATIC_SUFFIX)
00004 #   define _STLP_LIB_STATIC_SUFFIX ""
00005 #  endif
00006 
00007 // Note : the code below is intended to make use of compiled
00008 // STLport iostreams easier. If you are with to change names used for
00009 // STLport libraries , please also change RELEASE_NAME and DEBUG_NAME
00010 // macros in makefile ../../src/vc6.mak (or whatever .mak you are using to build
00011 // STLport). If you are using binaries, you may just rename the binaries.
00012 #    if ! defined (__BUILDING_STLPORT) && ! defined (_STLP_DONT_FORCE_MSVC_LIB_NAME)
00013 #     if defined (_STLP_USE_DECLSPEC)
00014 #      ifdef _STLP_DEBUG
00015 #       pragma comment(lib, _STLP_LIB_BASENAME"_stldebug.lib")
00016 #      elif (defined (_DEBUG) || defined (__DEBUG)) && defined (_STLP_USE_DEBUG_LIB)
00017 #       pragma comment(lib, _STLP_LIB_BASENAME"_debug.lib")
00018 #      else
00019 #       pragma comment(lib, _STLP_LIB_BASENAME".lib")
00020 #      endif
00021 #     else /* _STLP_USE_DECLSPEC */
00022 // fbp : for static linking, debug setting _MUST_ correspond to what
00023 // has been compiled into binary lib
00024 #      ifdef _STLP_DEBUG
00025 #       if (! defined (_DEBUG))
00026 #        error "For static link with STLport library, _DEBUG setting MUST be on when _STLP_DEBUG is on. (/MTd forces _DEBUG)"
00027 #       endif
00028 #       pragma comment(lib, _STLP_LIB_BASENAME"_stldebug"_STLP_LIB_STATIC_SUFFIX".lib")
00029 #      elif (defined (_DEBUG) || defined (__DEBUG)) && defined (_STLP_USE_DEBUG_LIB)
00030 #       pragma comment(lib, _STLP_LIB_BASENAME"_debug"_STLP_LIB_STATIC_SUFFIX".lib")
00031 #      else
00032 #       pragma comment(lib, _STLP_LIB_BASENAME""_STLP_LIB_STATIC_SUFFIX".lib")
00033 #      endif
00034 #     endif /* _STLP_USE_DECLSPEC */
00035 #    endif /* __BUILDING_STLPORT */
00036 #   endif /* _STLP_OWN_IOSTREAMS */

Generated on Mon Jun 5 10:20:45 2006 for Intelligence.kdevelop by  doxygen 1.4.6