mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-15 02:44:20 -05:00
87344de7d4
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1850 b45a01b8-16f6-495d-af2f-9b41ad6348cc
59 lines
1.5 KiB
Prolog
59 lines
1.5 KiB
Prolog
#=== 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
|
|
|