epoc32/include/stdapis/stlport/config/stl_select_lib.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:27:01 +0100
branchSymbian2
changeset 3 e1b950c65cb4
parent 0 061f57f2323e
permissions -rw-r--r--
Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
williamr@2
     1
# if !defined (_STLP_NO_OWN_IOSTREAMS)
williamr@2
     2
williamr@2
     3
#  if ! defined (_STLP_LIB_STATIC_SUFFIX)
williamr@2
     4
#   define _STLP_LIB_STATIC_SUFFIX ""
williamr@2
     5
#  endif
williamr@2
     6
williamr@2
     7
// Note : the code below is intended to make use of compiled
williamr@2
     8
// STLport iostreams easier. If you are with to change names used for
williamr@2
     9
// STLport libraries , please also change RELEASE_NAME and DEBUG_NAME
williamr@2
    10
// macros in makefile ../../src/vc6.mak (or whatever .mak you are using to build
williamr@2
    11
// STLport). If you are using binaries, you may just rename the binaries.
williamr@2
    12
#    if ! defined (__BUILDING_STLPORT) && ! defined (_STLP_DONT_FORCE_MSVC_LIB_NAME)
williamr@2
    13
#     if defined (_STLP_USE_DECLSPEC)
williamr@2
    14
#      ifdef _STLP_DEBUG
williamr@2
    15
#       pragma comment(lib, _STLP_LIB_BASENAME"_stldebug.lib")
williamr@2
    16
#      elif (defined (_DEBUG) || defined (__DEBUG)) && defined (_STLP_USE_DEBUG_LIB)
williamr@2
    17
#       pragma comment(lib, _STLP_LIB_BASENAME"_debug.lib")
williamr@2
    18
#      else
williamr@2
    19
#       pragma comment(lib, _STLP_LIB_BASENAME".lib")
williamr@2
    20
#      endif
williamr@2
    21
#     else /* _STLP_USE_DECLSPEC */
williamr@2
    22
// fbp : for static linking, debug setting _MUST_ correspond to what
williamr@2
    23
// has been compiled into binary lib
williamr@2
    24
#      ifdef _STLP_DEBUG
williamr@2
    25
#       if (! defined (_DEBUG))
williamr@2
    26
#        error "For static link with STLport library, _DEBUG setting MUST be on when _STLP_DEBUG is on. (/MTd forces _DEBUG)"
williamr@2
    27
#       endif
williamr@2
    28
#       pragma comment(lib, _STLP_LIB_BASENAME"_stldebug"_STLP_LIB_STATIC_SUFFIX".lib")
williamr@2
    29
#      elif (defined (_DEBUG) || defined (__DEBUG)) && defined (_STLP_USE_DEBUG_LIB)
williamr@2
    30
#       pragma comment(lib, _STLP_LIB_BASENAME"_debug"_STLP_LIB_STATIC_SUFFIX".lib")
williamr@2
    31
#      else
williamr@2
    32
#       pragma comment(lib, _STLP_LIB_BASENAME""_STLP_LIB_STATIC_SUFFIX".lib")
williamr@2
    33
#      endif
williamr@2
    34
#     endif /* _STLP_USE_DECLSPEC */
williamr@2
    35
#    endif /* __BUILDING_STLPORT */
williamr@2
    36
#   endif /* _STLP_OWN_IOSTREAMS */