1 ## Main development example
7 Import('platform_libs')
8 Import('polyfill_libs')
11 env_cpp11 = env_cpp11.Clone ()
15 # if a C++11 environment is available build using that, otherwise use boost
16 if env_cpp11.has_key('WSPP_CPP11_ENABLED'):
17 ALL_LIBS = boostlibs(['system'],env_cpp11) + [platform_libs] + [polyfill_libs]
18 prgs += env_cpp11.Program('echo_server', ["echo_server.cpp"], LIBS = ALL_LIBS)
20 ALL_LIBS = boostlibs(['system'],env) + [platform_libs] + [polyfill_libs]
21 prgs += env.Program('echo_server', ["echo_server.cpp"], LIBS = ALL_LIBS)