build: remove unnecessary dependency on protobuf
Change-Id: I1443710479945e5a24bc63f1418d4c7db813ff79 Refs: #2475
This commit is contained in:
1 parent
9d5679a6b0
commit
372697f937
3 files changed
+4
-6
No files matched your search
@@ -37,8 +37,6 @@ Required:
|
||||
|
||||
* [ndn-cxx and its dependencies](http://named-data.net/doc/ndn-cxx/)
|
||||
* Boost libraries
|
||||
* `protobuf` library
|
||||
* log4cxx (optional, if enabled with `--with-log4cxx` configure option)
|
||||
|
||||
### Build
|
||||
|
||||
|
||||
@@ -98,7 +98,7 @@ public:
|
||||
fetchAll(const vector<MissingDataInfo>& v)
|
||||
{
|
||||
// std::cerr << "fetchAll" << std::endl;
|
||||
for (int i = 0; i < v.size(); i++) {
|
||||
for (size_t i = 0; i < v.size(); i++) {
|
||||
for(SeqNo s = v[i].low; s <= v[i].high; ++s) {
|
||||
socket.fetchData(v[i].session, s, [this] (const shared_ptr<const Data>& dataPacket) {
|
||||
this->set(dataPacket);
|
||||
@@ -111,7 +111,7 @@ public:
|
||||
fetchNumbers(const vector<MissingDataInfo> &v)
|
||||
{
|
||||
// std::cerr << "fetchNumbers" << std::endl;
|
||||
for (int i = 0; i < v.size(); i++) {
|
||||
for (size_t i = 0; i < v.size(); i++) {
|
||||
for(SeqNo s = v[i].low; s <= v[i].high; ++s) {
|
||||
socket.fetchData(v[i].session, s, [this] (const shared_ptr<const Data>& dataPacket) {
|
||||
this->setNum(dataPacket);
|
||||
|
||||
@@ -9,7 +9,7 @@ APPNAME = 'ChronoSync'
|
||||
def options(opt):
|
||||
opt.load(['compiler_c', 'compiler_cxx', 'gnu_dirs'])
|
||||
opt.load(['boost', 'doxygen', 'sphinx_build', 'default-compiler-flags',
|
||||
'pch', 'protoc'],
|
||||
'pch'],
|
||||
tooldir=['.waf-tools'])
|
||||
|
||||
syncopt = opt.add_option_group ("ChronoSync Options")
|
||||
@@ -23,7 +23,7 @@ def options(opt):
|
||||
|
||||
def configure(conf):
|
||||
conf.load(['compiler_c', 'compiler_cxx', 'gnu_dirs', 'boost', 'pch',
|
||||
'doxygen', 'sphinx_build', 'default-compiler-flags', 'protoc'])
|
||||
'doxygen', 'sphinx_build', 'default-compiler-flags'])
|
||||
|
||||
conf.check_cfg(package='libndn-cxx', args=['--cflags', '--libs'],
|
||||
uselib_store='NDN_CXX', mandatory=True)
|
||||
|
||||
Reference in new issue
Block a user