summaryrefslogtreecommitdiff
path: root/src/shared/shared.pro
blob: c5925c24e61774a9af2cf1f9c0bad6516eb907ab (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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
#-------------------------------------------------
#
# Project created by QtCreator 2011-05-03T18:35:56
#
#-------------------------------------------------

QT       -= gui core
#QT += core

TARGET = mo_shared
TEMPLATE = lib
CONFIG += staticlib

INCLUDEPATH += ../bsatk "$(BOOSTPATH)"


# only for custom leak detection
#DEFINES += TRACE_LEAKS
#LIBS += -lDbgHelp


CONFIG(debug, debug|release) {
  LIBS += -L$$OUT_PWD/../bsatk/debug
  LIBS += -lDbgHelp
  QMAKE_CXXFLAGS_DEBUG -= -Zi
  QMAKE_CXXFLAGS += -Z7
  PRE_TARGETDEPS += $$OUT_PWD/../bsatk/debug/bsatk.lib
} else {
  LIBS += -L$$OUT_PWD/../bsatk/release
  PRE_TARGETDEPS += $$OUT_PWD/../bsatk/release/bsatk.lib
}

LIBS += -lbsatk

DEFINES += UNICODE _UNICODE _CRT_SECURE_NO_WARNINGS

DEFINES += BOOST_DISABLE_ASSERTS NDEBUG

# QMAKE_CXXFLAGS += /analyze

SOURCES += \
    inject.cpp \
    windows_error.cpp \
    error_report.cpp \
    directoryentry.cpp \
    gameinfo.cpp \
    oblivioninfo.cpp \
    fallout3info.cpp \
    falloutnvinfo.cpp \
    util.cpp \
    skyriminfo.cpp \
    appconfig.cpp \
    leaktrace.cpp

HEADERS += \
    inject.h \
    windows_error.h \
    error_report.h \
    directoryentry.h \
    gameinfo.h \
    oblivioninfo.h \
    fallout3info.h \
    falloutnvinfo.h \
    util.h \
    skyriminfo.h \
    appconfig.h \
    appconfig.inc \
    leaktrace.h