mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
* set correct naming of pro file for plugins.pro and removed not need .pro files
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@997 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
b777d85a12
commit
d632b88a32
@ -1,28 +0,0 @@
|
||||
#=== this part is common (similar) for all plugin projects =====================
|
||||
TEMPLATE = lib
|
||||
CONFIG += plugin debug
|
||||
|
||||
# this is directory, where PluginInterface.h is located
|
||||
INCLUDEPATH += ../
|
||||
|
||||
# and, the result (*.so or *.dll) should appear in this directory
|
||||
DESTDIR = ../bin
|
||||
OBJECTS_DIR = temp/obj
|
||||
RCC_DIR = temp/qrc
|
||||
UI_DIR = temp/ui
|
||||
MOC_DIR = temp/moc
|
||||
|
||||
|
||||
# the name of the result file;
|
||||
TARGET = $$qtLibraryTarget(calendar_plugin)
|
||||
|
||||
HEADERS += ../PluginInterface.h \
|
||||
src/CalendarPlugin.h
|
||||
SOURCES += src/CalendarPlugin.cpp
|
||||
|
||||
#===============================================================================
|
||||
|
||||
#=== and this are definitions, specific for this program =======================
|
||||
HEADERS += src/mainwindow.h
|
||||
SOURCES += src/mainwindow.cpp
|
||||
#===============================================================================
|
@ -1,58 +0,0 @@
|
||||
#=== this part is common (similar) for all plugin projects =====================
|
||||
TEMPLATE = lib
|
||||
CONFIG += plugin release
|
||||
|
||||
# this is directory, where PluginInterface.h is located
|
||||
INCLUDEPATH += ../
|
||||
|
||||
# and, the result (*.so or *.dll) should appear in this directory
|
||||
DESTDIR = ../bin
|
||||
OBJECTS_DIR = temp/obj
|
||||
RCC_DIR = temp/qrc
|
||||
UI_DIR = temp/ui
|
||||
MOC_DIR = temp/moc
|
||||
|
||||
|
||||
# the name of the result file;
|
||||
TARGET = $$qtLibraryTarget(qcheckers_plugin)
|
||||
|
||||
HEADERS += ../PluginInterface.h \
|
||||
QCheckersPlugin.h
|
||||
SOURCES += QCheckersPlugin.cpp
|
||||
|
||||
#===============================================================================
|
||||
|
||||
HEADERS += pdn.h \
|
||||
checkers.h echeckers.h rcheckers.h \
|
||||
field.h toplevel.h view.h history.h board.h \
|
||||
newgamedlg.h \
|
||||
common.h \
|
||||
player.h humanplayer.h computerplayer.h
|
||||
|
||||
|
||||
SOURCES += pdn.cc \
|
||||
checkers.cc echeckers.cc rcheckers.cc \
|
||||
field.cc toplevel.cc view.cc history.cc board.cc \
|
||||
newgamedlg.cc \
|
||||
humanplayer.cc computerplayer.cc
|
||||
|
||||
RESOURCES = qcheckers.qrc
|
||||
|
||||
|
||||
#PREFIX = $$system(grep 'define PREFIX' common.h | cut -d'"' -f2)
|
||||
#SHARE_PATH = $$system(grep 'define SHARE_PATH' common.h | cut -d'"' -f2)
|
||||
|
||||
TRANSLATIONS = i18n/kcheckers_de.ts i18n/kcheckers_fr.ts
|
||||
# i18n/kcheckers_ru.ts
|
||||
|
||||
target.path = $$PREFIX/bin
|
||||
INSTALLS += target
|
||||
|
||||
|
||||
#
|
||||
# This hack is needed for i18n support.
|
||||
#
|
||||
share.path += $$PREFIX/share/kcheckers
|
||||
share.files += kcheckers.pdn COPYING AUTHORS ChangeLog README themes i18n/*
|
||||
INSTALLS += share
|
||||
|
@ -1,50 +0,0 @@
|
||||
#=== this part is common (similar) for all plugin projects =====================
|
||||
TEMPLATE = lib
|
||||
CONFIG += plugin release
|
||||
|
||||
# this is directory, where PluginInterface.h is located
|
||||
INCLUDEPATH += ../
|
||||
|
||||
# and, the result (*.so or *.dll) should appear in this directory
|
||||
DESTDIR = ../bin
|
||||
OBJECTS_DIR = temp/obj
|
||||
RCC_DIR = temp/qrc
|
||||
UI_DIR = temp/ui
|
||||
MOC_DIR = temp/moc
|
||||
|
||||
|
||||
# the name of the result file;
|
||||
TARGET = $$qtLibraryTarget(qdiagram_plugin)
|
||||
|
||||
HEADERS += ../PluginInterface.h \
|
||||
DiagramPlugin.h
|
||||
SOURCES += DiagramPlugin.cpp
|
||||
|
||||
#===============================================================================
|
||||
|
||||
|
||||
HEADERS += diagrampathitem.h \
|
||||
diagramdrawitem.h \
|
||||
mainwindow.h \
|
||||
diagramitem.h \
|
||||
diagramscene.h \
|
||||
diagramtextitem.h
|
||||
SOURCES += diagrampathitem.cpp \
|
||||
diagramdrawitem.cpp \
|
||||
mainwindow.cpp \
|
||||
diagramitem.cpp \
|
||||
diagramtextitem.cpp \
|
||||
diagramscene.cpp
|
||||
RESOURCES = qdiagram.qrc
|
||||
|
||||
# install
|
||||
target.path = $$[QT_INSTALL_EXAMPLES]/graphicsview/diagramscene
|
||||
sources.files = $$SOURCES \
|
||||
$$HEADERS \
|
||||
$$RESOURCES \
|
||||
$$FORMS \
|
||||
diagramscene.pro \
|
||||
images
|
||||
sources.path = $$[QT_INSTALL_EXAMPLES]/graphicsview/diagramscene
|
||||
INSTALLS += target \
|
||||
sources
|
Loading…
Reference in New Issue
Block a user