Migrate boost unit test to google test with cmake (ctest)
[anna.git] / example / dbms.mysql / insert / SConscript
index 090f079..ab8a48f 100644 (file)
@@ -1,10 +1,13 @@
 Import ('env')
 
 # Process #################################################################
-pName = "example_dbms_mysql_insert"
+#pName = "example_dbms.mysql_insert"
+#pName = "example_<module>_<process>"
+bnames = Dir('..').abspath.rsplit('/', 2)
+pName = "example_" + bnames[-2] + "_" + bnames[-1]
 
 # Libraries ###############################################################
-# To avoid other libraries accumulation (boost testing, i.e.):
+# To avoid other libraries accumulation:
 localEnv = env.Clone()
 
 system_library = { 'LIBS' : [ 'mysqlclient' ] }