epoc32/include/stdapis/stlport/config/stl_select_lib.h
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
     1.1 --- a/epoc32/include/stdapis/stlport/config/stl_select_lib.h	Tue Nov 24 13:55:44 2009 +0000
     1.2 +++ b/epoc32/include/stdapis/stlport/config/stl_select_lib.h	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -1,1 +1,36 @@
     1.4 -stl_select_lib.h
     1.5 +# if !defined (_STLP_NO_OWN_IOSTREAMS)
     1.6 +
     1.7 +#  if ! defined (_STLP_LIB_STATIC_SUFFIX)
     1.8 +#   define _STLP_LIB_STATIC_SUFFIX ""
     1.9 +#  endif
    1.10 +
    1.11 +// Note : the code below is intended to make use of compiled
    1.12 +// STLport iostreams easier. If you are with to change names used for
    1.13 +// STLport libraries , please also change RELEASE_NAME and DEBUG_NAME
    1.14 +// macros in makefile ../../src/vc6.mak (or whatever .mak you are using to build
    1.15 +// STLport). If you are using binaries, you may just rename the binaries.
    1.16 +#    if ! defined (__BUILDING_STLPORT) && ! defined (_STLP_DONT_FORCE_MSVC_LIB_NAME)
    1.17 +#     if defined (_STLP_USE_DECLSPEC)
    1.18 +#      ifdef _STLP_DEBUG
    1.19 +#       pragma comment(lib, _STLP_LIB_BASENAME"_stldebug.lib")
    1.20 +#      elif (defined (_DEBUG) || defined (__DEBUG)) && defined (_STLP_USE_DEBUG_LIB)
    1.21 +#       pragma comment(lib, _STLP_LIB_BASENAME"_debug.lib")
    1.22 +#      else
    1.23 +#       pragma comment(lib, _STLP_LIB_BASENAME".lib")
    1.24 +#      endif
    1.25 +#     else /* _STLP_USE_DECLSPEC */
    1.26 +// fbp : for static linking, debug setting _MUST_ correspond to what
    1.27 +// has been compiled into binary lib
    1.28 +#      ifdef _STLP_DEBUG
    1.29 +#       if (! defined (_DEBUG))
    1.30 +#        error "For static link with STLport library, _DEBUG setting MUST be on when _STLP_DEBUG is on. (/MTd forces _DEBUG)"
    1.31 +#       endif
    1.32 +#       pragma comment(lib, _STLP_LIB_BASENAME"_stldebug"_STLP_LIB_STATIC_SUFFIX".lib")
    1.33 +#      elif (defined (_DEBUG) || defined (__DEBUG)) && defined (_STLP_USE_DEBUG_LIB)
    1.34 +#       pragma comment(lib, _STLP_LIB_BASENAME"_debug"_STLP_LIB_STATIC_SUFFIX".lib")
    1.35 +#      else
    1.36 +#       pragma comment(lib, _STLP_LIB_BASENAME""_STLP_LIB_STATIC_SUFFIX".lib")
    1.37 +#      endif
    1.38 +#     endif /* _STLP_USE_DECLSPEC */
    1.39 +#    endif /* __BUILDING_STLPORT */
    1.40 +#   endif /* _STLP_OWN_IOSTREAMS */