File: plugins.pri

package info (click to toggle)
monkeystudio 1.9.0.2-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 45,012 kB
  • sloc: cpp: 144,877; ansic: 33,969; python: 2,127; makefile: 128; sh: 90; php: 73; cs: 69
file content (34 lines) | stat: -rw-r--r-- 942 bytes parent folder | download
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
#This is the include file to add to your plugins project

TEMPLATE    = lib
CONFIG  *= dll plugin

# set plugin name define
!isEmpty( TARGET ):DEFINES  *= "PLUGIN_NAME=\"\\\"$${TARGET}\\\"\""

# include config file
include( $${PWD}/../config.pri )

# include monkey framework
include( $${PACKAGE_PWD}/monkey/monkey.pri )

# include scintilla framework
include( $${PACKAGE_PWD}/qscintilla/qscintilla.pri )

# include fresh framework
include( $${PACKAGE_PWD}/fresh/fresh.pri )

# include qCtagsSense framework
include( $${PACKAGE_PWD}/qCtagsSense/qCtagsSense.pri )

mac:MONKEY_PLUGINS_DIR  = $${PACKAGE_DESTDIR}/$${PACKAGE_TARGET}.app/Contents/plugins
else:unix|win32:MONKEY_PLUGINS_DIR  = $${PACKAGE_DESTDIR}/plugins

mac:*-g++*:LIBS *= -Wl,-undefined,dynamic_lookup

# ubuntu hardy/debian fix
unix:!mac:QMAKE_LFLAGS  -= -Wl,--no-undefined

win32:QMAKE_LIBDIR  *= $${PACKAGE_DESTDIR}

setTemporaryDirectories( $${PACKAGE_BUILD_PATH}/plugins )