X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=example%2Fcomm%2Fclient%2FSConscript;h=0d41dbd1a4c17cd344b741e0f28c17fb67b08f46;hb=0c533bf948a63d134c8001e16b15194b197cb99a;hp=c8578982394471fee26c7b5df8e45b382b73bde0;hpb=4e12ac57e93c052f716a6305ad8fc099c45899d1;p=anna.git diff --git a/example/comm/client/SConscript b/example/comm/client/SConscript index c857898..0d41dbd 100644 --- a/example/comm/client/SConscript +++ b/example/comm/client/SConscript @@ -1,7 +1,9 @@ Import ('env') # Process ################################################################# -pName = "example_comm_client" +#pName = "example__" +bnames = Dir('..').abspath.rsplit('/', 2) +pName = "example_" + bnames[-2] + "_" + bnames[-1] pPath = pName.replace("_", "/") + "/" # Anna modules ############################################################ @@ -18,13 +20,13 @@ anna_rlibs = list(anna_libs) anna_rlibs.reverse() # Libraries ############################################################### -# To avoid other libraries accumulation (boost testing, i.e.): +# To avoid other libraries accumulation: localEnv = env.Clone() anna_library = { 'LIBS' : anna_rlibs } localEnv.MergeFlags (anna_library) -system_library = { 'LIBS' : [ 'xml2', 'rt' ] } +system_library = { 'LIBS' : [ 'xml2', 'rt', 'pthread' ] } localEnv.MergeFlags (system_library) localEnv.Append(LIBPATH = anna_libpaths)