sync: Switch code to use ndn-cxx

Thic commit also moves code to ndn::chronoshare namespace

Change-Id: I6eae8cab53fd68faa0e9523d166dbb60d1b59a95
diff --git a/wscript b/wscript
index 4b03fe1..0d03237 100644
--- a/wscript
+++ b/wscript
@@ -101,15 +101,18 @@
     #     )
     Logs.error("Ad hoc network creation routines are temporary disabled")
 
-    # chornoshare = bld(
-    #     target="chronoshare",
-    #     features=['cxx'],
-    #     source=bld.path.ant_glob(['src/**/*.cpp', 'src/*.proto']),
-    #     use='core adhoc BOOST LOG4CXX NDN_CXX TINYXML SQLITE3',
-    #     includes="src",
-    #     export_includes="src",
-    #     )
-    Logs.error("Chronoshare source compilation is temporary disabled")
+    chornoshare = bld(
+        target="chronoshare",
+        features=['cxx'],
+        source=bld.path.ant_glob(['src/*.proto',
+                                  'src/db-helper.cpp',
+                                  'src/sync-*.cpp',
+                                  ]),
+        use='core-objects adhoc BOOST LOG4CXX NDN_CXX TINYXML SQLITE3',
+        includes="src",
+        export_includes="src",
+        )
+    Logs.error("Most of Chronoshare source compilation is temporary disabled")
 
     # fs_watcher = bld(
     #     features=['qt5', 'cxx'],