Migrate boost unit test to google test with cmake (ctest)
[anna.git] / example / http / echo / SConscript
index 253aadc..e74f30d 100644 (file)
@@ -1,7 +1,9 @@
 Import ('env')
 
 # Process #################################################################
-pName = "example_http_echo"
+#pName = "example_<module>_<process>"
+bnames = Dir('..').abspath.rsplit('/', 2)
+pName = "example_" + bnames[-2] + "_" + bnames[-1]
 pPath = pName.replace("_", "/") + "/"
 
 # Anna modules ############################################################
@@ -18,7 +20,7 @@ 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 }