Introduced a minimal version of RetroShare.

You can enable it in libretroshare.pro and RetroShare.pro by uncomment
CONFIG += minimal

This enables two new defines for stripping all not needed things
- libretroshare: MINIMAL_LIBRS
- GUI:           MINIMAL_RSGUI

and removes not needed files from build (see end of the files libretroshare.pro and RetroShare.pro).

Beware: All data of the stripped services are lost

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3414 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2010-08-31 20:00:49 +00:00
parent b6b5fa5cd6
commit 8832f7dfc5
10 changed files with 225 additions and 27 deletions

View file

@ -5,6 +5,15 @@ CONFIG += staticlib testnetwork bitdht
CONFIG -= qt
TARGET = retroshare
# Beware: All data of the stripped services are lost
#CONFIG += minimal
minimal {
CONFIG -= use_blogs bitdht
DEFINES += MINIMAL_LIBRS
}
profiling {
QMAKE_CXXFLAGS -= -fomit-frame-pointer
QMAKE_CXXFLAGS *= -pg -g -fno-omit-frame-pointer
@ -488,3 +497,25 @@ SOURCES += util/folderiterator.cc \
util/rsversion.cc \
util/rswin.cc \
util/rsrandom.cc
minimal {
SOURCES -= rsserver/p3msgs.cc \
rsserver/p3rank.cc \
rsserver/p3status.cc \
rsserver/p3photo.cc
SOURCES -= serialiser/rsforumitems.cc \
serialiser/rsstatusitems.cc \
serialiser/rsrankitems.cc \
serialiser/rschannelitems.cc \
serialiser/rsgameitems.cc \
serialiser/rsphotoitems.cc
SOURCES -= services/p3forums.cc \
services/p3msgservice.cc \
services/p3statusservice.cc \
services/p3ranking.cc \
services/p3channels.cc \
services/p3gamelauncher.cc \
services/p3photoservice.cc
}