Skip to content

Commit

Permalink
rename app_client to utility_client and set utility_client to be the …
Browse files Browse the repository at this point in the history
…final step of the utility_client tutorial
  • Loading branch information
zaphoyd committed Mar 3, 2014
1 parent 9c8762c commit a5a30e5
Show file tree
Hide file tree
Showing 5 changed files with 233 additions and 282 deletions.
23 changes: 0 additions & 23 deletions examples/app_client/SConscript

This file was deleted.

169 changes: 0 additions & 169 deletions examples/app_client/app_client.cpp

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
file (GLOB SOURCE_FILES *.cpp)
file (GLOB HEADER_FILES *.hpp)

init_target (app_client)
init_target (utility_client)

build_executable (${TARGET_NAME} ${SOURCE_FILES} ${HEADER_FILES})

Expand Down
5 changes: 2 additions & 3 deletions examples/utility_client/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ Import('env_cpp11')
Import('boostlibs')
Import('platform_libs')
Import('polyfill_libs')
Import('tls_libs')

env = env.Clone ()
env_cpp11 = env_cpp11.Clone ()
Expand All @@ -15,10 +14,10 @@ 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]
ALL_LIBS = boostlibs(['system'],env_cpp11) + [platform_libs] + [polyfill_libs]
prgs += env_cpp11.Program('utility_client', ["utility_client.cpp"], LIBS = ALL_LIBS)
else:
ALL_LIBS = boostlibs(['system','random'],env) + [platform_libs] + [polyfill_libs] + [tls_libs]
ALL_LIBS = boostlibs(['system','random'],env) + [platform_libs] + [polyfill_libs]
prgs += env.Program('utility_client', ["utility_client.cpp"], LIBS = ALL_LIBS)

Return('prgs')
Loading

0 comments on commit a5a30e5

Please sign in to comment.