blob: ff3da892ad7eb27ae23bdd25731f885fb6d0cea9 (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
requires(linux|macos)
TEMPLATE = lib
TARGET = qtbacktrace
load(am-config)
CONFIG += \
static \
hide_symbols \
exceptions_off rtti_off warn_off \
installed
MODULE_INCLUDEPATH += $$PWD
load(qt_helper_lib)
win32-msvc* {
QMAKE_CFLAGS += /D_CRT_SECURE_NO_WARNINGS
}
*-g++* {
QMAKE_CFLAGS += -Wno-unused -funwind-tables -Wno-switch -Wno-enum-compare
}
*-clang* {
CONFIG += warn_off
QMAKE_CFLAGS += -Wall -W -Wno-unused
}
DEFINES *= _GNU_SOURCE
INCLUDEPATH += $$PWD/auxincl $$PWD/libbacktrace
linux: SOURCES += libbacktrace/elf.c
macos: SOURCES += libbacktrace/macho.c
SOURCES += \
libbacktrace/backtrace.c \
libbacktrace/simple.c \
libbacktrace/dwarf.c \
libbacktrace/mmapio.c \
libbacktrace/mmap.c \
libbacktrace/atomic.c \
libbacktrace/fileline.c \
libbacktrace/posix.c \
libbacktrace/print.c \
libbacktrace/sort.c \
libbacktrace/state.c \
|