1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
|
TEMPLATE = lib
CONFIG += plugin \
debug_and_release
VPATH += ../../src
INCLUDEPATH += ../../src
INCLUDEPATH += ../../common
INCLUDEPATH += c:/boost/
PRECOMPILED_HEADER = precompiled.h
UI_DIR = ../../plugins/runner/
FORMS = dlg.ui
HEADERS = plugin_interface.h \
runner.h \
gui.h \
globals.h \
../../common/FileBrowserDelegate.h \
../../common/FileBrowser.h \
../../common/DropTableWidget.h \
precompiled.h
SOURCES = plugin_interface.cpp \
runner.cpp \
gui.cpp \
../../common/FileBrowser.cpp \
../../common/FileBrowserDelegate.cpp \
../../common/DropTableWidget.cpp
TARGET \
= \
runner
win32 {
CONFIG -= embed_manifest_dll
LIBS += shell32.lib
LIBS += user32.lib
% LIBS += Gdi32.lib
% LIBS += comctl32.lib
}
if(!debug_and_release|build_pass):CONFIG(debug, debug|release) {
DESTDIR = ../../debug/plugins
}
if(!debug_and_release|build_pass):CONFIG(release, debug|release) {
DESTDIR = ../../release/plugins
}
unix:!macx {
PREFIX = /usr
target.path = $$PREFIX/lib/launchy/plugins/
icon.path = $$PREFIX/lib/launchy/plugins/icons/
icon.files = runner.png
INSTALLS += target icon
}
macx {
if(!debug_and_release|build_pass):CONFIG(debug, debug|release):DESTDIR = ../../debug/Launchy.app/Contents/MacOS/plugins
if(!debug_and_release|build_pass):CONFIG(release, debug|release):DESTDIR = ../../release/Launchy.app/Contents/MacOS/plugins
CONFIG(debug, debug|release):icons.path = ../../debug/Launchy.app/Contents/MacOS/plugins/icons/
CONFIG(release, debug|release):icons.path = ../../release/Launchy.app/Contents/MacOS/plugins/icons/
icons.files = runner.png
INSTALLS += icons
INCLUDEPATH += /opt/local/include/
}
|