File: MYODBCConfig.pro.alternative

package info (click to toggle)
myodbc 3.51.11-6.1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 5,056 kB
  • ctags: 1,933
  • sloc: ansic: 31,656; sh: 10,955; cpp: 2,439; makefile: 1,120
file content (72 lines) | stat: -rw-r--r-- 2,725 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
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
61
62
63
64
65
66
67
68
69
70
71
72
# #########################################################
#
# BRIEF:
#       This is a qmake project file for building the
#       the Qt based GUI MYODBCConfig application.
#
#       The build here is done without using the setup code
#       directly (except for MYODBCSetup.h). In this case
#       the main.cpp will explicitly find, load, and call
#       into a setup library.
#
# NOTE:
#       This is the preferred way to provide MYODBCConfig
#       but not usable when relying upon Qt on OSX as the
#       subsequent dialogs will have focus problems. For qt
#       on OSX we must use the setup code directly in the 
#       build.
#
# #########################################################

# #########################################################
# COMMON
# #########################################################
TEMPLATE                = app
TARGET                  = MYODBCConfig
DESTDIR                 = ./
OBJECTS_DIR             = .tmp
MOC_DIR                 = .tmp
UI_DIR                  = .tmp
LANGUAGE                = C++
CPP_ALWAYS_CREATE_SOURCE = TRUE
CONFIG                  += qt thread warn_on release
DEFINES                 += HAVE_CONFIG_H VERSION="\"1.0.0\""

# #########################################################
# WIN32
# #########################################################
win32:DEFINES           -= UNICODE
win32:LIBS              += odbc32.lib odbccp32.lib ..\setup\.tmp\myodbc3S.lib
# win32:RC_FILE         += MYODBCConfig.rc

# #########################################################
# UNIX
# #########################################################
unix:INCLUDEPATH        += /usr/include
unix:LIBS               += -L/usr/lib -L/usr/local/lib -lodbc -lodbcinst -lmyodbc3S

# #########################################################
# OSX
#	On OSX we produce a directory called; MYODBCConfig.app
#	which contains everything needed to execute the app
#	using the 'open' command or by double-clicking in
#	Finder. MYODBCConfig.app can be copied to where desired
#	in the file system (for example; /Applications/Utilities).
# #########################################################
mac:LIBS                -= -lodbc -lodbcinst -lmyodbc3S
mac:LIBS                += -liodbc -liodbcinst 
mac:LIBS                += -framework Carbon -framework QuickTime -lz -framework OpenGL -framework AGL -lz
mac:RC_FILE             = MYODBCConfig.icns

# #########################################################
# FILES
# #########################################################

# HEADERS                 += \
#                         ../setup/MYODBCSetup.h \
# 			../setup/MYODBCSetupDataSourceDialog.h

SOURCES                 += \
                        main.cpp