File: xmlrpc.pro

package info (click to toggle)
qxmlrpc 0.0.svn6-2
  • links: PTS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch, wheezy
  • size: 392 kB
  • ctags: 200
  • sloc: cpp: 1,621; python: 29; makefile: 23
file content (61 lines) | stat: -rw-r--r-- 1,061 bytes parent folder | download | duplicates (2)
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

TEMPLATE = lib
unix:TARGET = ../qxmlrpc
win32:TARGET = ../qxmlrpc

CONFIG += warn_on
CONFIG += debug_and_release
CONFIG += precompile_header

DEPENDPATH += .
INCLUDEPATH += . ..

QT -= gui
QT += xml
QT += network 

HEADERS += stable.h
PRECOMPILED_HEADER = stable.h

# Input
HEADERS += \
    client.h \
    server.h \
    server_private.h \
    serverintrospection.h \
    request.h \
    response.h \
    variant.h \

SOURCES += \
    client.cpp \
    server.cpp \
    serverintrospection.cpp \
    request.cpp \
    response.cpp \
    variant.cpp \

!debug_and_release|build_pass {
    CONFIG(debug, debug|release) {
        TARGET = $$member(TARGET, 0)_debug
    }
}

win32 {
    # no -O2 allowed
    QMAKE_CFLAGS_RELEASE = -MD
    QMAKE_CXXFLAGS_RELEASE = -MD
}

# universal binaries for release
# build from command line
macx-g++ {
    !debug_and_release|build_pass {
        CONFIG(release, debug|release) {
            CONFIG += x86 ppc
            CONFIG -= precompile_header
            QMAKE_MAC_SDK=/Developer/SDKs/MacOSX10.4u.sdk
        }
    }
}