File: config.pri

package info (click to toggle)
libterralib 4.3.0%2Bdfsg.2-14
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 61,564 kB
  • sloc: cpp: 225,052; ansic: 31,562; makefile: 807; sh: 80; xml: 37
file content (39 lines) | stat: -rw-r--r-- 1,054 bytes parent folder | download | duplicates (8)
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
#Defining paths
#-----------------------------
isEmpty(TERRALIBPATH) {
  # Trying to get it from the user environment variable with the same name
  TERRALIBPATH = $$(TERRALIB_DIR)
  
  # The default - if none of previews attempts succeed
  isEmpty(TERRALIBPATH):TERRALIBPATH = ../../..
}
#-----------------------------
TEMPLATE = lib
unix:VERSION = 3.6.1
CONFIG	+= warn_on \
        rtti \
        exceptions \
        thread \
        debug_and_release
CONFIG -= qt
LANGUAGE	= C++
#-----------------------------
#Dependencies definitions
#-----------------------------
CONFIG(debug, debug|release) {
    DEFINES += _DEBUG
    BUILDLOC = Debug
}
CONFIG(release, debug|release) {
    DEFINES += NDEBUG
    BUILDLOC = Release
}
DEFINES -= UNICODE
unix:DESTDIR = $${TERRALIBPATH}/$${BUILDLOC}/linux-g++
OBJECTS_DIR = $${DESTDIR}/obj/$${TARGET}
unix:LIBS += -L$${DESTDIR} 
INCLUDEPATH += $${TERRALIBPATH}/src/terralib/kernel
win32 {
    win32-g++:include(config_win32-g++.pri)
    else:include(config_win32-msvc.pri)
}