cmd: Switch code to use ndn-cxx
Implementation moved to ndn::chronoshare namespace
Change-Id: I1d7a46f03133a8e382f0a2bb272311fbd18c95c4
diff --git a/wscript b/wscript
index 2195feb..5a9ebf4 100644
--- a/wscript
+++ b/wscript
@@ -191,22 +191,21 @@
# bld.install_files("${DATADIR}/ChronoShare", "gui/images/chronoshare-big.png")
Logs.error("ChronoShare app compilation is temporary disabled")
-# cmdline = bld(
-# target = "csd",
-# features = "qt5 cxx cxxprogram",
-# defines = "WAF",
-# source = bld.path.ant_glob(['cmd/csd.cpp']),
-# use = "fs_watcher chronoshare http_server QT5CORE",
-# )
- Logs.error("csd app compilation is temporary disabled")
+ cmdline = bld(
+ target = "csd",
+ features = "qt5 cxx cxxprogram",
+ defines = "WAF",
+ source = 'cmd/csd.cpp',
+ moc = 'cmd/csd.hpp',
+ use = "fs-watcher chronoshare http_server QT5CORE",
+ )
-# dump_db = bld(
-# target = "dump-db",
-# features = "cxx cxxprogram",
-# source = bld.path.ant_glob(['cmd/dump-db.cpp']),
-# use = "fs_watcher chronoshare http_server QT5CORE",
-# )
- Logs.error("dump-db app compilation is temporary disabled")
+ dump_db = bld(
+ target = "dump-db",
+ features = "cxx cxxprogram",
+ source = bld.path.ant_glob(['cmd/dump-db.cpp']),
+ use = "fs-watcher chronoshare http_server QT5CORE",
+ )
bld.recurse('tests');