Blame view

3rdparty/websocketpp-0.8.2/examples/print_client_tls/SConscript 720 Bytes
1fa7ee12   Hu Chunming   提交 _GLIBCXX_USE_C...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
  ## Print client tls example
  ##
  
  Import('env')
  Import('env_cpp11')
  Import('boostlibs')
  Import('platform_libs')
  Import('polyfill_libs')
  Import('tls_libs')
  
  env = env.Clone ()
  env_cpp11 = env_cpp11.Clone ()
  
  prgs = []
  
  # if a C++11 environment is available build using that, otherwise use boost
  if env_cpp11.has_key('WSPP_CPP11_ENABLED'):
     ALL_LIBS = boostlibs(['system'],env_cpp11) + [platform_libs] + [polyfill_libs] + [tls_libs]
     prgs += env_cpp11.Program('print_client_tls', ["print_client_tls.cpp"], LIBS = ALL_LIBS)
  else:
     ALL_LIBS = boostlibs(['system'],env) + [platform_libs] + [polyfill_libs] + [tls_libs]
     prgs += env.Program('print_client_tls', ["print_client_tls.cpp"], LIBS = ALL_LIBS)
  
  Return('prgs')