Migrate boost unit test to google test with cmake (ctest)
[anna.git] / example / io / reader / SConscript
index d531cdf..10d2c52 100644 (file)
@@ -1,7 +1,9 @@
 Import ('env')
 
 # Process #################################################################
-pName = "example_io_reader"
+#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 }