mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
added an option in the pro file for dsdv, as it is compiled when not used
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6956 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
fd994a546b
commit
1e52c7f22b
@ -9,6 +9,7 @@ CONFIG += test_voip
|
|||||||
# This should be disabled for releases until further notice.
|
# This should be disabled for releases until further notice.
|
||||||
#CONFIG += gxs debug
|
#CONFIG += gxs debug
|
||||||
#CONFIG += grouter
|
#CONFIG += grouter
|
||||||
|
#CONFIG += dsdv
|
||||||
|
|
||||||
# Beware: All data of the stripped services are lost
|
# Beware: All data of the stripped services are lost
|
||||||
DEFINES *= PQI_DISABLE_TUNNEL
|
DEFINES *= PQI_DISABLE_TUNNEL
|
||||||
@ -55,6 +56,17 @@ SOURCES += grouter/p3grouter.cc \
|
|||||||
# grouter/rsgrouterclient.cc
|
# grouter/rsgrouterclient.cc
|
||||||
}
|
}
|
||||||
|
|
||||||
|
dsdv {
|
||||||
|
DEFINES *= SERVICES_DSDV
|
||||||
|
HEADERS += services/p3dsdv.h \
|
||||||
|
serialiser/rstlvdsdv.h \
|
||||||
|
serialiser/rsdsdvitems.h \
|
||||||
|
retroshare/rsdsdv.h
|
||||||
|
|
||||||
|
SOURCES *= serialiser/rstlvdsdv.cc \
|
||||||
|
serialiser/rsdsdvitems.cc \
|
||||||
|
services/p3dsdv.cc
|
||||||
|
}
|
||||||
bitdht {
|
bitdht {
|
||||||
|
|
||||||
HEADERS += dht/p3bitdht.h \
|
HEADERS += dht/p3bitdht.h \
|
||||||
@ -115,7 +127,6 @@ PUBLIC_HEADERS = retroshare/rsblogs.h \
|
|||||||
retroshare/rsturtle.h \
|
retroshare/rsturtle.h \
|
||||||
retroshare/rstypes.h \
|
retroshare/rstypes.h \
|
||||||
retroshare/rsdht.h \
|
retroshare/rsdht.h \
|
||||||
retroshare/rsdsdv.h \
|
|
||||||
retroshare/rsconfig.h
|
retroshare/rsconfig.h
|
||||||
|
|
||||||
HEADERS += plugins/pluginmanager.h \
|
HEADERS += plugins/pluginmanager.h \
|
||||||
@ -416,8 +427,6 @@ HEADERS += serialiser/rsbaseitems.h \
|
|||||||
serialiser/rstlvkvwide.h \
|
serialiser/rstlvkvwide.h \
|
||||||
serialiser/rstlvtypes.h \
|
serialiser/rstlvtypes.h \
|
||||||
serialiser/rstlvutil.h \
|
serialiser/rstlvutil.h \
|
||||||
serialiser/rstlvdsdv.h \
|
|
||||||
serialiser/rsdsdvitems.h \
|
|
||||||
serialiser/rstlvbanlist.h \
|
serialiser/rstlvbanlist.h \
|
||||||
serialiser/rsbanlistitems.h \
|
serialiser/rsbanlistitems.h \
|
||||||
serialiser/rsbwctrlitems.h \
|
serialiser/rsbwctrlitems.h \
|
||||||
@ -432,7 +441,6 @@ HEADERS += services/p3channels.h \
|
|||||||
services/p3msgservice.h \
|
services/p3msgservice.h \
|
||||||
services/p3service.h \
|
services/p3service.h \
|
||||||
services/p3statusservice.h \
|
services/p3statusservice.h \
|
||||||
services/p3dsdv.h \
|
|
||||||
services/p3banlist.h \
|
services/p3banlist.h \
|
||||||
services/p3bwctrl.h \
|
services/p3bwctrl.h \
|
||||||
services/p3tunnel.h
|
services/p3tunnel.h
|
||||||
@ -557,8 +565,6 @@ SOURCES += serialiser/rsbaseitems.cc \
|
|||||||
serialiser/rstlvkvwide.cc \
|
serialiser/rstlvkvwide.cc \
|
||||||
serialiser/rstlvtypes.cc \
|
serialiser/rstlvtypes.cc \
|
||||||
serialiser/rstlvutil.cc \
|
serialiser/rstlvutil.cc \
|
||||||
serialiser/rstlvdsdv.cc \
|
|
||||||
serialiser/rsdsdvitems.cc \
|
|
||||||
serialiser/rstlvbanlist.cc \
|
serialiser/rstlvbanlist.cc \
|
||||||
serialiser/rsbanlistitems.cc \
|
serialiser/rsbanlistitems.cc \
|
||||||
serialiser/rsbwctrlitems.cc \
|
serialiser/rsbwctrlitems.cc \
|
||||||
@ -572,7 +578,6 @@ SOURCES += services/p3channels.cc \
|
|||||||
services/p3msgservice.cc \
|
services/p3msgservice.cc \
|
||||||
services/p3service.cc \
|
services/p3service.cc \
|
||||||
services/p3statusservice.cc \
|
services/p3statusservice.cc \
|
||||||
services/p3dsdv.cc \
|
|
||||||
services/p3banlist.cc \
|
services/p3banlist.cc \
|
||||||
services/p3bwctrl.cc \
|
services/p3bwctrl.cc \
|
||||||
|
|
||||||
|
@ -1847,7 +1847,10 @@ RsGRouter *rsGRouter = NULL ;
|
|||||||
|
|
||||||
#include "services/p3banlist.h"
|
#include "services/p3banlist.h"
|
||||||
#include "services/p3bwctrl.h"
|
#include "services/p3bwctrl.h"
|
||||||
|
|
||||||
|
#ifdef SERVICES_DSDV
|
||||||
#include "services/p3dsdv.h"
|
#include "services/p3dsdv.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
RsControl *createRsControl(NotifyBase ¬ify)
|
RsControl *createRsControl(NotifyBase ¬ify)
|
||||||
@ -2472,7 +2475,7 @@ int RsServer::StartupRetroShare()
|
|||||||
p3BandwidthControl *mBwCtrl = new p3BandwidthControl(pqih);
|
p3BandwidthControl *mBwCtrl = new p3BandwidthControl(pqih);
|
||||||
pqih -> addService(mBwCtrl);
|
pqih -> addService(mBwCtrl);
|
||||||
|
|
||||||
#ifdef RS_DSDVTEST
|
#ifdef SERVICES_DSDV
|
||||||
p3Dsdv *mDsdv = new p3Dsdv(mLinkMgr);
|
p3Dsdv *mDsdv = new p3Dsdv(mLinkMgr);
|
||||||
pqih -> addService(mDsdv);
|
pqih -> addService(mDsdv);
|
||||||
rsDsdv = mDsdv;
|
rsDsdv = mDsdv;
|
||||||
|
Loading…
Reference in New Issue
Block a user