ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

_auto_link.h
Go to the documentation of this file.
00001 /* We do not use auto link feature when:
00002  *  - user asked not to use it (_STLP_DONT_USE_AUTO_LINK)
00003  *  - STLport is used only as a STL library (_STLP_NO_IOSTREAMS || _STLP_USE_NO_IOSTREAMS)
00004  *  - we are building a C translation unit, STLport is a C++ Standard library implementation
00005  */
00006 #if !defined (__BUILDING_STLPORT) && !defined (_STLP_DONT_USE_AUTO_LINK) && \
00007     !defined (_STLP_NO_IOSTREAMS) && !defined (_STLP_USE_NO_IOSTREAMS) && \
00008     defined (__cplusplus)
00009 
00010 #  define _STLP_STRINGIZE(X) _STLP_STRINGIZE_AUX(X)
00011 #  define _STLP_STRINGIZE_AUX(X) #X
00012 
00013 #  if defined (_STLP_DEBUG)
00014 #    define _STLP_LIB_OPTIM_MODE "stld"
00015 #  elif defined (_DEBUG)
00016 #    define _STLP_LIB_OPTIM_MODE "d"
00017 #  else
00018 #    define _STLP_LIB_OPTIM_MODE ""
00019 #  endif
00020 
00021 #  if defined (_STLP_LIB_NAME_MOTIF)
00022 #    define _STLP_LIB_MOTIF "_"_STLP_LIB_NAME_MOTIF
00023 #  else
00024 #    define _STLP_LIB_MOTIF ""
00025 #  endif
00026 
00027 #  if defined (_STLP_USE_DYNAMIC_LIB)
00028 #    if defined (_STLP_USING_CROSS_NATIVE_RUNTIME_LIB)
00029 #      define _STLP_LIB_TYPE "_x"
00030 #    else
00031 #      define _STLP_LIB_TYPE ""
00032 #    endif
00033 #  else
00034 #    if defined (_STLP_USING_CROSS_NATIVE_RUNTIME_LIB)
00035 #      define _STLP_LIB_TYPE "_statix"
00036 #    else
00037 #      define _STLP_LIB_TYPE "_static"
00038 #    endif
00039 #  endif
00040 
00041 #  if defined (_STLP_USE_DYNAMIC_LIB)
00042 #    define _STLP_VERSION_STR "."_STLP_STRINGIZE(_STLPORT_MAJOR)"."_STLP_STRINGIZE(_STLPORT_MINOR)
00043 #  else
00044 #    define _STLP_VERSION_STR ""
00045 #  endif
00046 
00047 #  define _STLP_STLPORT_LIB "stlport"_STLP_LIB_OPTIM_MODE""_STLP_LIB_TYPE""_STLP_LIB_MOTIF""_STLP_VERSION_STR".lib"
00048 
00049 #  if defined (_STLP_VERBOSE)
00050 #    pragma message ("STLport: Auto linking to "_STLP_STLPORT_LIB)
00051 #  endif
00052 #  pragma comment (lib, _STLP_STLPORT_LIB)
00053 
00054 #  undef _STLP_STLPORT_LIB
00055 #  undef _STLP_LIB_OPTIM_MODE
00056 #  undef _STLP_LIB_TYPE
00057 #  undef _STLP_STRINGIZE_AUX
00058 #  undef _STLP_STRINGIZE
00059 
00060 #endif /* _STLP_DONT_USE_AUTO_LINK */
00061 

Generated on Sat May 26 2012 04:28:24 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.