Migrate boost unit test to google test with cmake (ctest)
[anna.git] / example / dbms.mysql / select / SConscript
index 605d3da..b3df304 100644 (file)
@@ -1,10 +1,13 @@
 Import ('env')
 
 # Process #################################################################
-pName = "example_dbms_mysql_select"
+#pName = "example_dbms.mysql_select"
+#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' ] }