File: base.pro

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 (56 lines) | stat: -rw-r--r-- 1,342 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
TERRALIBPATH = ../..

include ($$TERRALIBPATH/build/qt/config.pri)

TEMPLATE = app

# Define your mysql client path
unix:MYSQL_CLIENT = $$TERRALIBPATH/dependencies/linux/MySQL/lib
win32 {
	win32-g++:MYSQL_CLIENT=$$TERRALIBPATH/dependencies/win32/MySQL/lib/mingw
	else:MYSQL_CLIENT=$$TERRALIBPATH/dependencies/win32/MySQL/lib/ms
}

INCLUDEPATH = \
  . \
  .. \
  $$TERRALIBPATH/src/terralib/kernel \
  $$TERRALIBPATH/src/terralib/functions \
  $$TERRALIBPATH/src/terralib/stat \
  $$TERRALIBPATH/src/terralib/utils \
  $$TERRALIBPATH/src/terralib/drivers/shapelib \
  $$TERRALIBPATH/src/terralib/drivers/MySQL \
  $$TERRALIBPATH/src/terralib/drivers/MySQL/include \
  $$TERRALIBPATH/src/terralib/drivers/shapelib \
  $$TERRALIBPATH/src/shapelib \
  $$TERRALIBPATH/src/zlib \
  $$TERRALIBPATH/src/tiff \
  $$INCLUDEPATH

debug:CONFIGOUT = Debug
release:CONFIGOUT = Release

unix {
  LIBS += \
    -L/usr/local/lib \
    -L/usr/lib \
    -L$$MYSQL_CLIENT \
    -ljpeg \
    -lshapelib \
    -lz \
    -lterralibtiff \
    -lcrypt \
    -lterralib \
    -lstat
  DESTDIR = linux-g++
}

win32 {
	win32-g++:DESTDIR = win32-g++
}
 
LIBS += -ljpeg -lshapelib -lterralibtiff -lterralib -lstat -lte_mysql
unix:LIBS += -lz -lcrypt

DESTDIR = $$TERRALIBPATH/$$CONFIGOUT/examples/$$DESTDIR/$$TARGET