mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-31 20:04:36 -04:00
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:
parent
b6b5fa5cd6
commit
8832f7dfc5
10 changed files with 225 additions and 27 deletions
|
@ -4,6 +4,8 @@ QT += network xml script opengl
|
|||
TEMPLATE = app
|
||||
TARGET = RetroShare
|
||||
|
||||
#CONFIG += minimal
|
||||
|
||||
#DEFINES += RS_RELEASE_VERSION
|
||||
RCC_DIR = temp/qrc
|
||||
UI_DIR = temp/ui
|
||||
|
@ -14,6 +16,11 @@ debug {
|
|||
QMAKE_CFLAGS += -g
|
||||
}
|
||||
|
||||
minimal {
|
||||
CONFIG -= blogs bitdht
|
||||
|
||||
DEFINES += MINIMAL_RSGUI
|
||||
}
|
||||
|
||||
################################# Linux ##########################################
|
||||
# Put lib dir in QMAKE_LFLAGS so it appears before -L/usr/lib
|
||||
|
@ -615,7 +622,60 @@ HEADERS += idle/idle.h
|
|||
|
||||
SOURCES += idle/idle.cpp \
|
||||
idle/idle_platform.cpp
|
||||
|
||||
}
|
||||
|
||||
minimal {
|
||||
SOURCES = main.cpp \
|
||||
rshare.cpp \
|
||||
gui/notifyqt.cpp \
|
||||
gui/MessengerWindow.cpp \
|
||||
gui/StartDialog.cpp \
|
||||
gui/GenCertDialog.cpp \
|
||||
gui/connect/ConfCertDialog.cpp \
|
||||
gui/InfoDialog.cpp \
|
||||
gui/help/browser/helpbrowser.cpp \
|
||||
gui/help/browser/helptextbrowser.cpp \
|
||||
gui/settings/rsettings.cpp \
|
||||
gui/settings/rsharesettings.cpp \
|
||||
gui/common/rwindow.cpp \
|
||||
gui/LogoBar.cpp \
|
||||
gui/RsAutoUpdatePage.cpp \
|
||||
gui/common/vmessagebox.cpp \
|
||||
gui/common/html.cpp \
|
||||
util/RetroStyleLabel.cpp \
|
||||
util/log.cpp \
|
||||
util/win32.cpp \
|
||||
util/Widget.cpp \
|
||||
util/stringutil.cpp \
|
||||
lang/languagesupport.cpp
|
||||
|
||||
FORMS = gui/MessengerWindow.ui \
|
||||
gui/StartDialog.ui \
|
||||
gui/GenCertDialog.ui \
|
||||
gui/connect/ConfCertDialog.ui \
|
||||
gui/InfoDialog.ui \
|
||||
gui/help/browser/helpbrowser.ui
|
||||
|
||||
HEADERS = rshare.h \
|
||||
gui/notifyqt.h \
|
||||
gui/MessengerWindow.h \
|
||||
gui/StartDialog.h \
|
||||
gui/GenCertDialog.h \
|
||||
gui/connect/ConfCertDialog.h \
|
||||
gui/InfoDialog.h \
|
||||
gui/help/browser/helpbrowser.h \
|
||||
gui/help/browser/helptextbrowser.h \
|
||||
gui/settings/rsettings.h \
|
||||
gui/settings/rsharesettings.h \
|
||||
gui/common/rwindow.h \
|
||||
gui/LogoBar.h \
|
||||
gui/RsAutoUpdatePage.h \
|
||||
gui/common/vmessagebox.h \
|
||||
gui/common/html.h \
|
||||
util/RetroStyleLabel.h \
|
||||
util/log.h \
|
||||
util/win32.h \
|
||||
util/Widget.h \
|
||||
util/stringutil.h \
|
||||
lang/languagesupport.h
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue