refactor build for tree of scons makefiles, fix out of source build, correct target handling

This commit is contained in:
Tobias Oberstein
2012-03-08 17:55:13 +01:00
parent ae2dac32f0
commit 16a4ba98b4
5 changed files with 91 additions and 50 deletions

View File

@@ -0,0 +1,20 @@
## echo_server
##
Import('env')
Import('boostlibs')
Import('wslib')
Import('platform_libs')
localenv = env.Clone ()
sources = ["echo_server.cpp"]
LIBS = [wslib, platform_libs] + boostlibs(['system',
'date_time',
'regex',
'thread'])
prg = localenv.Program('echo_server', sources, LIBS = LIBS)
Return('prg')