Migrate boost unit test to google test with cmake (ctest)
[anna.git] / example / diameter / pcapDecoder / SConscript
index ab3bc06..e0b60ad 100644 (file)
@@ -10,7 +10,7 @@ pPath = pName.replace("_", "/") + "/"
 pwd = str(Dir ('.').abspath);
 anna_libpaths = []
 anna_libs = []
-modules = [ 'core', 'io', 'xml', 'time', 'diameter' ];
+modules = [ 'core' ];
 for module in modules:
   anna_libs.append ("anna_" + module)
   #module = module.replace("_", ".")
@@ -23,10 +23,15 @@ anna_rlibs.reverse()
 # To avoid other libraries accumulation:
 localEnv = env.Clone()
 
+# Pcap resources:
+localEnv.Append (CPPPATH = '/usr/include')
+anna_libpaths.append ('/usr/lib64')
+# # another way is to put this below: localEnv.Append(LIBPATH = [anna_libpaths, '/usr/lib64'])
+
 anna_library = { 'LIBS' : anna_rlibs }
 localEnv.MergeFlags (anna_library)
 
-system_library = { 'LIBS' : [ 'xml2', 'rt', 'pcap' ] }
+system_library = { 'LIBS' : [ 'rt', 'pcap' ] }
 localEnv.MergeFlags (system_library)
 
 localEnv.Append(LIBPATH = anna_libpaths)