summaryrefslogtreecommitdiff
path: root/libopie/libopie2/include.pro
blob: 7ec04ed7ced1a736910489314135dc1c5b914e5b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# we don't want to modify subdir .pro's
!contains( TEMPLATE, subdirs ) {
# if it's already a lib, we ignore it
!contains( TEMPLATE, lib ) {

  contains( CONFIG, quick-app ) {
    message ( Building a quicklaunch application )
    TEMPLATE = lib
    CONFIG += plugin
    DEFINES += OPIE_APP_INTERFACE
    DEFINES += QUICKAPP_NAME="\"$${TARGET}\""
  }

  !contains ( CONFIG, quick-app ) {
    message( Building a standalone application )
    TEMPLATE = app
    DEFINES -= OPIE_APP_INTERFACE
    DEFINES += QUICKAPP_NAME="\"$${TARGET}\""
  }
}
}

DEFINES += OPIE_NEW_MALLOC 
DEFINES += OPIE_NO_ERASE_RECT_HACKFIX