summaryrefslogtreecommitdiff
path: root/3rdparty/libyaml/libyaml.pro
blob: 4c470ddb448e457922fbc051d7ffa53737e3aaa9 (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
25
26
27
28
29
30
31
32
33

TEMPLATE = lib
TARGET = yaml

include($$BASE_PRI)

CONFIG -= qt
CONFIG += staticlib create_prl

win32-msvc* {
    QMAKE_CFLAGS += /D_CRT_SECURE_NO_WARNINGS
}
*-g++* {
    QMAKE_CFLAGS += -Wno-unused
}
*-clang* {
    CONFIG += warn_off
    QMAKE_CFLAGS += -Wall -W -Wno-unused
}

DEFINES *= YAML_DECLARE_STATIC HAVE_CONFIG_H

INCLUDEPATH += $$PWD/win32 $$PWD/include

SOURCES += \
    src/api.c \
    src/dumper.c \
    src/emitter.c \
    src/loader.c \
    src/parser.c \
    src/reader.c \
    src/scanner.c \
    src/writer.c \