summaryrefslogtreecommitdiffstats
path: root/stlport/stlport/stl/config/_feedback.h
blob: 0171ca511938df612e1c3cea795c4803ccaa6e5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/* Helper header to give feedback about build environment configuration
 * thanks to #pragma message directives.
 */

#if defined (_STLP_VERBOSE)
#  define _STLP_VERBOSE_MODE_SUPPORTED

#  if defined (_STLP_COMPILER)
#    pragma message (_STLP_COMPILER)
#  endif

#  if defined (_STLP_NO_RTTI)
#    pragma message ("STLport: RTTI support         -> Disabled")
#  else
#    pragma message ("STLport: RTTI support         -> Enabled")
#  endif

#  if defined (_STLP_HAS_NO_EXCEPTIONS)
#    pragma message ("STLport: Exception support    -> Disabled")
#  else
#    pragma message ("STLport: Exception support    -> Enabled")
#  endif

#  if defined (_STLP_THREADS)
#    pragma message ("STLport: Threading model      -> Multi")
#  else
#    pragma message ("STLport: Threading model      -> Mono")
#  endif

#  if defined (_STLP_USE_DYNAMIC_LIB)
#    pragma message ("STLport: Library model        -> Dynamic")
#  else
#    pragma message ("STLport: Library model        -> Static")
#  endif

#  if defined (_STLP_USING_CROSS_NATIVE_RUNTIME_LIB)
#    if defined (_STLP_USE_DYNAMIC_LIB)
#    pragma message ("STLport: Native library model -> Static")
#    else
#    pragma message ("STLport: Native library model -> Dynamic")
#    endif
#  endif
#endif